예제 #1
0
        public SteamApiGame FindSteamGameById(int id)
        {
            SteamApiGame game = SteamApiGames.Find(x => x.AppId == id);

            if (game != null)
            {
                return(game);
            }
            return(null);
        }
예제 #2
0
        public SteamApiGame FindSteamGameByName(string name)
        {
            SteamApiGame game = SteamApiGames.Find(x => x.Name.ToLower() == name.ToLower());

            if (game != null)
            {
                return(game);
            }
            return(null);
        }