Jump to content


Photo

Getting actions on offer.itemsToReceive and offer.itemsToGive?

node.js node-steam-tradeoffer-manager

  • Please log in to reply
1 reply to this topic

#1 Axle

Axle

    Member

  • Member
  • PipPip
  • 16 posts

Posted 10 August 2017 - 12:38 AM

Is there any way to get actions for items when receiving a trade? Offer.itemsToReceive and offer.itemsToGive seem to be missing the actions of items by default. For example, after accepting an offer when we do getReceivedItems() it has the getActions option.

Loading inventories and finding the correct ids works, but I was hoping there might be a better way to do this.

Edited by Axle, 10 August 2017 - 12:43 AM.


#2 Axle

Axle

    Member

  • Member
  • PipPip
  • 16 posts

Posted 10 August 2017 - 01:00 AM

Oops, I mixed up actions and market_actions. Read the wrong thing and didn't realize actions had an object so it would not return null if called.

Edited by Axle, 10 August 2017 - 01:08 AM.






Also tagged with one or more of these keywords: node.js, node-steam-tradeoffer-manager

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users