public void PostAwardeList(Dictionary <string, int> userIdCountAwardList, string mysterious, bool timeTag = true) { MsgPostAwadeList awardListInfo = new MsgPostAwadeList(userIdCountAwardList, mysterious); if (timeTag) { awardListInfo.SetTime(); } awardListInfo.SetReceiver(new string[] { "HostSever" }); m_SocketClientController.SendMessage(awardListInfo.ToJson()); }
public void PostAwardeList(List <int> countList, bool timeTag = true) { MsgPostAwadeList awardListInfo = new MsgPostAwadeList(countList); if (timeTag) { awardListInfo.SetTime(); } awardListInfo.SetReceiver(new string[] { "HostSever" }); m_SocketClientController.SendMessage(awardListInfo.ToJson()); }