Source
This page was generated with Wiki Builder. Do not change the format!
Info
The definition information for a specific socket on an item. This will determine how the socket behaves in-game.
Schema
- Schema Type: Definition
- Type: object
Properties
Name | Type | Description |
---|---|---|
socketTypeHash | Destiny.Definitions.Sockets.DestinySocketTypeDefinition:integer:uint32 | All sockets have a type, and this is the hash identifier for this particular type. Use it to look up the DestinySocketTypeDefinition: read there for more information on how socket types affect the behavior of the socket. |
singleInitialItemHash | Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32 | If a valid hash, this is the hash identifier for the DestinyInventoryItemDefinition representing the Plug that will be initially inserted into the item on item creation. Otherwise, this Socket will either start without a plug inserted, or will have one randomly inserted. |
reusablePlugItems | DestinyItemSocketEntryPlugItemDefinition:Definition[] | This is a list of pre-determined plugs that can always be plugged into this socket, without the character having the plug in their inventory. If this list is populated, you will not be allowed to plug an arbitrary item in the socket: you will only be able to choose from one of these reusable plugs. |
Example
{
// Type: Destiny.Definitions.Sockets.DestinySocketTypeDefinition:integer:uint32
"socketTypeHash": 0,
// Type: Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32
"singleInitialItemHash": 0,
// Type: DestinyItemSocketEntryPlugItemDefinition:Definition[]
"reusablePlugItems": [
// Type: DestinyItemSocketEntryPlugItemDefinition:Definition
{
// Type: Destiny.Definitions.DestinyInventoryItemDefinition:integer:uint32
"plugItemHash": 0
}
]
}