public class SteamPlayerService extends SteamWebApiInterface
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamPlayerService(SteamWebApiClient client)
Constructor for SteamPlayerService.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<SteamPlayerBadgeInfo> |
getBadges(long steamId)
getBadges.
|
CompletableFuture<List<SteamQuestStatus>> |
getCommunityBadgeProgress(long steamId)
getCommunityBadgeProgress.
|
CompletableFuture<List<SteamQuestStatus>> |
getCommunityBadgeProgress(long steamId,
int badgeId)
getCommunityBadgeProgress.
|
CompletableFuture<List<SteamPlayerOwnedGame>> |
getOwnedGames(long steamId,
boolean includeAppInfo,
boolean includePlayedFreeGames)
getOwnedGames.
|
CompletableFuture<List<SteamPlayerRecentPlayed>> |
getRecentlyPlayedGames(long steamId,
int count)
getRecentlyPlayedGames.
|
CompletableFuture<String> |
getSteamGameLenderId(long steamId,
int appId)
getSteamGameLenderId.
|
CompletableFuture<Integer> |
getSteamLevel(long steamId)
getSteamLevel.
|
getSteamResult
asCollectionOf, asListOf, builder, configureBuilder, fromJson, fromJson, handleError, sendRequest
public SteamPlayerService(SteamWebApiClient client)
Constructor for SteamPlayerService.
client
- a SteamWebApiClient
objectpublic CompletableFuture<List<SteamPlayerRecentPlayed>> getRecentlyPlayedGames(long steamId, int count)
getRecentlyPlayedGames.
steamId
- a longcount
- a intCompletableFuture
objectpublic CompletableFuture<List<SteamPlayerOwnedGame>> getOwnedGames(long steamId, boolean includeAppInfo, boolean includePlayedFreeGames)
getOwnedGames.
steamId
- a longincludeAppInfo
- a booleanincludePlayedFreeGames
- a booleanCompletableFuture
objectpublic CompletableFuture<SteamPlayerBadgeInfo> getBadges(long steamId)
getBadges.
steamId
- a longCompletableFuture
objectpublic CompletableFuture<List<SteamQuestStatus>> getCommunityBadgeProgress(long steamId)
getCommunityBadgeProgress.
steamId
- a longCompletableFuture
objectpublic CompletableFuture<List<SteamQuestStatus>> getCommunityBadgeProgress(long steamId, int badgeId)
getCommunityBadgeProgress.
steamId
- a longbadgeId
- a intCompletableFuture
objectpublic CompletableFuture<Integer> getSteamLevel(long steamId)
getSteamLevel.
steamId
- a longCompletableFuture
objectpublic CompletableFuture<String> getSteamGameLenderId(long steamId, int appId)
getSteamGameLenderId.
steamId
- a longappId
- a intCompletableFuture
objectCopyright © 2016–2024. All rights reserved.