for some reason, didnt added this stuff-_-
This commit is contained in:
@@ -8,11 +8,13 @@ namespace SharedClientServer
|
|||||||
{
|
{
|
||||||
private string _username;
|
private string _username;
|
||||||
private int _score;
|
private int _score;
|
||||||
|
private bool _host;
|
||||||
|
|
||||||
public User(string username, int score)
|
public User(string username, int score, bool host)
|
||||||
{
|
{
|
||||||
_username = username;
|
_username = username;
|
||||||
_score = score;
|
_score = score;
|
||||||
|
_host = host;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Username
|
public string Username
|
||||||
@@ -26,5 +28,11 @@ namespace SharedClientServer
|
|||||||
get { return _score; }
|
get { return _score; }
|
||||||
set { _score = value; }
|
set { _score = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool Host
|
||||||
|
{
|
||||||
|
get { return _host; }
|
||||||
|
set { _host = value; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user