Jump to content
McKay Development

Detecting Rollbacks


Recommended Posts

Looking into the documentation I notice getExchangeDetails won't return data unless the ETradeStatus is Complete, InEscrow, or EscrowRollback, which is a different state from ETradeOfferState, which is fine. Is it possible to get ETradeStatus without querying getExchangeDetails as I didn't see the method nor variable on the TradeOffer object. I'm sure I was just misunderstanding how to use this or fetch the state, but was hoping I could check before querying steam as I want to prevent as much requests as possible.

Thanks,

Christian

Edited by christianwdev
Link to comment
Share on other sites

1 hour ago, Dr. McKay said:

No, the API method called by getExchangeDetails is the only place to get the trade status.

Do you know where I'd get the notification for when a rollback occurs? It appears that the ETradeStatus is for accepted trades looking at "valvesoftware". Wasn't sure if you could shed any more light on this.

That and what ETradeOfferState this would occur under as well, so I can just refetch and update my local inventory for those state changes.

Edited by christianwdev
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...