This commit is contained in:
Sem van der Hoeven
2020-10-23 20:45:25 +02:00
parent 3015c0312f
commit 8ca4efc296
3 changed files with 11 additions and 3 deletions

View File

@@ -50,6 +50,14 @@ namespace SharedClientServer
return (payload.username, payload.message);
}
internal static byte[] ConstructCanvasResetMessage()
{
return GetMessageToSend(CANVAS, new
{
canvasType = CANVAS_RESET
});
}
public static string GetUsernameLogin(byte[] json)
{
dynamic payload = JsonConvert.DeserializeObject(Encoding.UTF8.GetString(json));