public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ObjectId = reader.ReadInt32();
            this.CharId = reader.ReadInt32();
        }
Ejemplo n.º 2
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ObjectId = reader.ReadInt32();
            this.CharId   = reader.ReadInt32();
        }
Ejemplo n.º 3
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.TickId   = reader.ReadInt32();
            this.TickTime = reader.ReadInt32();
            this.Statuses = reader.ReadVector <ObjectStatusData>(new ReadItemDelegate(reader.ReadObjectStatusData));
        }
Ejemplo n.º 4
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.TickId = reader.ReadInt32();
            this.TickTime = reader.ReadInt32();
            this.Statuses = reader.ReadVector<ObjectStatusData>(new ReadItemDelegate(reader.ReadObjectStatusData));
        }
Ejemplo n.º 5
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.TargetId = reader.ReadInt32();
            this.ConditionEffect = reader.ReadByte();
            this.DamageAmount = reader.ReadUInt16();
            this.BulletId = reader.ReadByte();
            this.ObjectId = reader.ReadInt32();
        }
Ejemplo n.º 6
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.EffectType = reader.ReadByte();
            this.TargetObjectId = reader.ReadInt32();
            this.Position1 = reader.ReadTilePoint();
            this.Position2 = reader.ReadTilePoint();
            this.Colour = reader.ReadInt32();
        }
Ejemplo n.º 7
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.EffectType     = reader.ReadByte();
            this.TargetObjectId = reader.ReadInt32();
            this.Position1      = reader.ReadTilePoint();
            this.Position2      = reader.ReadTilePoint();
            this.Colour         = reader.ReadInt32();
        }
Ejemplo n.º 8
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.TargetId        = reader.ReadInt32();
            this.ConditionEffect = reader.ReadByte();
            this.DamageAmount    = reader.ReadUInt16();
            this.BulletId        = reader.ReadByte();
            this.ObjectId        = reader.ReadInt32();
        }
Ejemplo n.º 9
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Width               = reader.ReadInt32();
            this.Height              = reader.ReadInt32();
            this.Name                = reader.ReadString();
            this.FP                  = reader.ReadUInt32();
            this.Background          = reader.ReadInt32();
            this.AllowPlayerTeleport = reader.ReadBool();
            this.ShowDisplays        = reader.ReadBool();
            this.ExtraXml            = reader.ReadVector <string>(new ReadItemDelegate(reader.ReadLongString));
        }
Ejemplo n.º 10
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Width = reader.ReadInt32();
            this.Height = reader.ReadInt32();
            this.Name = reader.ReadString();
            this.FP = reader.ReadUInt32();
            this.Background = reader.ReadInt32();
            this.AllowPlayerTeleport = reader.ReadBool();
            this.ShowDisplays = reader.ReadBool();
            this.ExtraXml = reader.ReadVector<string>(new ReadItemDelegate(reader.ReadLongString));
        }
Ejemplo n.º 11
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Name       = reader.ReadString();
            this.ObjectId   = reader.ReadInt32();
            this.ObjectType = reader.ReadInt16();
            this.Texture1Id = reader.ReadInt32();
            this.Texture2Id = reader.ReadInt32();
            this.NumStars   = reader.ReadInt32();
            this.Recipient  = reader.ReadString();
            this.Text       = reader.ReadString();
            this.CleanText  = reader.ReadString();
        }
Ejemplo n.º 12
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Name = reader.ReadString();
            this.ObjectId = reader.ReadInt32();
            this.ObjectType = reader.ReadInt16();
            this.Texture1Id = reader.ReadInt32();
            this.Texture2Id = reader.ReadInt32();
            this.NumStars = reader.ReadInt32();
            this.Recipient = reader.ReadString();
            this.Text = reader.ReadString();
            this.CleanText = reader.ReadString();
        }
Ejemplo n.º 13
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ErrorId          = reader.ReadInt32();
            this.ErrorDescription = reader.ReadString();
        }
Ejemplo n.º 14
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.ErrorId = reader.ReadInt32();
            this.ErrorDescription = reader.ReadString();
        }
Ejemplo n.º 15
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Tiles = reader.ReadVector<TilePoint>(new ReadItemDelegate(reader.ReadTilePoint));
            this.NewObjects = reader.ReadVector<GameObject>(new ReadItemDelegate(reader.ReadGameObject));
            this.Drops = reader.ReadVector<int>(new ReadItemDelegate(() => (object)reader.ReadInt32())); // idk why the f**k I have to use lambda
        }
Ejemplo n.º 16
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.BulletId = reader.ReadByte();
            this.OwnerId = reader.ReadInt32();
            this.ContainerType = reader.ReadInt16();
            this.StartingPosition = reader.ReadTilePoint();
            this.Angle = reader.ReadSingle();
            this.Damage = reader.ReadInt16();
        }
Ejemplo n.º 17
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.BulletId         = reader.ReadByte();
            this.OwnerId          = reader.ReadInt32();
            this.ContainerType    = reader.ReadInt16();
            this.StartingPosition = reader.ReadTilePoint();
            this.Angle            = reader.ReadSingle();
            this.Damage           = reader.ReadInt16();
        }
Ejemplo n.º 18
0
        public override void Read(byte[] packet)
        {
            ProtocolReader reader = new ProtocolReader(packet);

            this.Tiles      = reader.ReadVector <TilePoint>(new ReadItemDelegate(reader.ReadTilePoint));
            this.NewObjects = reader.ReadVector <GameObject>(new ReadItemDelegate(reader.ReadGameObject));
            this.Drops      = reader.ReadVector <int>(new ReadItemDelegate(() => (object)reader.ReadInt32())); // idk why the f**k I have to use lambda
        }