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