[ADDITION] Added databinding to the chatbox function.
Tried to broadcast the message, doesn't work yet.
This commit is contained in:
@@ -18,6 +18,5 @@ namespace SharedClientServer
|
||||
Array.Copy(stringAsBytes, 0, res, 1, stringAsBytes.Length);
|
||||
return res;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace SharedClientServer
|
||||
private string _username;
|
||||
private int _score;
|
||||
private bool _host;
|
||||
private string _message;
|
||||
|
||||
public User(string username, int score, bool host)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user