Beispiel #1
0
 public RuneCodexCategory(string name, string desc, int hue)
 {
     Name        = name;
     Description = desc;
     Hue         = hue;
     Entries     = new RuneCodexEntryGrid();
 }
Beispiel #2
0
        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;
            }
        }