示例#1
0
 private void parsePacket(ByteBuffer data)
 {
     data.SetIndex(3);
     this._clanId = data.ReadInt32();
     this._clanName = data.ReadString();
     this._allyId = data.ReadInt32();
 }
示例#2
0
        private void parsePacket(ByteBuffer data)
        {
            data.SetIndex(3);
            this._x = data.ReadInt32();
            this._y = data.ReadInt32();
            this._z = data.ReadInt32();
            data.ReadInt32();
            this._objectId = data.ReadInt32();
            this._visibleName = data.ReadString();
            this._race = data.ReadInt32();
            this._sex = data.ReadInt32();
            this._class = data.ReadInt32();

            this._paperdollHairall = data.ReadInt32();
            this._paperdollHead = data.ReadInt32();
            this._paperdollRhand = data.ReadInt32();
            this._paperdollLhand = data.ReadInt32();
            this._paperdollGloves = data.ReadInt32();
            this._paperdollChest = data.ReadInt32();
            this._paperdollLegs = data.ReadInt32();
            this._paperdollFeet = data.ReadInt32();
            this._paperdollBack = data.ReadInt32();
            this._paperdollLRhand = data.ReadInt32();
            this._paperdollHair = data.ReadInt32();
            this._paperdollHair2 = data.ReadInt32();

            data.SetIndex(data.GetIndex() + 112);
            this._pvpFlag = data.ReadInt32();
            this._karma = data.ReadInt32();
            this._mAtkSpd = data.ReadInt32();
            this._pAtkSpd = data.ReadInt32();

            data.SetIndex(data.GetIndex() + 8); //dd

            this._speed = data.ReadInt32();
            data.SetIndex(data.GetIndex() + 28);

            this._movementSpeedMultip = data.ReadDouble();
            this._AttackSpeedMultip = data.ReadDouble();

            // + ffddd
            data.SetIndex(data.GetIndex() + 28);
            this._title = data.ReadString();
            this._clanId = data.ReadInt32();
            this._clanCrestId = data.ReadInt32();
            this._allyId = data.ReadInt32();
            this._allyCrestId = data.ReadInt32();
        }