[Addition] Added a chatbox function!

This commit is contained in:
Dogukan
2020-10-19 22:40:58 +02:00
parent 35917e547a
commit eb7b8e2584
10 changed files with 175 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ namespace Client
public int Port = 5555;
public bool Connected = false;
//TODO send login packet to server with ClientServerUtil.createpayload(0x01,dynamic json with username)
public string username;
public string Username { get; }
public Client()
{
@@ -81,6 +81,7 @@ namespace Client
string textUsername = combo.Item1;
string textMsg = combo.Item2;
//TODO display username and message in chat window
break;
case 0x03: