Jump to content
McKay Development

market_hash_name difference ?


Recommended Posts

When i receive offer . I get market_hash_name using 

offer.itemsToReceive[0].market_hash_name 

But when i using 

offer.getReceivedItems(function (err, items) { 
   //Why
   items[0].market_hash_name !== offer.itemsToReceive[0].market_hash_name 

}

It only happen when i received item in game PUBG (example item with market_hash_name: 'Combat Pants (camo)'  )

 

Thanks !

Link to comment
Share on other sites

There is no guaranteed order for the output of getReceivedItems. If you need to map input to output items, use getExchangeDetails.

 

I only receive 1 item. Because order is not reason . I need get new assetid, if not using getReceivedItems how can do this ?

Edited by mrxbell
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...