using System.Collections.Generic; using System.IO; using ACE.DatLoader.Entity; namespace ACE.DatLoader.FileTypes { /// /// These are client_portal.dat files starting with 0x11. /// Contains info on what objects to display at what distance to help with render performance (e.g. low-poly very far away, but high-poly when close) /// [DatFileType(DatFileType.DegradeInfo)] public class GfxObjDegradeInfo : FileType { public List Degrades { get; } = new List(); public override void Unpack(BinaryReader reader) { Id = reader.ReadUInt32(); Degrades.Unpack(reader); } } }