UNPKG

enka-network-api

Version:

Enka-network API wrapper for Genshin Impact.

23 lines (22 loc) 948 B
import { EnkaClient } from "../../../client/EnkaClient"; import { ImageAssets } from "../../assets/ImageAssets"; import { TextAssets } from "../../assets/TextAssets"; import { StatProperty } from "../../StatProperty"; import { ExcelJsonObject } from "../../../client/ExcelTransformer"; export declare class PassiveTalent { readonly id: number; readonly enka: EnkaClient; readonly name: TextAssets; readonly description: TextAssets; readonly icon: ImageAssets | null; readonly requiredAscension: number; readonly addProps: StatProperty[]; /** * Whether the talent is hidden in the list of talents on the in-game character screen * e.g. Raiden Shogun's talent of not being able to cook (Talent ID: 522301) */ readonly isHidden: boolean; readonly _data: ExcelJsonObject; constructor(data: ExcelJsonObject, enka: EnkaClient); static getById(id: number, enka: EnkaClient): PassiveTalent; }