protected override void Parse(BigEndianReader reader) { reader.ReadByte(); // ID _Type = (GraphicalEffectType)reader.ReadByte(); _Source = reader.ReadUInt32(); _Target = reader.ReadUInt32(); _ObjectID = reader.ReadInt16(); _SourceX = reader.ReadInt16(); _SourceY = reader.ReadInt16(); _SourceZ = reader.ReadSByte(); _TargetX = reader.ReadInt16(); _TargetY = reader.ReadInt16(); _TargetZ = reader.ReadSByte(); _Speed = reader.ReadByte(); _Duration = reader.ReadByte(); reader.ReadInt16(); _FixedDirection = reader.ReadBoolean(); _Explode = reader.ReadBoolean(); }
protected override void Parse( BigEndianReader reader ) { reader.ReadByte(); // ID _Type = (GraphicalEffectType) reader.ReadByte(); _Source = reader.ReadUInt32(); _Target = reader.ReadUInt32(); _ObjectID = reader.ReadInt16(); _SourceX = reader.ReadInt16(); _SourceY = reader.ReadInt16(); _SourceZ = reader.ReadSByte(); _TargetX = reader.ReadInt16(); _TargetY = reader.ReadInt16(); _TargetZ = reader.ReadSByte(); _Speed = reader.ReadByte(); _Duration = reader.ReadByte(); reader.ReadInt16(); _FixedDirection = reader.ReadBoolean(); _Explode = reader.ReadBoolean(); }