mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
22 lines
569 B
C#
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);
|
|
}
|
|
}
|
|
}
|