EquipFailureReason class
The reasons why an item cannot be equipped, if any. Many flags can be set, or "None" if
Constructors
- EquipFailureReason(int _value)
-
const
- EquipFailureReason.fromJson(int numValue)
-
factory
Properties
Methods
-
contains(
EquipFailureReason childValue) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator &(
EquipFailureReason item) → int -
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
- ItemEquipBlocklisted → const EquipFailureReason
- ItemEquipBlocklisted = 64 This item is block-listed and cannot be equipped.
- ItemFailedLevelCheck → const EquipFailureReason
- ItemFailedLevelCheck = 8 This item requires you to have reached a specific character level in order to equip it, and you haven't reached that level yet.
- ItemFailedUnlockCheck → const EquipFailureReason
- ItemFailedUnlockCheck = 4 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)
- ItemLoadoutRequirementNotMet → const EquipFailureReason
- ItemLoadoutRequirementNotMet = 128 This item does not meet the loadout requirements for the current activity
- ItemNotLoaded → const EquipFailureReason
- ItemNotLoaded = 32 This item is not yet loaded and cannot be equipped yet.
- ItemUnequippable → const EquipFailureReason
- ItemUnequippable = 1 This is not the kind of item that can be equipped. Did you try equipping Glimmer or something?
- ItemUniqueEquipRestricted → const EquipFailureReason
- ItemUniqueEquipRestricted = 2 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.
- ItemWrapped → const EquipFailureReason
- ItemWrapped = 16 This item is 'wrapped' and must be unwrapped before being equipped. NOTE: This value used to be called ItemNotOnCharacter but that is no longer accurate.
- None → const EquipFailureReason
- None = 0 The item is/was able to be equipped.