mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
23 lines
687 B
C#
23 lines
687 B
C#
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class DayGroup : IUnpackable
|
|
{
|
|
public float ChanceOfOccur { get; private set; }
|
|
public string DayName { get; private set; }
|
|
public List<SkyObject> SkyObjects { get; } = new List<SkyObject>();
|
|
public List<SkyTimeOfDay> SkyTime { get; } = new List<SkyTimeOfDay>();
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
ChanceOfOccur = reader.ReadSingle();
|
|
DayName = reader.ReadPString();
|
|
reader.AlignBoundary();
|
|
|
|
SkyObjects.Unpack(reader);
|
|
SkyTime.Unpack(reader);
|
|
}
|
|
}
|
|
}
|