UNPKG

bungie-net-core

Version:

An easy way to interact with the Bungie.net API

31 lines (30 loc) 1.4 kB
/** * 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. */ /** * Indicates the status of an "Unlock Flag" on a Character or Profile. * * These are individual bits of state that can be either set or not set, and * sometimes provide interesting human-readable information in their related * DestinyUnlockDefinition. * @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.DestinyUnlockStatus} */ export interface DestinyUnlockStatus { /** * The hash identifier for the Unlock Flag. Use to lookup DestinyUnlockDefinition * for static data. Not all unlocks have human readable data - in fact, most don't. * But when they do, it can be very useful to show. Even if they don't have human * readable data, you might be able to infer the meaning of an unlock flag with a * bit of experimentation... Mapped to DestinyUnlockDefinition in the manifest. */ readonly unlockHash: number; /** Whether the unlock flag is set. */ readonly isSet: boolean; }