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

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

            GameFlowControl.ReceiveTalk(msg);
        }