UNPKG

enka-network-api

Version:

Enka-network API wrapper for Genshin Impact.

26 lines (25 loc) 871 B
import { JsonObject } from "config_file.js"; import { Character } from "../character/Character"; import { EnkaClient } from "../../client/EnkaClient"; import { CharacterBuild, HoyoType } from "enka-system"; /** * A present character build or a saved character build in Enka.Network account */ export declare class GenshinCharacterBuild extends CharacterBuild { readonly enka: EnkaClient; readonly enkaUserInfo: { username: string; hash: string; }; readonly id: number; readonly name: string; readonly order: number; readonly isLive: boolean; readonly isPublic: boolean; readonly character: Character; readonly imageUrl: string | null; readonly hoyoType: HoyoType; readonly url: string; readonly _data: JsonObject; constructor(data: JsonObject, enka: EnkaClient, username: string, hash: string); }