bungie-net-core
Version:
An easy way to interact with the Bungie.net API
40 lines (39 loc) • 1.93 kB
TypeScript
/**
* 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.
*
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-net-core code generator program
* Repository: {@link https://github.com/owens1127/bungie-net-core}
* Do not edit these files manually.
*/
import { DestinyItemPlugBase } from '../../Sockets/DestinyItemPlugBase';
/** @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Components.Items.DestinyItemReusablePlugsComponent} */
export interface DestinyItemReusablePlugsComponent {
/**
* If the item supports reusable plugs, this is the list of plugs that are allowed
* to be used for the socket, and any relevant information about whether they are "
* enabled", whether they are allowed to be inserted, and any other information
* such as objectives.
*
* A Reusable Plug is a plug that you can always insert into this socket as long
* as its insertion rules are passed, regardless of whether or not you have the
* plug in your inventory. An example of it failing an insertion rule would be if
* it has an Objective that needs to be completed before it can be inserted, and
* that objective hasn't been completed yet.
*
* In practice, a socket will *either* have reusable plugs *or* it will allow for
* plugs in your inventory to be inserted. See DestinyInventoryItemDefinition.
* socket for more info.
*
* KEY = The INDEX into the item's list of sockets. VALUE = The set of plugs for
* that socket.
*
* If a socket doesn't have any reusable plugs defined at the item scope, there
* will be no entry for that socket.
*/
readonly plugs: {
[key: number]: DestinyItemPlugBase[];
};
}