示例#1
0
 private void OnScribbleChunk(ClientScribbleChunk chunk)
 {
     scribble.Write(chunk.Data);
     if (scribble.IsComplete)
     {
         OnRoomScribbleComplete(scribble);
     }
 }
示例#2
0
        private void OnScribbleChunk(IClient client, ClientScribbleChunk chunk)
        {
            var scribble = RoomScribble.GetScribble(client);

            scribble.Write(chunk.Data);

            if (scribble.IsComplete)
            {
                SendRoomScribble(client, scribble);
            }
        }