public void ReadFromSaveGame(VFile savefile) { savefile.Read(out enabled); savefile.Read(out type); savefile.Read(out regCount); savefile.ReadTMany(out regs, regs.Length); savefile.Read(out int len); savefile.ReadASCII(out name, len); var.ReadFromSaveGame(savefile); }