bungie-net-core
Version:
An easy way to interact with the Bungie.net API
57 lines (56 loc) • 2.82 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.
*/
/** @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Milestones.DestinyPublicMilestoneChallengeActivity} */
export interface DestinyPublicMilestoneChallengeActivity {
/** Mapped to DestinyActivityDefinition in the manifest. */
readonly activityHash: number;
readonly challengeObjectiveHashes: number[];
/**
* If the activity has modifiers, this will be the list of modifiers that all
* variants have in common. Perform lookups against
* DestinyActivityModifierDefinition which defines the modifier being applied to
* get at the modifier data.
*
* Note that, in the DestiyActivityDefinition, you will see many more modifiers
* than this being referred to: those are all *possible* modifiers for the activity,
* not the active ones. Use only the active ones to match what's really live.
* Mapped to DestinyActivityModifierDefinition in the manifest.
*/
readonly modifierHashes: number[];
/**
* If returned, this is the index into the DestinyActivityDefinition's "loadouts"
* property, indicating the currently active loadout requirements.
*/
readonly loadoutRequirementIndex?: number;
/**
* The ordered list of phases for this activity, if any. Note that we have no human
* readable info for phases, nor any entities to relate them to: relating these
* hashes to something human readable is up to you unfortunately.
*/
readonly phaseHashes: number[];
/**
* The set of activity options for this activity, keyed by an identifier that's
* unique for this activity (not guaranteed to be unique between or across all
* activities, though should be unique for every *variant* of a given *conceptual*
* activity: for instance, the original D2 Raid has many variant
* DestinyActivityDefinitions. While other activities could potentially have the
* same option hashes, for any given D2 base Raid variant the hash will be unique).
*
* As a concrete example of this data, the hashes you get for Raids will correspond
* to the currently active "Challenge Mode".
*
* We have no human readable information for this data, so it's up to you if you
* want to associate it with such info to show it.
*/
readonly booleanActivityOptions: {
[key: number]: boolean;
};
}