public class SteamUserStats extends SteamWebApiInterface
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamUserStats(SteamWebApiClient client)
Constructor for SteamUserStats.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<SteamGameAchievement>> |
getGlobalAchievementPercentagesForApp(int appId)
getGlobalAchievementPercentagesForApp.
|
CompletableFuture<List<Object>> |
getGlobalStatsForGame(int appId,
int count,
String name)
getGlobalStatsForGame.
|
CompletableFuture<Integer> |
getNumberOfCurrentPlayers(int appId)
getNumberOfCurrentPlayers.
|
CompletableFuture<List<SteamPlayerAchievement>> |
getPlayerAchievements(long steamId,
int appId)
getPlayerAchievements.
|
CompletableFuture<List<SteamPlayerAchievement>> |
getPlayerAchievements(long steamId,
int appId,
String language)
getPlayerAchievements.
|
CompletableFuture<SteamGameStatsSchemaInfo> |
getSchemaForGame(int appId)
getSchemaForGame.
|
CompletableFuture<SteamPlayerStats> |
getUserStatsForGame(long steamId,
int appId)
getUserStatsForGame.
|
getSteamResult
asCollectionOf, asListOf, builder, configureBuilder, fromJson, fromJson, handleError, sendRequest
public SteamUserStats(SteamWebApiClient client)
Constructor for SteamUserStats.
client
- a SteamWebApiClient
objectpublic CompletableFuture<List<SteamGameAchievement>> getGlobalAchievementPercentagesForApp(int appId)
getGlobalAchievementPercentagesForApp.
appId
- a intCompletableFuture
objectpublic CompletableFuture<List<Object>> getGlobalStatsForGame(int appId, int count, String name)
getGlobalStatsForGame.
appId
- a intcount
- a intname
- a String
objectCompletableFuture
objectpublic CompletableFuture<SteamGameStatsSchemaInfo> getSchemaForGame(int appId)
getSchemaForGame.
appId
- a intCompletableFuture
objectpublic CompletableFuture<Integer> getNumberOfCurrentPlayers(int appId)
getNumberOfCurrentPlayers.
appId
- a intCompletableFuture
objectpublic CompletableFuture<List<SteamPlayerAchievement>> getPlayerAchievements(long steamId, int appId)
getPlayerAchievements.
steamId
- a longappId
- a intCompletableFuture
objectpublic CompletableFuture<List<SteamPlayerAchievement>> getPlayerAchievements(long steamId, int appId, String language)
getPlayerAchievements.
steamId
- a longappId
- a intlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<SteamPlayerStats> getUserStatsForGame(long steamId, int appId)
getUserStatsForGame.
steamId
- a longappId
- a intCompletableFuture
objectCopyright © 2016–2024. All rights reserved.