Пример #1
0
        public void SendPon(MJsonMessagePon msgobj)
        {
            foreach (var name in playerNames)
            {
                serverRouter.SendPon(name, msgobj);
            }

            DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
        }
Пример #2
0
 //Both
 public void SendPon(string name, MJsonMessagePon msgobj)
 {
     SendMessageToClient(name, JsonConvert.SerializeObject(msgobj));
 }
Пример #3
0
        public void SendPon(MJsonMessagePon msgobj)
        {
            foreach (var name in playerNames)
            {
                serverRouter.SendPon(name, msgobj);
            }

            DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
        }
Пример #4
0
 //Both
 public void SendPon(string name, MJsonMessagePon msgobj)
 {
     SendMessageToClient(name, JsonConvert.SerializeObject(msgobj));
 }