C# Class SteamWebAPI2.Interfaces.PlayerService

Inheritance: SteamWebInterface
Mostra file Open project: babelshift/SteamWebAPI2

Public Methods

Method Description
GetBadgesAsync ( long steamId ) : Task

Returns a collection of all badges that a user has interacted with on Steam.

GetCommunityBadgeProgressAsync ( long steamId, int badgeId = null ) : Task>

Returns a collection of badge meta data which indicates the progress towards a badge for a specific user.

GetOwnedGamesAsync ( long steamId, bool includeAppInfo = null, bool includeFreeGames = null, IReadOnlyCollection appIdsToFilter = null ) : Task

Returns a collection of games and game meta data that are owned by a specific Steam User.

GetRecentlyPlayedGamesAsync ( long steamId ) : Task

Returns a collection of recently played games and game meta data by a specific Steam User.

GetSteamLevelAsync ( long steamId ) : Task

Returns the Steam Level of a specific Steam User.

IsPlayingSharedGameAsync ( long steamId, int appId ) : Task

Returns a message which indicates if a player is playing a shared game (from their shared Steam library).

PlayerService ( string steamWebApiKey ) : Steam.Models.SteamCommunity

Method Details

GetBadgesAsync() public method

Returns a collection of all badges that a user has interacted with on Steam.
public GetBadgesAsync ( long steamId ) : Task
steamId long
return Task

GetCommunityBadgeProgressAsync() public method

Returns a collection of badge meta data which indicates the progress towards a badge for a specific user.
public GetCommunityBadgeProgressAsync ( long steamId, int badgeId = null ) : Task>
steamId long
badgeId int
return Task>

GetOwnedGamesAsync() public method

Returns a collection of games and game meta data that are owned by a specific Steam User.
public GetOwnedGamesAsync ( long steamId, bool includeAppInfo = null, bool includeFreeGames = null, IReadOnlyCollection appIdsToFilter = null ) : Task
steamId long
includeAppInfo bool
includeFreeGames bool
appIdsToFilter IReadOnlyCollection
return Task

GetRecentlyPlayedGamesAsync() public method

Returns a collection of recently played games and game meta data by a specific Steam User.
public GetRecentlyPlayedGamesAsync ( long steamId ) : Task
steamId long
return Task

GetSteamLevelAsync() public method

Returns the Steam Level of a specific Steam User.
public GetSteamLevelAsync ( long steamId ) : Task
steamId long
return Task

IsPlayingSharedGameAsync() public method

Returns a message which indicates if a player is playing a shared game (from their shared Steam library).
public IsPlayingSharedGameAsync ( long steamId, int appId ) : Task
steamId long
appId int
return Task

PlayerService() public method

public PlayerService ( string steamWebApiKey ) : Steam.Models.SteamCommunity
steamWebApiKey string
return Steam.Models.SteamCommunity