public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(battleid);
            _os_.marshal(groupnum);
            _os_.compact_uint32(useherokeylist.Count);
            foreach (DictionaryEntry de in useherokeylist)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((int)de.Value);
            }

            _os_.compact_uint32(monstergroup.Count);
            LinkedListNode <int> firstNode2 = monstergroup.First;

            while (firstNode2 != null)
            {
                _os_.marshal(monstergroup.First.Value);

                monstergroup.RemoveFirst();
                firstNode2 = monstergroup.First;
            }

            _os_.marshal(trooptype);
            _os_.marshal(monstertrooptype);
            _os_.marshal(pact);

            return(_os_);
        }
Beispiel #2
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(herokey);
            _os_.marshal(mslocation);
            _os_.compact_uint32(itemidlist.Count);
            LinkedListNode <int> firstNode = itemidlist.First;

            while (firstNode != null)
            {
                _os_.marshal(itemidlist.First.Value);

                itemidlist.RemoveFirst();
                firstNode = itemidlist.First;
            }

            _os_.compact_uint32(itemnumlist.Count);
            LinkedListNode <int> firstNode2 = itemnumlist.First;

            while (firstNode2 != null)
            {
                _os_.marshal(itemnumlist.First.Value);

                itemnumlist.RemoveFirst();
                firstNode2 = itemnumlist.First;
            }
            return(_os_);
        }
Beispiel #3
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(mapkey);
            _os_.marshal(mapvalue);

            _os_.compact_uint32(superlist.Count);
            LinkedListNode <int> firstNode2 = superlist.First;

            while (firstNode2 != null)
            {
                _os_.marshal(superlist.First.Value);

                superlist.RemoveFirst();
                firstNode2 = superlist.First;
            }
            _os_.marshal(ismonthfirsthave);
            _os_.marshal(ishavefree);

            _os_.compact_uint32(lotteryitemmap.Count);
            foreach (DictionaryEntry de in lotteryitemmap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((LotteryItemlayer)de.Value);
            }


            return(_os_);
        }
Beispiel #4
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(m_attacker);
            _os_.marshal(m_spellid);
            _os_.marshal(m_ncount);
            _os_.marshal(m_nimpactcount);

            _os_.compact_uint32(m_impact.Count);
            LinkedListNode <int> firstNode2 = m_impact.First;

            while (firstNode2 != null)
            {
                _os_.marshal(m_impact.First.Value);

                m_impact.RemoveFirst();
                firstNode2 = m_impact.First;
            }

            _os_.compact_uint32(m_defenceinfo.Count);
            LinkedListNode <defenceInfo> firstNode = m_defenceinfo.First;

            while (firstNode != null)
            {
                _os_.marshal(m_defenceinfo.First.Value);

                m_defenceinfo.RemoveFirst();
                firstNode = m_defenceinfo.First;
            }

            return(_os_);
        }
Beispiel #5
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(result);
            _os_.marshal(lotterytype);

            _os_.compact_uint32(herolist.Count);
            LinkedListNode <int> firstNode = herolist.First;

            while (firstNode != null)
            {
                _os_.marshal(herolist.First.Value);

                herolist.RemoveFirst();
                firstNode = herolist.First;
            }

            _os_.compact_uint32(items.Count);
            LinkedListNode <Items> firstNode1 = items.First;

            while (firstNode1 != null)
            {
                _os_.marshal(items.First.Value);

                items.RemoveFirst();
                firstNode1 = items.First;
            }


            return(_os_);
        }
Beispiel #6
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(endtype);
            _os_.marshal(smid);
            _os_.marshal(time);
            _os_.marshal(zhangjie);

            _os_.compact_uint32(moheshop.Count);  //魔盒
            foreach (DictionaryEntry de in moheshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Mohe)de.Value);
            }

            _os_.compact_uint32(smshop.Count);  //神秘商店物品
            foreach (DictionaryEntry de in smshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Smshopdata)de.Value);
            }
            _os_.compact_uint32(battleinfolist.Count);
            LinkedListNode <BattelInfo> firstNode = battleinfolist.First;

            while (firstNode != null)
            {
                _os_.marshal(battleinfolist.First.Value);

                battleinfolist.RemoveFirst();
                firstNode = battleinfolist.First;
            }
            return(_os_);
        }
