Exemple #1
0
        public override OctetsStream unmarshal(OctetsStream os)
        {
            stageid = os.unmarshal_int();
            stagebattle.unmarshal(os);

            return(os);
        }
Exemple #2
0
        public override OctetsStream unmarshal(OctetsStream _os_)
        {
            id      = _os_.unmarshal_int();
            starsum = _os_.unmarshal_byte();
            for (int size = _os_.uncompact_uint32(); size > 0; --size)
            {
                StageBattle _v_ = new StageBattle();
                _v_.unmarshal(_os_);
                stagebattles.AddFirst(_v_);
            }

            rewardgot = _os_.unmarshal_int();

            return(_os_);
        }