@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
69 lines (68 loc) • 2.06 kB
TypeScript
import { Character, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
//#region src/character-statistics/types.d.ts
interface CharacterStatisticsSummaryResponse extends ResponseBase {
agility: BaseEffectiveStat;
armor: BaseEffectiveStat;
attack_power: number;
avoidance: Rating;
block: RatingWithValue;
bonus_armor: number;
character: Character;
dodge: RatingWithValue;
health: number;
intellect: BaseEffectiveStat;
lifesteal: RatingWithValue;
main_hand_damage_max: number;
main_hand_damage_min: number;
main_hand_dps: number;
main_hand_speed: number;
mana_regen: number;
mana_regen_combat: number;
mastery: RatingWithValue;
melee_crit: RatingWithValue;
melee_haste: RatingWithValue;
off_hand_damage_max: number;
off_hand_damage_min: number;
off_hand_dps: number;
off_hand_speed: number;
parry: RatingWithValue;
power: number;
power_type: NameIdKey;
ranged_crit: RatingWithValue;
ranged_haste: RatingWithValue;
speed: Rating;
spell_crit: RatingWithValue;
spell_haste: RatingWithValue;
spell_penetration: number;
spell_power: number;
stamina: BaseEffectiveStat;
strength: BaseEffectiveStat;
versatility: number;
versatility_damage_done_bonus: number;
versatility_damage_taken_bonus: number;
versatility_healing_done_bonus: number;
}
interface BaseEffectiveStat {
base: number;
effective: number;
}
interface Rating {
rating_bonus: number;
rating_normalized: number;
}
interface RatingWithValue {
rating_bonus: number;
rating_normalized: number;
value: number;
}
//#endregion
//#region src/character-statistics/index.d.ts
/**
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @returns a statistics summary for a character.
*/
declare function characterStatisticsSummary(realmSlug: string, characterName: string): Resource<CharacterStatisticsSummaryResponse>;
//#endregion
export { CharacterStatisticsSummaryResponse as n, characterStatisticsSummary as t };
//# sourceMappingURL=index-CQMbPrgO.d.ts.map