예제 #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));
 }