DestinyMaterialRequirement class

Many actions relating to items require you to expend materials: - Activating a talent node - Inserting a plug into a socket The items will refer to material requirements by a materialRequirementsHash in these cases, and this is the definition for those requirements in terms of the item required, how much of it is required and other interesting info. This is one of the rare/strange times where a single contract class is used both in definitions and in live data response contracts. I'm not sure yet whether I regret that.




count int
The amount of the material required.
read / write
deleteOnAction bool
If True, the material will be removed from the character's inventory when the action is performed.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
itemHash int
The hash identifier of the material required. Use it to look up the material's DestinyInventoryItemDefinition. [...]
read / write
omitFromRequirements bool
If True, this requirement is "silent": don't bother showing it in a material requirements display. I mean, I'm not your mom: I'm not going to tell you you * can't* show it. But we won't show it in our UI.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


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


operator ==(Object other) bool
The equality operator. [...]