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:
42 lines (41 loc) • 922 B
TypeScript
/**
* Class of character's story
*/
export declare class CharacterStory {
/**
* fetter ID in the story
*/
readonly fetterId: number;
/**
* Character ID
*/
readonly characterId: number;
/**
* Story Title
*/
readonly title: string;
/**
* Story Content
*/
readonly content: string;
/**
* Story Tips
*/
readonly tips: string[];
/**
* Create a CharacterStories
* @param fetterId Fetter ID in the story
*/
constructor(fetterId: number);
/**
* Get all Fetter IDs in the story
* @returns All Fetter IDs in the story
*/
static get allFetterIds(): number[];
/**
* Get all Fetter IDs in the character's story
* @param characterId Character ID
* @returns All fetter IDs in the character's story
*/
static getAllFetterIdsByCharacterId(characterId: number): number[];
}