add todos

This commit is contained in:
Sem van der Hoeven
2020-10-13 13:33:02 +02:00
parent 1ae1b628f3
commit fd3b926316
2 changed files with 9 additions and 2 deletions

View File

@@ -94,8 +94,12 @@ namespace Server.Models
case 0x01: case 0x01:
// json log in username data // json log in username data
string uName = JSONConvert.GetUsernameLogin(message); string uName = JSONConvert.GetUsernameLogin(message);
if (uName != null) Username = uName; if (uName != null)
Debug.WriteLine("[SERVERCLIENT] set username to " + Username); {
Username = uName;
Debug.WriteLine("[SERVERCLIENT] set username to " + Username);
}
break; break;
case 0x02: case 0x02:
// json message data // json message data

View File

@@ -126,6 +126,9 @@ namespace Server.Models
if (!succ) if (!succ)
{ {
// TODO send lobby full message // TODO send lobby full message
} else
{
// TODO add serverclient to lobbies dict
} }
break; break;
} }