DestinySocketTypeDefinition class

All Sockets have a "Type": a set of common properties that determine when the socket allows Plugs to be inserted, what Categories of Plugs can be inserted, and whether the socket is even visible at all given the current game/character/ account state.

See DestinyInventoryItemDefinition for more information about Socketed items and Plugs.

Constructors

DestinySocketTypeDefinition()

Properties

alwaysRandomizeSockets ↔ bool
read / write
avoidDuplicatesOnInitialization ↔ bool
read / write
currencyScalars ↔ List<DestinySocketTypeScalarMaterialRequirementEntry>
read / write
displayProperties ↔ int
There are fields for this display data, but they appear to be unpopulated as of now. I am not sure where in the UI these would show if they even were populated, but I will continue to return this data in case it becomes useful.
read / write
hash ↔ int
The unique identifier for this entity. Guaranteed to be unique for the type of entity, but not globally. [...]
read / write
hideDuplicateReusablePlugs ↔ bool
read / write
index ↔ int
The index of the entity as it was found in the investment tables.
read / write
insertAction ↔ int
Defines what happens when a plug is inserted into sockets of this type.
read / write
isPreviewEnabled ↔ bool
read / write
overridesUiAppearance ↔ bool
This property indicates if the socket type determines whether Emblem icons and nameplates should be overridden by the inserted plug item's icon and nameplate.
read / write
plugWhitelist ↔ List<DestinyPlugWhitelistEntryDefinition>
A list of Plug "Categories" that are allowed to be plugged into sockets of this type. [...]
read / write
redacted ↔ bool
If this is true, then there is an entity with this identifier/type combination, but BNet is not yet allowed to show it. Sorry!
read / write
socketCategoryHash ↔ int
Mapped to DestinySocketCategoryDefinition in the manifest.
read / write
visibility ↔ int
Sometimes a socket isn't visible. These are some of the conditions under which sockets of this type are not visible. Unfortunately, the truth of visibility is much, much more complex. Best to rely on the live data for whether the socket is visible and enabled.
read / write
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