Пример #1
0
        private void UpdateMapServer(int mapid, PayRecInfo info)
        {
            PackPayRecInfo pack_info = new PackPayRecInfo();

            pack_info.order   = info.order;
            pack_info.account = info.account;
            pack_info.money   = info.money;
            pack_info.id      = info.id;
            SessionManager.Instance().SendMapServer(mapid, pack_info.GetBuffer());
        }
Пример #2
0
        public void DB_Load(PackPayRecInfo info)
        {
            if (mDicPayRecInfo.ContainsKey(info.account))
            {
                mDicPayRecInfo[info.account].money = info.money;
                return;
            }
            PayRecInfo pack_info = new PayRecInfo();

            pack_info.account            = info.account;
            pack_info.id                 = info.id;
            pack_info.order              = info.order;
            pack_info.money              = info.money;
            mDicPayRecInfo[info.account] = pack_info;
        }