ace/Source/ACE.DatLoader/Entity/SkyObjectReplace.cs
Mag-nus e5fb929f39
ACE.DatLoader RegionDesc updated to the new format w/bug fixes (#607)
* ACE.DatLoader RegionDesc updated to the new format w/bug fixes

* Missing file
2018-01-28 13:41:46 -06:00

26 lines
818 B
C#

using System.IO;
namespace ACE.DatLoader.Entity
{
public class SkyObjectReplace : IUnpackable
{
public uint ObjectIndex { get; private set; }
public uint GFXObjId { get; private set; }
public float Rotate { get; private set; }
public float Transparent { get; private set; }
public float Luminosity { get; private set; }
public float MaxBright { get; private set; }
public void Unpack(BinaryReader reader)
{
ObjectIndex = reader.ReadUInt32();
GFXObjId = reader.ReadUInt32();
Rotate = reader.ReadSingle();
Transparent = reader.ReadSingle();
Luminosity = reader.ReadSingle();
MaxBright = reader.ReadSingle();
reader.AlignBoundary();
}
}
}