public void SendKakan(MJsonMessageKakan msgobj) { foreach (var name in playerNames) { serverRouter.SendKakan(name, msgobj); } DebugUtil.ServerDebug(JsonConvert.SerializeObject(msgobj)); }
//Both public void SendKakan(string name, MJsonMessageKakan msgobj) { SendMessageToClient(name, JsonConvert.SerializeObject(msgobj)); }