Class WalletInfoCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamuser.callback.WalletInfoCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class WalletInfoCallback extends CallbackMsg
This callback is received when wallet info is received from the network.
-
-
Constructor Summary
Constructors Constructor Description WalletInfoCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver.CMsgClientWalletInfoUpdate.Builder wallet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBalance()ECurrencyCodegetCurrency()longgetLongBalance()booleanisHasWallet()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Method Detail
-
isHasWallet
public boolean isHasWallet()
- Returns:
- a value indicating whether this instance has wallet data.
-
getCurrency
public ECurrencyCode getCurrency()
- Returns:
- the currency code for this wallet.
-
getBalance
public int getBalance()
- Returns:
- the balance of the wallet as a 32-bit integer, in cents.
-
getLongBalance
public long getLongBalance()
- Returns:
- the balance of the wallet as a 64-bit integer, in cents.
-
-