Class TradeProposedCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamtrading.callback.TradeProposedCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class TradeProposedCallback extends CallbackMsg
This callback is fired when this client receives a trade proposal.
-
-
Constructor Summary
Constructors Constructor Description TradeProposedCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgTrading_InitiateTradeRequest.Builder msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SteamIDgetOtherClient()intgetTradeID()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Method Detail
-
getTradeID
public int getTradeID()
- Returns:
- the Trade ID of his proposal, used for replying.
-
getOtherClient
public SteamID getOtherClient()
- Returns:
- the SteamID of the client that sent the proposal.
-
-