public class Dota2Econ extends Dota2WebApiInterface
Dota2Econ class.
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
Dota2Econ(SteamWebApiClient client)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Dota2EventStats> |
getEventStatsForAccount(int accountId,
int leagueId)
getEventStatsForAccount.
|
CompletableFuture<List<Dota2Hero>> |
getGameHeroes(boolean itemizedOnly,
String language)
getGameHeroes.
|
CompletableFuture<List<Dota2GameItem>> |
getGameItems()
getGameItems.
|
CompletableFuture<List<Dota2GameItem>> |
getGameItems(String language)
getGameItems.
|
CompletableFuture<String> |
getItemIconPath(String iconName,
Dota2IconType iconType)
getItemIconPath.
|
CompletableFuture<List<Dota2Rarities>> |
getRarities(String language)
getRarities.
|
CompletableFuture<Integer> |
getTournamentPrizePool(int leagueId)
getTournamentPrizePool.
|
asCollectionOf, asListOf, getValidResult
asCollectionOf, builder, configureBuilder, fromJson, fromJson, handleError, sendRequest
public Dota2Econ(SteamWebApiClient client)
Default Constructor
client
- A SteamWebApiClient
instancepublic CompletableFuture<List<Dota2GameItem>> getGameItems()
getGameItems.
CompletableFuture
objectpublic CompletableFuture<List<Dota2GameItem>> getGameItems(String language)
getGameItems.
language
- a String
objectCompletableFuture
objectpublic CompletableFuture<List<Dota2Hero>> getGameHeroes(boolean itemizedOnly, String language)
getGameHeroes.
itemizedOnly
- a booleanlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<String> getItemIconPath(String iconName, Dota2IconType iconType)
getItemIconPath.
iconName
- a String
objecticonType
- a Dota2IconType
objectCompletableFuture
objectpublic CompletableFuture<List<Dota2Rarities>> getRarities(String language)
getRarities.
language
- a String
objectCompletableFuture
objectpublic CompletableFuture<Integer> getTournamentPrizePool(int leagueId)
getTournamentPrizePool.
leagueId
- a intCompletableFuture
objectpublic CompletableFuture<Dota2EventStats> getEventStatsForAccount(int accountId, int leagueId)
getEventStatsForAccount.
accountId
- a intleagueId
- a intCompletableFuture
objectCopyright © 2016–2024. All rights reserved.