bungie-net-core
Version:
An easy way to interact with the Bungie.net API
31 lines (30 loc) • 1.29 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 { DestinyStat } from '../../DestinyStat';
/**
* If you want the stats on an item's instanced data, get this component.
*
* These are stats like Attack, Defense etc... and *not* historical stats.
*
* Note that some stats have additional computation in-game at runtime - for
* instance, Magazine Size - and thus these stats might not be 100% accurate
* compared to what you see in-game for some stats. I know, it sucks. I hate it too.
* @see {@link https://bungie-net.github.io/#/components/schemas/Destiny.Entities.Items.DestinyItemStatsComponent}
*/
export interface DestinyItemStatsComponent {
/**
* If the item has stats that it provides (damage, defense, etc...), it will be
* given here. Mapped to DestinyStatDefinition in the manifest.
*/
readonly stats: {
[key: number]: DestinyStat;
};
}