trzyrazyzero Posted June 14, 2016 Report Share Posted June 14, 2016 Hi, i think we could use getReceivedItems like this: manager.getReceivedItems('454115964132273087', function(err, items) { });or its possible to use this method knowing only tradeid? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 14, 2016 Report Share Posted June 14, 2016 What's your use-case? xNiceEinz 1 Quote Link to comment Share on other sites More sharing options...
trzyrazyzero Posted June 16, 2016 Author Report Share Posted June 16, 2016 What's your use-case?I can store tradeids and after i can get receiveditems. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 17, 2016 Report Share Posted June 17, 2016 You really aren't meant to do it that way. That said, this is really, really bad and really, really horrible, but will work: var offer = manager.createOffer("[U:1:1]"); offer.id = 1; offer.state = 3; offer.tradeID = your_trade_id; offer.getReceivedItems((err, items) => { // as I said, horrible. }); trzyrazyzero 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.