C# Class SteamWeb.Client

Inheritance: IDisposable
Afficher le fichier Open project: prom3theu5/iNGEN-Ark-RCON-Desktop Class Usage Examples

Méthodes publiques

Свойство Type Description
APIKey string

Méthodes publiques

Méthode Description
Client ( string apikey ) : Newtonsoft.Json
Dispose ( ) : void
GetFriendListAsync ( string steamid ) : Task>>

Returns the friend list of any Steam user, provided his Steam Community profile visibility is set to "Public".

GetOwnedGamesAsync ( string steamid, bool detailedInfo = false, bool includeFreeGames = true ) : Task>

Returns a list of games a player owns along with some playtime information, if the profile is publicly visible.

GetPlayerBansAsync ( ) : Task>>

Returns Community, VAC, and Economy ban statuses for given players.

GetPlayerBansAsync ( IEnumerable steamids ) : Task>>

Returns Community, VAC, and Economy ban statuses for given players.

GetPlayerSummariesAsync ( ) : Task>>

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.

GetPlayerSummariesAsync ( IEnumerable steamids ) : Task>>

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.

GetPlayerSummariesAsync ( IEnumerable steamids ) : Task>>

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.

IsPlayingSharedGameAsync ( string steamid, int appID ) : Task>

Returns the original owner's SteamID if a borrowing account is currently playing this game. If the game is not borrowed or the borrower currently doesn't play this game, the result is null.

Private Methods

Méthode Description
SendRequestAsync ( SteamRequestBase request ) : Task>

Method Details

Client() public méthode

public Client ( string apikey ) : Newtonsoft.Json
apikey string
Résultat Newtonsoft.Json

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetFriendListAsync() public méthode

Returns the friend list of any Steam user, provided his Steam Community profile visibility is set to "Public".
public GetFriendListAsync ( string steamid ) : Task>>
steamid string
Résultat Task>>

GetOwnedGamesAsync() public méthode

Returns a list of games a player owns along with some playtime information, if the profile is publicly visible.
public GetOwnedGamesAsync ( string steamid, bool detailedInfo = false, bool includeFreeGames = true ) : Task>
steamid string The 64 bit ID of the player.
detailedInfo bool Whether or not to include additional details of apps - name and images. Defaults to false.
includeFreeGames bool Whether or not to list free-to-play games in the results. Defaults to false.
Résultat Task>

GetPlayerBansAsync() public méthode

Returns Community, VAC, and Economy ban statuses for given players.
public GetPlayerBansAsync ( ) : Task>>
Résultat Task>>

GetPlayerBansAsync() public méthode

Returns Community, VAC, and Economy ban statuses for given players.
public GetPlayerBansAsync ( IEnumerable steamids ) : Task>>
steamids IEnumerable
Résultat Task>>

GetPlayerSummariesAsync() public méthode

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.
public GetPlayerSummariesAsync ( ) : Task>>
Résultat Task>>

GetPlayerSummariesAsync() public méthode

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.
public GetPlayerSummariesAsync ( IEnumerable steamids ) : Task>>
steamids IEnumerable
Résultat Task>>

GetPlayerSummariesAsync() public méthode

Returns basic profile information for a list of 64-bit Steam IDs. Some data associated with a Steam account may be hidden if the user has their profile visibility set to "Friends Only" or "Private". In that case, only public data will be returned.
public GetPlayerSummariesAsync ( IEnumerable steamids ) : Task>>
steamids IEnumerable
Résultat Task>>

IsPlayingSharedGameAsync() public méthode

Returns the original owner's SteamID if a borrowing account is currently playing this game. If the game is not borrowed or the borrower currently doesn't play this game, the result is null.
public IsPlayingSharedGameAsync ( string steamid, int appID ) : Task>
steamid string The SteamID of the account playing.
appID int The AppID of the game currently playing
Résultat Task>

Property Details

APIKey public_oe property

public string APIKey
Résultat string