Class TradeResultCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamtrading.callback.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 Summary
Constructors Constructor Description TradeResultCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgTrading_InitiateTradeResponse.Builder msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultNumDaysPasswordResetProbation()intgetNumDaysNewDeviceCooldown()intgetNumDaysPasswordResetProbation()intgetNumDaysSteamGuardRequired()SteamIDgetOtherClient()EEconTradeResponsegetResponse()intgetTradeID()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
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
SteamIDof 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.
-
-