using System.Collections.Generic; using System.IO; namespace ACE.DatLoader.FileTypes { /// /// These are client_portal.dat files starting with 0x04. /// [DatFileType(DatFileType.Palette)] public class Palette : FileType { /// /// Color data is stored in ARGB format /// public List Colors { get; } = new List(); public override void Unpack(BinaryReader reader) { Id = reader.ReadUInt32(); Colors.Unpack(reader); } } }