using System.Collections.Generic; using System.IO; namespace ACE.DatLoader.Entity { public class Generator : IUnpackable { public string Name { get; private set; } public uint Id { get; private set; } public List Items { get; } = new List(); public void Unpack(BinaryReader reader) { Name = reader.ReadObfuscatedString(); reader.AlignBoundary(); Id = reader.ReadUInt32(); Items.Unpack(reader); } } }