Class WalletInfoCallback

  • All Implemented Interfaces:
    ICallbackMsg

    public class WalletInfoCallback
    extends CallbackMsg
    This callback is received when wallet info is received from the network.
    • Constructor Detail

      • WalletInfoCallback

        public WalletInfoCallback​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver.CMsgClientWalletInfoUpdate.Builder wallet)
    • 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.