Closed gamemaster1494 closed 11 years ago
So when I do Trade.AddItem() i won't be able to target a quality?
But the trade.additem only accepts a defindex. That doesn't include the quality...
I believe that you would have to search the backpack for all items with the defindex and then put that in an array and parse that for the quality that you want and add by id...
On Mon, Feb 18, 2013 at 8:53 PM, gamemaster1494 notifications@github.comwrote:
But the trade.additem only accepts a defindex. That doesn't include the quality...
— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/173#issuecomment-13752923.
What I'm asking is, with that Trade.OtherInventory.GetItem(id), does it get the item that they actually put up? Or the first item with that id in the backpack regardless of its quality?
So with the Trade.OtherOfferedItems, how would you tell what quality it is? I know that you do the GetItem(defindex) but what if they have several of the same wep with different qualities? does it handle that?