Beispiel #7
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(key);
            _os_.marshal(sender);
            _os_.marshal(title);
            _os_.marshal(msg);

            _os_.compact_uint32(innerdropidlist.Count);
            LinkedListNode <int> firstNode = innerdropidlist.First;

            while (firstNode != null)
            {
                _os_.marshal(innerdropidlist.First.Value);

                innerdropidlist.RemoveFirst();
                firstNode = innerdropidlist.First;
            }

            _os_.compact_uint32(items.Count);
            LinkedListNode <MailItem> firstNode2 = items.First;

            while (firstNode2 != null)
            {
                _os_.marshal(items.First.Value);

                items.RemoveFirst();
                firstNode2 = items.First;
            }

            _os_.marshal(endtime);
            _os_.marshal(isopen);

            _os_.compact_uint32(strlist.Count);
            LinkedListNode <string> firstNode3 = strlist.First;

            while (firstNode3 != null)
            {
                _os_.marshal(strlist.First.Value);

                strlist.RemoveFirst();
                firstNode3 = strlist.First;
            }

            return(_os_);
        }
Beispiel #8
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(teamallmap.Count);
            foreach (DictionaryEntry de in teamallmap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((teamtanxian)de.Value);
            }

            _os_.compact_uint32(stagetxallmap.Count);
            foreach (DictionaryEntry de in stagetxallmap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((stagetanxian)de.Value);
            }


            return(_os_);
        }
Beispiel #9
0
 public override OctetsStream marshal(OctetsStream _os_)
 {
     _os_.compact_uint32(shopmap.Count);
     foreach (DictionaryEntry de in shopmap)
     {
         _os_.marshal((int)de.Key);
         _os_.marshal((NewShopList)de.Value);
     }
     return(_os_);
 }
Beispiel #10
0
 public override OctetsStream marshal(OctetsStream os)
 {
     os.marshal(msgid);
     os.compact_uint32(parameters.Count);
     foreach (Octets _v_ in parameters)
     {
         os.marshal(_v_);
     }
     return(os);
 }
Beispiel #11
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(gameactivitymap.Count);
            foreach (DictionaryEntry de in gameactivitymap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((gactivity)de.Value);
            }

            return(_os_);
        }
Beispiel #12
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(items.Count);
            for (int i = 0; i < items.Count; i++)
            {
                Item item = (Item)items[i];
                _os_.marshal(item);
            }

            return(_os_);
        }
Beispiel #13
0
 public override OctetsStream marshal(OctetsStream os)
 {
     os.compact_uint32(linksids.Count);
     foreach (var _v_ in linksids)
     {
         os.marshal(_v_);
     }
     os.marshal(ptype);
     os.marshal(pdata);
     return(os);
 }
Beispiel #14
0
 public override OctetsStream marshal(OctetsStream _os_)
 {
     _os_.marshal(bagid);
     _os_.compact_uint32(items.Count);
     foreach (DictionaryEntry de in items)
     {
         _os_.marshal((int)de.Key);
         _os_.marshal((int)de.Value);
     }
     return(_os_);
 }
Beispiel #15
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(endtype);
            _os_.marshal(smid);
            _os_.marshal(time);
            _os_.marshal(zhangjie);

            _os_.compact_uint32(moheshop.Count);  //魔盒
            foreach (DictionaryEntry de in moheshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Mohe)de.Value);
            }

            _os_.compact_uint32(smshop.Count);  //神秘商店物品
            foreach (DictionaryEntry de in smshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Smshopdata)de.Value);
            }
            return(_os_);
        }
Beispiel #16
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(endtype);
            _os_.marshal(smshopid);

            _os_.compact_uint32(smshop.Count);  //ħºÐ
            foreach (DictionaryEntry de in smshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Smshopdata)de.Value);
            }
            return(_os_);
        }
Beispiel #17
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(endtype);
            _os_.marshal(moheid);

            _os_.compact_uint32(moheshop.Count);  //침분
            foreach (DictionaryEntry de in moheshop)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((Mohe)de.Value);
            }
            return(_os_);
        }
Beispiel #18
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(herokeylist.Count);
            LinkedListNode <int> firstNode = herokeylist.First;

            while (firstNode != null)
            {
                _os_.marshal(herokeylist.First.Value);

                herokeylist.RemoveFirst();
                firstNode = herokeylist.First;
            }
            return(_os_);
        }
Beispiel #19
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(giftitems.Count);
            LinkedListNode <int> firstNode = giftitems.First;

            while (firstNode != null)
            {
                _os_.marshal(giftitems.First.Value);

                giftitems.RemoveFirst();
                firstNode = giftitems.First;
            }
            return(_os_);
        }
