Elihu Posted April 6, 2021 Report Share Posted April 6, 2021 I'm not sure if this goes in `node-steam-tradeoffer-manager` or `node-steamcommunity` so I apologize if this is in the wrong area. My scenario: I can currently Get my inventory Send/receive trade requests My issue If the offer is not yet accepted I see the item still in my inventory, making it *appear* as though it is still giftable My question Is there something I'm missing in the item description or anything that designates `this item is currently off limits because it is already in a trade`? I did some searching of the docs but maybe I just wasn't searching for the correct thing. Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 7, 2021 Report Share Posted April 7, 2021 No, the only way you can tell if an item is currently in a trade is to pull your list of active trade offers and see if it's in there. There is no indication in the inventory that an item is in an active trade offer. Quote Link to comment Share on other sites More sharing options...
Elihu Posted April 9, 2021 Author Report Share Posted April 9, 2021 Thanks so much for your help. So in a follow-up...would I need to locate items currently in a trade by: id? assetid? instanceid? I'm guessing the first but I'm not sure. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 10, 2021 Report Share Posted April 10, 2021 id and assetid are the same thing, both property names are used for convenience. To identify an item, you'd need to check the appid + contextid + assetid combo. See also: Quote Link to comment Share on other sites More sharing options...
Elihu Posted April 10, 2021 Author Report Share Posted April 10, 2021 I will review that post. Thanks so much! 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.