public class SteamEconomy extends SteamWebApiInterface
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamEconomy(SteamWebApiClient client)
Constructor for SteamEconomy.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g.
|
CompletableFuture<Map<String,SteamAssetClassInfo>> |
getAssetClassInfo(int appId,
String language,
List<Long> classIds)
getAssetClassInfo.
|
CompletableFuture<Map<String,SteamAssetClassInfo>> |
getAssetClassInfo(int appId,
String language,
Long... classIds)
getAssetClassInfo.
|
CompletableFuture<List<SteamAssetPriceInfo>> |
getAssetPrices(int appId)
getAssetPrices.
|
CompletableFuture<List<SteamAssetPriceInfo>> |
getAssetPrices(int appId,
String currency,
String language)
getAssetPrices.
|
getSteamResult
asCollectionOf, asListOf, builder, fromJson, fromJson, handleError, sendRequest
public SteamEconomy(SteamWebApiClient client)
Constructor for SteamEconomy.
client
- a SteamWebApiClient
objectprotected void configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g. Register custom deserializers)
configureBuilder
in class AbstractWebApiInterface<SteamWebApiClient,SteamWebApiRequest,SteamWebApiResponse>
builder
- A GsonBuilder
instance that will be accessed and configured by a concrete AbstractWebApiInterface
implementationpublic CompletableFuture<List<SteamAssetPriceInfo>> getAssetPrices(int appId)
getAssetPrices.
appId
- a intCompletableFuture
objectpublic CompletableFuture<List<SteamAssetPriceInfo>> getAssetPrices(int appId, String currency, String language)
getAssetPrices.
appId
- a intcurrency
- a String
objectlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<Map<String,SteamAssetClassInfo>> getAssetClassInfo(int appId, String language, List<Long> classIds)
getAssetClassInfo.
appId
- a intlanguage
- a String
objectclassIds
- a List
objectCompletableFuture
objectpublic CompletableFuture<Map<String,SteamAssetClassInfo>> getAssetClassInfo(int appId, String language, Long... classIds)
getAssetClassInfo.
appId
- a intlanguage
- a String
objectclassIds
- a Long
objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.