Jump to content
McKay Development

Recommended Posts

Posted

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 !

Posted (edited)

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

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...