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

24 lines
809 B
C#

using System.IO;
namespace ACE.DatLoader.Entity
{
public class RegionMisc : IUnpackable
{
public uint Version { get; private set; }
public uint GameMapID { get; private set; }
public uint AutotestMapId { get; private set; }
public uint AutotestMapSize { get; private set; }
public uint ClearCellId { get; private set; }
public uint ClearMonsterId { get; private set; }
public void Unpack(BinaryReader reader)
{
Version = reader.ReadUInt32();
GameMapID = reader.ReadUInt32();
AutotestMapId = reader.ReadUInt32();
AutotestMapSize = reader.ReadUInt32();
ClearCellId = reader.ReadUInt32();
ClearMonsterId = reader.ReadUInt32();
}
}
}