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:

66 lines (65 loc) 1.47 kB
import { AudioAssets } from '../../models/assets/AudioAssets'; import { CVType } from '../../types'; /** * Class of character's voice */ export declare class CharacterVoice { /** * fetter ID in the voice */ readonly fetterId: number; /** * CV language */ readonly cv: CVType; /** * Costume IDs to hide this */ readonly hideCostumeIds: number[]; /** * Costume IDs to show this */ readonly showCostumeIds: number[]; /** * Character ID */ readonly characterId: number; /** * Voice Type * @description 1: non-Fighting 2: Fighting */ readonly type: number; /** * Voice Title */ readonly title: string; /** * Voice Content */ readonly content: string; /** * Voice Tips */ readonly tips: string[]; /** * Voice Audio */ readonly audio: AudioAssets; /** * Create a CharacterVoice * @param fetterId Fetter ID in the voice * @param cv CV language */ constructor(fetterId: number, cv: CVType); /** * Get all Fetter IDs in the voice * @returns All Fetter IDs in the voice */ static get allFetterIds(): number[]; /** * Get all Fetter IDs in the character's voice * @param characterId Character ID * @returns All Fetter IDs in the character's voice */ static getAllFetterIdsByCharacterId(characterId: number): number[]; }