示例#1
0
        public async Task <RecentlyPlayedGamesResultModel> GetRecentlyPlayed(ulong userId)
        {
            var recentlyPlayedResponse = await SteamPlayerInterface.GetRecentlyPlayedGamesAsync(userId);

            return(recentlyPlayedResponse.Data);
        }
示例#2
0
        public async Task <OwnedGamesResultModel> GetPlayerOwnedGamesAsync(ulong userId)
        {
            var playerOwnedGamesResponse = await SteamPlayerInterface.GetOwnedGamesAsync(userId, includeAppInfo : true, includeFreeGames : false);

            return(playerOwnedGamesResponse.Data);
        }