public static string GetGameNameById(string gameId) { GameRecord gameRecord = GameRegistrar.GetGameRecordById(gameId); if (gameRecord == null) { return(null); } return(gameRecord.Name); }
public virtual void Open() { if (!this.isOpen) { this.isOpen = true; this.OnOpen(); // Get some metadata this.ReadSectorCount(); this.gameId = GameRegistrar.LookUpGameId(this); this.gameName = GameRegistrar.GetGameNameById(this.gameId); } }