Example #1
0
        public void SendChi(MJsonMessageChi msgobj)
        {
            foreach (var name in playerNames)
            {
                serverRouter.SendChi(name, msgobj);
            }

            DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
        }
Example #2
0
 //Both
 public void SendChi(string name, MJsonMessageChi msgobj)
 {
     SendMessageToClient(name, JsonConvert.SerializeObject(msgobj));
 }