bungie-net-core
Version:
An easy way to interact with the Bungie.net API
36 lines (35 loc) • 1.56 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.
*/
/**
* The information for how the vendor purchase should override a given socket with
* custom plug data.
* @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Definitions.DestinyVendorItemSocketOverride}
*/
export interface DestinyVendorItemSocketOverride {
/**
* If this is populated, the socket will be overridden with a specific plug.
*
* If this isn't populated, it's being overridden by something more complicated
* that is only known by the Game Server and God, which means we can't tell you in
* advance what it'll be. Mapped to DestinyInventoryItemDefinition in the manifest.
*/
readonly singleItemHash?: number;
/**
* If this is greater than -1, the number of randomized plugs on this socket will
* be set to this quantity instead of whatever it's set to by default.
*/
readonly randomizedOptionsCount: number;
/**
* This appears to be used to select which socket ultimately gets the override
* defined here. Mapped to DestinySocketTypeDefinition in the manifest.
*/
readonly socketTypeHash: number;
}