Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SocketPlugSources

Indicates how a socket is populated, and where you should look for valid plug data. This is a flags enumeration/bitmask field, as you may have to look in multiple sources across multiple components for valid plugs.

This enum represents a set of flags - use bitwise operators to check which of these match your value.

Index

Enumeration members

CharacterPlugSet

CharacterPlugSet: = 8

Use the CharacterPlugSets component data to determine which plugs are valid for this socket.

InventorySourced

InventorySourced: = 1

Use plugs found in the player's inventory, based on the socket type rules (see DestinySocketTypeDefinition for more info)

Note that a socket - like Shaders - can have both reusable plugs and inventory items inserted theoretically.

None

None: = 0

If there's no way we can detect to insert new plugs.

ProfilePlugSet

ProfilePlugSet: = 4

Use the ProfilePlugSets component data to determine which plugs are valid for this socket.

ReusablePlugItems

ReusablePlugItems: = 2

Use the DestinyItemSocketsComponent.sockets.reusablePlugs property to determine which plugs are valid for this socket.