using System.Collections.Generic;
using System.IO;
using ACE.DatLoader.Entity;
namespace ACE.DatLoader.FileTypes
{
///
/// These are client_portal.dat files starting with 0x0D.
/// These are basically pre-fab regions for things like the interior of a dungeon.
///
[DatFileType(DatFileType.Environment)]
public class Environment : FileType
{
public Dictionary Cells { get; set; } = new Dictionary();
public override void Unpack(BinaryReader reader)
{
Id = reader.ReadUInt32(); // this will match fileId
Cells.Unpack(reader);
}
}
}