@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
32 lines (29 loc) • 808 B
TypeScript
import { StorageElementType } from '../types/StorageElementType.js';
import HistoryChoiceMenuOption from '../types/HistoryChoiceMenuOption.js';
import Dialogue from '../classes/Dialogue.js';
import '../types/CloseType.js';
import '../types/LabelRunModeType.js';
import './CharacterInterface.js';
interface NarrativeHistory {
/**
* Dialogue to be shown in the game
*/
dialoge?: Dialogue;
/**
* List of choices asked of the player
*/
choices?: HistoryChoiceMenuOption[];
/**
* The player made a choice
*/
playerMadeChoice?: boolean;
/**
* The index of the step in the history.
*/
stepIndex: number;
/**
* The input value of the player
*/
inputValue?: StorageElementType;
}
export type { NarrativeHistory as default };