JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
Edited by slavikus: 11/10/2015 5:36:24 PM
1

Class-specific items equip restrictions

Hello, So we have a bunch of new items since the release of TTK, namely Artifacts, and class-specific weapons (for example, [b]Stillpiercer[/b]). However, I am struggling when trying to find that information in the item definiton from the world assets database data. Before, there used to be "classType" field that determined whether the item is class-specific. If it was belonging to all classes, it would be 3, otherwise 0,1,2 would specify Titan, Warlock and Hunter. However, for TTK items it seems to be deprecated as even the hunter artifacts are returned with classType == 3. There is also unlockFlagHashRequiredToEquip which seems to make sense in regards to equipment, but all of the items point to the single hash and most don't seem to be class-specific. [b]TL;DR:[/b] How do I find out from item definition that it's a class specific item (Stillpiercer, Hunter Artifact), since classType for an item seems to be always 3 for TTK items? Is there anything I am missing? TIA

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • Ah, if we're not returning classType I will have to look into it. It was not our intent to deprecate that field, but we often don't use it directly in our data and so a bug may have been introduced with newer items that we didn't notice (or potentially changes to older items). Thanks for bringing this to our attention! I'll log a bug so we can take a closer look.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    5 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon