genshin-manager
Version:
<div align="center"> <p> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https://img.shields.io/npm/v/genshin-manager.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https:
45 lines (44 loc) • 1.15 kB
TypeScript
import { ImageAssets } from '../../models/assets/ImageAssets';
import { StatProperty } from '../../models/StatProperty';
/**
* Class of character's inherent skill
*/
export declare class CharacterInherentSkill {
/**
* Inherent Skill ID
*/
readonly id: number;
/**
* Inherent Skill name
*/
readonly name: string;
/**
* Inherent Skill description
*/
readonly description: string;
/**
* Inherent Skill icon
*/
readonly icon: ImageAssets;
/**
* Inherent Skill addProps
*/
readonly addProps: StatProperty[];
/**
* Create a Inherent Skill
* @param inherentSkillId Inherent Skill ID
*/
constructor(inherentSkillId: number);
/**
* Get all inherent skill IDs
* @returns All inherent skill IDs
*/
static get allInherentSkillIds(): number[];
/**
* Get inherent skill order by character ID
* @param characterId Character ID
* @param skillDepotId Skill depot ID
* @returns Inherent skill order
*/
static getInherentSkillOrderByCharacterId(characterId: number, skillDepotId?: number): number[];
}