Beispiel #20
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(stages.Count);
            LinkedListNode <StageInfo> firstNode = stages.First;

            while (firstNode != null)
            {
                _os_.marshal(stages.First.Value);

                stages.RemoveFirst();
                firstNode = stages.First;
            }
            return(_os_);
        }
Beispiel #21
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(troops.Count);
            LinkedListNode <Troop> firstNode2 = troops.First;

            while (firstNode2 != null)
            {
                _os_.marshal(troops.First.Value);

                troops.RemoveFirst();
                firstNode2 = troops.First;
            }
            return(_os_);
        }
Beispiel #22
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(herotujian.Count);
            LinkedListNode <HeroTuJian> firstNode2 = herotujian.First;

            while (firstNode2 != null)
            {
                _os_.marshal(herotujian.First.Value);

                herotujian.RemoveFirst();
                firstNode2 = herotujian.First;
            }
            _os_.marshal(isnew);

            _os_.compact_uint32(tujianbox.Count);
            LinkedListNode <int> firstNode = tujianbox.First;

            while (firstNode != null)
            {
                _os_.marshal(tujianbox.First.Value);

                tujianbox.RemoveFirst();
                firstNode = tujianbox.First;
            }

            _os_.compact_uint32(tjheromaxlevel.Count);
            LinkedListNode <int> firstNode3 = tjheromaxlevel.First;

            while (firstNode3 != null)
            {
                _os_.marshal(tjheromaxlevel.First.Value);

                tjheromaxlevel.RemoveFirst();
                firstNode3 = tjheromaxlevel.First;
            }
            return(_os_);
        }
Beispiel #23
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(stagetx.Count);
            LinkedListNode <tanxianinit> firstNode2 = stagetx.First;

            while (firstNode2 != null)
            {
                _os_.marshal(stagetx.First.Value);

                stagetx.RemoveFirst();
                firstNode2 = stagetx.First;
            }

            return(_os_);
        }
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(monthcardlist.Count);
            LinkedListNode <Monthcard> firstNode = monthcardlist.First;

            while (firstNode != null)
            {
                _os_.marshal(monthcardlist.First.Value);

                monthcardlist.RemoveFirst();
                firstNode = monthcardlist.First;
            }

            return(_os_);
        }
Beispiel #25
0
        public override OctetsStream marshal(OctetsStream os)
        {
            os.compact_uint32(role.Count);
            LinkedListNode <RoleInfo> firstNode = role.First;

            while (firstNode != null)
            {
                os.marshal(role.First.Value);

                role.RemoveFirst();
                firstNode = role.First;
            }

            return(os);
        }
Beispiel #26
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(groupnum);
            _os_.marshal(alldropnum);
            _os_.marshal(pact);
            _os_.marshal(pactispass);
            _os_.compact_uint32(dropmap.Count);
            foreach (DictionaryEntry de in dropmap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((int)de.Value);
            }

            return(_os_);
        }
Beispiel #27
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(result);
            _os_.marshal(bossid);
            _os_.marshal(mywordboss);

            _os_.compact_uint32(dropmap.Count);
            foreach (DictionaryEntry de in dropmap)
            {
                _os_.marshal((int)de.Key);
                _os_.marshal((int)de.Value);
            }
            _os_.marshal(bosskillname);
            return(_os_);
        }
Beispiel #28
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.marshal(bagid);
            _os_.compact_uint32(itemdate.Count);
            LinkedListNode <Item> firstNode = itemdate.First;

            while (firstNode != null)
            {
                _os_.marshal(itemdate.First.Value);

                itemdate.RemoveFirst();
                firstNode = itemdate.First;
            }
            return(_os_);
        }
Beispiel #29
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(fightinfolist.Count);
            LinkedListNode <fightInfo> firstNode = fightinfolist.First;

            while (firstNode != null)
            {
                _os_.marshal(fightinfolist.First.Value);

                fightinfolist.RemoveFirst();
                firstNode = fightinfolist.First;
            }

            return(_os_);
        }
Beispiel #30
0
        public override OctetsStream marshal(OctetsStream _os_)
        {
            _os_.compact_uint32(lotteryitemlist.Count);
            LinkedListNode <LotteryItem> firstNode2 = lotteryitemlist.First;

            while (firstNode2 != null)
            {
                _os_.marshal(lotteryitemlist.First.Value);

                lotteryitemlist.RemoveFirst();
                firstNode2 = lotteryitemlist.First;
            }

            return(_os_);
        }