Class TradeResultCallback

  • All Implemented Interfaces:
    ICallbackMsg

    public class TradeResultCallback
    extends CallbackMsg
    This callback is fired when this client receives the response from a trade proposal.
    • Constructor Detail

      • TradeResultCallback

        public TradeResultCallback​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgTrading_InitiateTradeResponse.Builder msg)
    • Method Detail

      • getTradeID

        public int getTradeID()
        Returns:
        the Trade ID that this result is for.
      • getResponse

        public EEconTradeResponse getResponse()
        Returns:
        the response of the trade proposal.
      • getOtherClient

        public SteamID getOtherClient()
        Returns:
        the SteamID of the client that responded to the proposal.
      • getNumDaysSteamGuardRequired

        public int getNumDaysSteamGuardRequired()
        Returns:
        the number of days Steam Guard is required to have been active on this account.
      • getNumDaysNewDeviceCooldown

        public int getNumDaysNewDeviceCooldown()
        Returns:
        the number of days a new device cannot trade for.
      • getDefaultNumDaysPasswordResetProbation

        public int getDefaultNumDaysPasswordResetProbation()
        Returns:
        the default number of days one cannot trade for after a password reset.
      • getNumDaysPasswordResetProbation

        public int getNumDaysPasswordResetProbation()
        Returns:
        the number of days one cannot trade for after a password reset.