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