Exemple #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());
        }
Exemple #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());
        }