예제 #1
0
        public static string GetGameNameById(string gameId)
        {
            GameRecord gameRecord = GameRegistrar.GetGameRecordById(gameId);

            if (gameRecord == null)
            {
                return(null);
            }
            return(gameRecord.Name);
        }
예제 #2
0
        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);
            }
        }