[ADDITION] Tried to send the random word to a lobby

This commit is contained in:
Dogukan
2020-10-22 13:55:19 +02:00
parent ef255e4828
commit 5b5d66c41b
7 changed files with 66 additions and 24 deletions

View File

@@ -138,6 +138,10 @@ namespace Client
// canvas data
break;
case JSONConvert.RANDOMWORD:
//Flag byte for receiving the random word.
ViewModels.ViewModelGame.HandleRandomWord(JSONConvert.GetRandomWord(payload));
break;
default:
Debug.WriteLine("[CLIENT] Received weird identifier: " + id);
break;