/
model_destiny_definitions_sockets_destiny_plug_whitelist_entry_definition.go
20 lines (19 loc) · 1.92 KB
/
model_destiny_definitions_sockets_destiny_plug_whitelist_entry_definition.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* API version: 2.18.0
* Contact: support@bungie.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package D2Client
// Defines a plug \"Category\" that is allowed to be plugged into a socket of this type. This should be compared against a given plug item's DestinyInventoryItemDefinition.plug.plugCategoryHash, which indicates the plug item's category.
type DestinyDefinitionsSocketsDestinyPlugWhitelistEntryDefinition struct {
// The hash identifier of the Plug Category to compare against the plug item's plug.plugCategoryHash. Note that this does NOT relate to any Definition in itself, it is only used for comparison purposes.
CategoryHash int32 `json:"categoryHash,omitempty"`
// The string identifier for the category, which is here mostly for debug purposes.
CategoryIdentifier string `json:"categoryIdentifier,omitempty"`
// The list of all plug items (DestinyInventoryItemDefinition) that the socket may randomly be populated with when reinitialized. Which ones you should actually show are determined by the plug being inserted into the socket, and the socket’s type. When you inspect the plug that could go into a Masterwork Socket, look up the socket type of the socket being inspected and find the DestinySocketTypeDefinition. Then, look at the Plugs that can fit in that socket. Find the Whitelist in the DestinySocketTypeDefinition that matches the plug item’s categoryhash. That whitelist entry will potentially have a new “reinitializationPossiblePlugHashes” property.If it does, that means we know what it will roll if you try to insert this plug into this socket.
ReinitializationPossiblePlugHashes []int32 `json:"reinitializationPossiblePlugHashes,omitempty"`
}