[ADDED] other canvas can be reset via an other canvas

This commit is contained in:
Lars
2020-10-23 21:04:14 +02:00
parent 8ca4efc296
commit 398ba1d5bd
3 changed files with 16 additions and 3 deletions

View File

@@ -193,6 +193,15 @@ namespace SharedClientServer
color = colorToSend
});
}
public static byte[] ConstructCanvasReset()
{
dynamic payload = new
{
canvasType = CANVAS_RESET
};
return GetMessageToSend(CANVAS, payload);
}
public static int GetCanvasMessageType(byte[] json)
{