Destiny.Sockets.DestinyItemPlugBase

Type: object
Object Properties
plugItemHash
Mapped to Definition
The hash identifier of the DestinyInventoryItemDefinition that represents this plug.
Type: uint32
Mapped to Manifest Database Definition: Destiny.Definitions.DestinyInventoryItemDefinition
canInsert
If true, this plug has met all of its insertion requirements. Big if true.
Type: boolean
enabled
If true, this plug will provide its benefits while inserted.
Type: boolean
insertFailIndexes
If the plug cannot be inserted for some reason, this will have the indexes into the plug item definition's plug.insertionRules property, so you can show the reasons why it can't be inserted.

This list will be empty if the plug can be inserted.
Type: array
Array Contents: int32
enableFailIndexes
If a plug is not enabled, this will be populated with indexes into the plug item definition's plug.enabledRules property, so that you can show the reasons why it is not enabled.

This list will be empty if the plug is enabled.
Type: array
Array Contents: int32