@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
30 lines (27 loc) • 845 B
text/typescript
import HistoryChoiceMenuOption from '../types/HistoryChoiceMenuOption.mjs';
import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
import '../types/CloseType.mjs';
import '../types/LabelRunModeType.mjs';
import '../classes/CharacterBaseModel.mjs';
import './CharacterBaseModelProps.mjs';
import '../classes/StoredClassModel.mjs';
import '../types/StorageElementType.mjs';
interface DialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
/**
* Dialogue to be shown in the game
*/
dialoge?: T;
/**
* 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;
}
export type { DialogueHistory as default };