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();
        }
        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();
        }
Example #3
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();
        }
Example #4
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();
        }