for some reason, didnt added this stuff-_-

This commit is contained in:
Lars
2020-10-20 13:03:04 +02:00
parent f1901f0c35
commit 55425bbec4

View File

@@ -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; }
}
}
}