JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

「Updates, discussions, and documentation of the BungieNetPlatform API.」

オリジナルの投稿元: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?

投稿言語:

 

マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

トピック全体を表示
このコンテンツはご覧いただけません。
;
preload icon
preload icon
preload icon