UNPKG

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.16 kB
import { ImageAssets } from '../../models/assets/ImageAssets'; /** * Class of character's constellation */ export declare class CharacterConstellation { /** * Constellation ID */ readonly id: number; /** * Constellation name */ readonly name: string; /** * Constellation description */ readonly description: string; /** * Constellation icon */ readonly icon: ImageAssets; /** * Whether the constellation is locked */ readonly locked: boolean; /** * Create a Constellation * @param constellationId Constellation ID * @param locked Whether the constellation is locked */ constructor(constellationId: number, locked?: boolean); /** * Get all constellation IDs * @returns All constellation IDs */ static get allConstellationIds(): number[]; /** * Get constellation IDs by character ID * @param characterId Character ID * @param skillDepotId Skill depot ID * @returns Constellation IDs */ static getConstellationIdsByCharacterId(characterId: number, skillDepotId?: number): number[]; }