JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Solicitud de ingreso
publicado originalmente en:BungieNetPlatform
1/16/2017 10:27:11 AM
1

Determine if item is equipped

Reading through the official API docs I can see that the following is deprecated /{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Inventory/ This could be used to list items held by a character and would return an "isEquipped" flag as part of an items json. The new uri to call is /{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Inventory/Summary/ however this returns a much smaller set of data {"itemHash":2224632548,"itemId":"6917529086837846649","quantity":1,"damageType":0,"damageTypeHash":0,"isGridComplete":false,"transferStatus":2,"state":0,"characterIndex":0,"bucketHash":1801258597} My question is how using only this new uri do I determine if an item is equipped? One pattern I have spotted is that transferStatus is often 1 when an item is equipped, but I have also seen other values of 2 and 3.. Any idea what these other values mean?

Publicando en idioma:

 

Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

No se te permite acceder a este contenido.
;
preload icon
preload icon
preload icon