Пример #1
0
        public override OctetsStream unmarshal(OctetsStream _os_)
        {
            endtype  = _os_.unmarshal_int();
            smid     = _os_.unmarshal_int();
            time     = _os_.unmarshal_int();
            zhangjie = _os_.unmarshal_int();

            //魔盒
            for (int _size_ = _os_.uncompact_uint32(); _size_ > 0; --_size_)
            {
                int key;
                key = _os_.unmarshal_int();

                Mohe _v_ = new Mohe();
                _v_.unmarshal(_os_);
                moheshop.Add(key, _v_);
            }

            //神秘商店
            for (int _size_ = _os_.uncompact_uint32(); _size_ > 0; --_size_)
            {
                int key;
                key = _os_.unmarshal_int();
                Smshopdata _v_ = new Smshopdata();
                _v_.unmarshal(_os_);

                smshop.Add(key, _v_);
            }

            return(_os_);
        }
Пример #2
0
        public override OctetsStream unmarshal(OctetsStream _os_)
        {
            endtype = _os_.unmarshal_int();
            moheid  = _os_.unmarshal_int();

            //침분
            for (int _size_ = _os_.uncompact_uint32(); _size_ > 0; --_size_)
            {
                int key;
                key = _os_.unmarshal_int();

                Mohe _v_ = new Mohe();
                _v_.unmarshal(_os_);
                moheshop.Add(key, _v_);
            }

            return(_os_);
        }