Esempio n. 1
0
        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());
        }
Esempio n. 2
0
        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());
        }