public class SteamApps extends SteamWebApiInterface
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamApps(SteamWebApiClient client)
Constructor for SteamApps.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<SteamApp>> |
getAppList()
getAppList.
|
CompletableFuture<List<SteamGameServer>> |
getServersAtAddress(InetAddress address)
getServersAtAddress.
|
CompletableFuture<List<SteamGameServer>> |
getServersAtAddress(String address)
getServersAtAddress.
|
CompletableFuture<ServerUpdateStatus> |
getServerUpdateStatus(int version,
int appId)
getServerUpdateStatus.
|
getSteamResult
asCollectionOf, asListOf, builder, configureBuilder, fromJson, fromJson, handleError, sendRequest
public SteamApps(SteamWebApiClient client)
Constructor for SteamApps.
client
- a SteamWebApiClient
objectpublic CompletableFuture<List<SteamApp>> getAppList()
getAppList.
CompletableFuture
objectpublic CompletableFuture<List<SteamGameServer>> getServersAtAddress(String address) throws UnknownHostException
getServersAtAddress.
address
- a String
objectCompletableFuture
objectUnknownHostException
- if any.public CompletableFuture<List<SteamGameServer>> getServersAtAddress(InetAddress address)
getServersAtAddress.
address
- a InetAddress
objectCompletableFuture
objectpublic CompletableFuture<ServerUpdateStatus> getServerUpdateStatus(int version, int appId)
getServerUpdateStatus.
version
- a intappId
- a intCompletableFuture
objectCopyright © 2016–2024. All rights reserved.