mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
19 lines
496 B
C#
19 lines
496 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class TimeOfDay : IUnpackable
|
|
{
|
|
public float Start { get; private set; }
|
|
public bool IsNight { get; private set; }
|
|
public string Name { get; private set; }
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Start = reader.ReadSingle();
|
|
IsNight = (reader.ReadUInt32() == 1);
|
|
Name = reader.ReadPString();
|
|
reader.AlignBoundary();
|
|
}
|
|
}
|
|
}
|