예제 #1
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_);
        }
예제 #2
0
 public SRefreshStageBattle()
     : base(PROTOCOL_TYPE)
 {
     stagebattle = new StageBattle();
 }