Ejemplo n.º 1
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.º 2
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();
        }