public GameXMLHolder(GameID id, XmlElement xml) { this.id = id; this.xml = xml; }
public bool setDefaultGamePath(GameID game, string path) { return setSpecificNodeAttrib("game", "default_path",path,game.string_array); }
public bool setGameSyncEnabled(GameID set_me, bool to_me) { return setSpecificNodeAttrib("game", "sync",to_me.ToString(),set_me.string_array); }
public bool isGameSyncEnabled(GameID check_me) { return getSpecificNodeAttribute("game", "sync", check_me.string_array)==true.ToString(); }
public bool isGameBackupEnabled(GameID check_me) { return getSpecificNodeAttribute("game", "backup", check_me.string_array)!=false.ToString(); }
public string getDefaultGamePath(GameID game) { return getSpecificNodeAttribute("game", "default_path", game.string_array); }
public bool clearDefaultGamePath(GameID game) { return clearSpecificNodeAttribute("game", "default_path", game.string_array); }
public ArchiveID(GameID game, String owner, String type) { this.game = game; this.owner = owner; this.type = type; }