static LayeredSpellID ReadSpells(BinaryReader reader) { var item = new LayeredSpellID(); item.Unpack(reader); return(item); }
static KeyValuePair <LayeredSpellID, SpellBookPage> ReadBook(BinaryReader reader) { var key = new LayeredSpellID(); key.Unpack(reader); var val = new SpellBookPage(); val.Unpack(reader); return(new KeyValuePair <LayeredSpellID, SpellBookPage>(key, val)); }
static void WriteSpells(BinaryWriter writer, LayeredSpellID item) { item.Pack(writer); }