EquipFailureReason class

Constructors

EquipFailureReason()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

ItemFailedLevelCheck → const int
This item requires you to have reached a specific character level in order to equip it, and you haven't reached that level yet.
8
ItemFailedUnlockCheck → const int
This item has state-based gating that prevents it from being equipped in certain circumstances. For instance, an item might be for Warlocks only and you're a Titan, or it might require you to have beaten some special quest that you haven' t beaten yet. Use the additional failure data passed on the item itself to get more information about what the specific failure case was (See DestinyInventoryItemDefinition and DestinyItemInstanceComponent)
4
ItemNotOnCharacter → const int
This item can't be equipped on the character requested, because it must be in that character's inventory first. Transfer the item to the character you want to equip it before you attempt to equip it.
16
ItemUnequippable → const int
This is not the kind of item that can be equipped. Did you try equipping Glimmer or something?
1
ItemUniqueEquipRestricted → const int
This item is part of a "unique set", and you can't have more than one item of that same set type equipped at once. For instance, if you already have an Exotic Weapon equipped, you can't equip a second one in another weapon slot.
2
None → const int
The item is/was able to be equipped.
0