예제 #1
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();
        }
예제 #2
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();
        }
예제 #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();
        }
예제 #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();
        }