예제 #1
0
        public void SendTsumo(MJsonMessageTsumo msgobj)
        {
            foreach (var name in playerNames)
            {
                if (name == playerNames[msgobj.actor])
                {
                    serverRouter.SendTsumo(name, msgobj);
                }
                else
                {
                    serverRouter.SendTsumo(name, new MJsonMessageTsumo(msgobj.actor, "?"));
                }
            }

            DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
        }
예제 #2
0
 //StoC
 public void SendTsumo(string name, MJsonMessageTsumo msgobj)
 {
     SendMessageToClient(name, JsonConvert.SerializeObject(msgobj));
 }
예제 #3
0
 public void SendRinshan(MJsonMessageTsumo msgobj)
 {
     serverRouter.SendTsumo(playerNames[msgobj.actor], msgobj);
     DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
 }
예제 #4
0
 public void SendRinshan(MJsonMessageTsumo msgobj)
 {           
     serverRouter.SendTsumo(playerNames[msgobj.actor], msgobj);
     DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
 }
예제 #5
0
        public void SendTsumo(MJsonMessageTsumo msgobj)
        {
            foreach (var name in playerNames)
            {
                if (name == playerNames[msgobj.actor])
                {
                    serverRouter.SendTsumo(name, msgobj);
                }
                else
                {
                    serverRouter.SendTsumo(name, new MJsonMessageTsumo(msgobj.actor, "?"));
                }
            }

            DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj));
        }
예제 #6
0
 //StoC
 public void SendTsumo(string name, MJsonMessageTsumo msgobj) 
 {
     SendMessageToClient(name, JsonConvert.SerializeObject(msgobj));
 }