JacxbMo Posted September 27, 2022 Report Share Posted September 27, 2022 manager.on('sentOfferChanged', function(offer, oldState){console.log(offer)}) When a trade has been accepted, will the code above log the assetid of the items before they were traded, or will it log the changed assetids of the items after they were traded? Thanks for any help. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 27, 2022 Report Share Posted September 27, 2022 That will log the IDs of the items before they were traded. To get new asset IDs, use the getExchangeDetails method on the TradeOffer object. JacxbMo 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.