コード例 #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);
        }