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