Jump to content
McKay Development

Recommended Posts

Posted

Hello :) I have a couple of questions regarding the tradeOffers event and changes in trade offer states.

  1. Is the tradeOffers event only emitted when receiving a new trade offer?
  2. Is there an event that is emitted when a trade offer changes state?
  3. Is the only way to detect changes in trade offer states to poll Steam API GetTradeOffers?
  4. What are the rate limits of Steam API GetTradeOffers, is it based on IP Address or Steam Account, or?

Thank you for any support, really loving your libraries.

 

 

Posted

tradeOffers is emitted whenever the number of active received trade offers you have changes. This means that it will be emitted when you receive a new offer, or when an offer you previously received is accepted/canceled/declined.

 

If you need more info about trade offers or you need to act on them, look at steam-tradeoffer-manager.

Posted

This means that it will be emitted when you receive a new offer, or when an offer you previously received is accepted/canceled/declined.

 

Okay, and for trade offers I have created this event won't be emitted at all and that's where I must poll Steam API GetTradeOffers to get trade offer state changes instead?

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...