Class 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)  
    • Constructor Detail

      • TradeProposedCallback

        public TradeProposedCallback​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgTrading_InitiateTradeRequest.Builder msg)
    • 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.