コード例 #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);
        }