Destiny.ItemState

Enumeration
A flags enumeration/bitmask where each bit represents a different possible state that the item can be in that may effect how the item is displayed to the user and what actions can be performed against it.
Type: int32
Valid Enum Values
  • None: 0
  • Locked: 1
    If this bit is set, the item has been "locked" by the user and cannot be deleted. You may want to represent this visually with a "lock" icon.
  • Tracked: 2
    If this bit is set, the item is a quest that's being tracked by the user. You may want a visual indicator to show that this is a tracked quest.
  • Masterwork: 4
    If this bit is set, the item has a Masterwork plug inserted. This usually coincides with having a special "glowing" effect applied to the item's icon.
  • Crafted: 8
    If this bit is set, the item has been 'crafted' by the player. You may want to represent this visually with a "crafted" icon overlay.
  • HighlightedObjective: 16
    If this bit is set, the item has a 'highlighted' objective. You may want to represent this with an orange-red icon border color.