diff --git a/SharedClientServer/User.cs b/SharedClientServer/User.cs index c639071..f25efbf 100644 --- a/SharedClientServer/User.cs +++ b/SharedClientServer/User.cs @@ -8,11 +8,13 @@ namespace SharedClientServer { private string _username; private int _score; + private bool _host; - public User(string username, int score) + public User(string username, int score, bool host) { _username = username; _score = score; + _host = host; } public string Username @@ -26,5 +28,11 @@ namespace SharedClientServer get { return _score; } set { _score = value; } } + + public bool Host + { + get { return _host; } + set { _host = value; } + } } }