bungie-net-core
Version:
An easy way to interact with the Bungie.net API
31 lines (30 loc) • 1.31 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 { DestinyItemQuantity } from '../DestinyItemQuantity';
/**
* Represents a reference to a Challenge, which for now is just an Objective.
* @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Definitions.DestinyActivityChallengeDefinition}
*/
export interface DestinyActivityChallengeDefinition {
/**
* The hash for the Objective that matches this challenge. Use it to look up the
* DestinyObjectiveDefinition. Mapped to DestinyObjectiveDefinition in the manifest.
*/
readonly objectiveHash: number;
/**
* The rewards as they're represented in the UI. Note that they generally link to "
* dummy" items that give a summary of rewards rather than direct, real items
* themselves.
*
* If the quantity is 0, don't show the quantity.
*/
readonly dummyRewards: DestinyItemQuantity[];
}