예제 #1
0
        public static void SendHand(MessageHand message)
        {
            string jsonMessage = JsonConvert.SerializeObject(message);

            SendMessage(jsonMessage);
        }
예제 #2
0
        public static void ReceiveHand(string message)
        {
            MessageHand msg = JsonConvert.DeserializeObject <MessageHand>(message);

            GameFlowControl.ReceiveHand(msg);
        }