public RuneCodexCategory(string name, string desc, int hue) { Name = name; Description = desc; Hue = hue; Entries = new RuneCodexEntryGrid(); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.GetVersion(); switch (version) { case 0: { Name = reader.ReadString(); Description = reader.ReadString(); Hue = reader.ReadInt(); Entries = new RuneCodexEntryGrid(reader); } break; } }