ace/Source/ACE.DatLoader/Entity/SkyDesc.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

22 lines
569 B
C#

using System.Collections.Generic;
using System.IO;
namespace ACE.DatLoader.Entity
{
public class SkyDesc : IUnpackable
{
public double TickSize { get; private set; }
public double LightTickSize { get; private set; }
public List<DayGroup> DayGroups { get; } = new List<DayGroup>();
public void Unpack(BinaryReader reader)
{
TickSize = reader.ReadDouble();
LightTickSize = reader.ReadDouble();
reader.AlignBoundary();
DayGroups.Unpack(reader);
}
}
}