@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
56 lines (52 loc) • 1.72 kB
text/typescript
import { a as CanvasGameState } from '../ContainerMemory-CrY9QSo2.cjs';
import { H as HistoryGameState } from '../HistoryGameState-qeIMl_DH.cjs';
import { N as NarrationGameState } from '../NarrationGameState-Cu-OYzph.cjs';
import { S as SoundGameState } from '../SoundGameState-BG_iPwjt.cjs';
import { S as StorageGameState } from '../StorageGameState-B2kz-u_2.cjs';
import { O as OpenedLabel } from '../OpenedLabel-Dgkgemkv.cjs';
import '../TickersSequence-Cf1Vcu22.cjs';
import 'pixi.js';
import '@drincs/pixi-vn';
import '@pixi/sound';
import '../StorageElementType-DTGcnkzF.cjs';
import 'deep-diff';
import 'microdiff';
interface GameState {
pixivn_version: string;
stepData: NarrationGameState;
storageData: StorageGameState;
canvasData: CanvasGameState;
soundData: SoundGameState;
historyData: HistoryGameState;
path: string;
}
/**
* It is a interface that contains the information of a step.
*/
interface GameStepStateData {
/**
* The browser path that occurred during the progression of the steps.
*/
path: string;
/**
* The storage that occurred during the progression of the steps.
*/
storage: StorageGameState;
/**
* The index of the label that occurred during the progression of the steps.
*/
labelIndex: number;
/**
* The canvas that occurred during the progression of the steps.
*/
canvas: CanvasGameState;
/**
* The opened labels that occurred during the progression of the steps.
*/
openedLabels: OpenedLabel[];
/**
* The sound data that occurred during the progression of the steps.
*/
sound: SoundGameState;
}
export type { GameState, GameStepStateData };