bungie-net-core
Version:
An easy way to interact with the Bungie.net API
79 lines (78 loc) • 3.21 kB
TypeScript
/**
* The possible states of Destiny Profile Records. IMPORTANT: Any given item can
* theoretically have many of these states simultaneously: as a result, this was
* altered to be a flags enumeration/bitmask for v3.2.0.
*
* This enum represents a set of flags - use bitwise operators to check which of
* these match your value.
* @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.DestinyVendorItemState}
*/
export declare const DestinyVendorItemState: {
/** There are no augments on the item. */
readonly None: 0;
/**
* Deprecated forever (probably). There was a time when Records were going to be
* implemented through Vendors, and this field was relevant. Now they're
* implemented through Presentation Nodes, and this field doesn't matter anymore.
*/
readonly Incomplete: 1;
/**
* Deprecated forever (probably). See the description of the "Incomplete" value for
* the juicy scoop.
*/
readonly RewardAvailable: 2;
/**
* Deprecated forever (probably). See the description of the "Incomplete" value for
* the juicy scoop.
*/
readonly Complete: 4;
/**
* This item is considered to be "newly available", and should have some UI showing
* how shiny it is.
*/
readonly New: 8;
/**
* This item is being "featured", and should be shiny in a different way from items
* that are merely new.
*/
readonly Featured: 16;
/** This item is only available for a limited time, and that time is approaching. */
readonly Ending: 32;
/** This item is "on sale". Get it while it's hot. */
readonly OnSale: 64;
/** This item is already owned. */
readonly Owned: 128;
/** This item should be shown with a "wide view" instead of normal icon view. */
readonly WideView: 256;
/**
* This indicates that you should show some kind of attention-requesting indicator
* on the item, in a similar manner to items in the nexus that have such
* notifications.
*/
readonly NexusAttention: 512;
/** This indicates that the item has some sort of a 'set' discount. */
readonly SetDiscount: 1024;
/** This indicates that the item has a price drop. */
readonly PriceDrop: 2048;
/** This indicates that the item is a daily offer. */
readonly DailyOffer: 4096;
/** This indicates that the item is for charity. */
readonly Charity: 8192;
/** This indicates that the item has a seasonal reward expiration. */
readonly SeasonalRewardExpiration: 16384;
/** This indicates that the sale item is the best deal among different choices. */
readonly BestDeal: 32768;
/** This indicates that the sale item is popular. */
readonly Popular: 65536;
/** This indicates that the sale item is free. */
readonly Free: 131072;
/** This indicates that the sale item is locked. */
readonly Locked: 262144;
/** This indicates that the sale item is paracausal. */
readonly Paracausal: 524288;
readonly Cryptarch: 1048576;
readonly ArtifactPerkOwned: 2097152;
readonly Savings: 4194304;
readonly Ineligible: 8388608;
readonly ArtifactPerkBoosted: 16777216;
};