JacxbMo Posted September 27, 2022 Report 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
Dr. McKay Posted September 27, 2022 Report 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
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.