@drincs/pixi-vn 0.4.9 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/CharacterBaseModel.js.map +1 -1
- package/dist/classes/CharacterBaseModel.mjs.map +1 -1
- package/dist/classes/ChoiceMenuOptionLabel.d.mts +15 -8
- package/dist/classes/ChoiceMenuOptionLabel.d.ts +15 -8
- package/dist/classes/ChoiceMenuOptionLabel.js +9 -1
- package/dist/classes/ChoiceMenuOptionLabel.js.map +1 -1
- package/dist/classes/ChoiceMenuOptionLabel.mjs +9 -1
- package/dist/classes/ChoiceMenuOptionLabel.mjs.map +1 -1
- package/dist/classes/Label.d.mts +4 -3
- package/dist/classes/Label.d.ts +4 -3
- package/dist/classes/Label.js.map +1 -1
- package/dist/classes/Label.mjs.map +1 -1
- package/dist/classes/StoredClassModel.js.map +1 -1
- package/dist/classes/StoredClassModel.mjs.map +1 -1
- package/dist/classes/index.d.mts +3 -3
- package/dist/classes/index.d.ts +3 -3
- package/dist/classes/index.js +9 -1
- package/dist/classes/index.js.map +1 -1
- package/dist/classes/index.mjs +9 -1
- package/dist/classes/index.mjs.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
- package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
- package/dist/classes/ticker/TickerMove.js.map +1 -1
- package/dist/classes/ticker/TickerMove.mjs.map +1 -1
- package/dist/classes/ticker/TickerRotate.js.map +1 -1
- package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
- package/dist/classes/ticker/index.js.map +1 -1
- package/dist/classes/ticker/index.mjs.map +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/constants.mjs.map +1 -1
- package/dist/decorators/LabelDecorator.d.mts +2 -1
- package/dist/decorators/LabelDecorator.d.ts +2 -1
- package/dist/decorators/index.d.mts +2 -2
- package/dist/decorators/index.d.ts +2 -2
- package/dist/functions/DialogueUtility.d.mts +6 -6
- package/dist/functions/DialogueUtility.d.ts +6 -6
- package/dist/functions/DialogueUtility.js.map +1 -1
- package/dist/functions/DialogueUtility.mjs.map +1 -1
- package/dist/functions/FlagsUtility.js.map +1 -1
- package/dist/functions/FlagsUtility.mjs.map +1 -1
- package/dist/functions/GameUtility.js.map +1 -1
- package/dist/functions/GameUtility.mjs.map +1 -1
- package/dist/functions/ImageUtility.js.map +1 -1
- package/dist/functions/ImageUtility.mjs.map +1 -1
- package/dist/functions/SavesUtility.d.mts +3 -3
- package/dist/functions/SavesUtility.d.ts +3 -3
- package/dist/functions/SavesUtility.js +1 -1
- package/dist/functions/SavesUtility.js.map +1 -1
- package/dist/functions/SavesUtility.mjs +1 -1
- package/dist/functions/SavesUtility.mjs.map +1 -1
- package/dist/functions/StepLabelUtility.d.mts +2 -1
- package/dist/functions/StepLabelUtility.d.ts +2 -1
- package/dist/functions/StepLabelUtility.js.map +1 -1
- package/dist/functions/StepLabelUtility.mjs.map +1 -1
- package/dist/functions/index.d.mts +7 -7
- package/dist/functions/index.d.ts +7 -7
- package/dist/functions/index.js +1 -1
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/dist/interface/IDialogueHistory.d.mts +4 -4
- package/dist/interface/IDialogueHistory.d.ts +4 -4
- package/dist/interface/IHistoryStep.d.mts +2 -2
- package/dist/interface/IHistoryStep.d.ts +2 -2
- package/dist/interface/ISaveData.d.mts +3 -3
- package/dist/interface/ISaveData.d.ts +3 -3
- package/dist/interface/export/ExportedStep.d.mts +3 -3
- package/dist/interface/export/ExportedStep.d.ts +3 -3
- package/dist/interface/export/index.d.mts +3 -3
- package/dist/interface/export/index.d.ts +3 -3
- package/dist/interface/index.d.mts +4 -4
- package/dist/interface/index.d.ts +4 -4
- package/dist/managers/StepManager.d.mts +5 -5
- package/dist/managers/StepManager.d.ts +5 -5
- package/dist/managers/StepManager.js.map +1 -1
- package/dist/managers/StepManager.mjs.map +1 -1
- package/dist/managers/index.d.mts +4 -4
- package/dist/managers/index.d.ts +4 -4
- package/dist/managers/index.js.map +1 -1
- package/dist/managers/index.mjs.map +1 -1
- package/dist/override/StepLabelProps.d.mts +2 -1
- package/dist/override/StepLabelProps.d.ts +2 -1
- package/dist/override/StepLabelResult.d.mts +2 -1
- package/dist/override/StepLabelResult.d.ts +2 -1
- package/dist/types/ChoiceMenuOptionsType.d.mts +5 -4
- package/dist/types/ChoiceMenuOptionsType.d.ts +5 -4
- package/dist/types/LabelRunModeType.d.mts +3 -0
- package/dist/types/LabelRunModeType.d.ts +3 -0
- package/dist/types/LabelRunModeType.js +4 -0
- package/dist/types/LabelRunModeType.js.map +1 -0
- package/dist/types/LabelRunModeType.mjs +3 -0
- package/dist/types/LabelRunModeType.mjs.map +1 -0
- package/dist/types/StepLabelType.d.mts +3 -2
- package/dist/types/StepLabelType.d.ts +3 -2
- package/dist/types/StorageElementType.d.mts +6 -2
- package/dist/types/StorageElementType.d.ts +6 -2
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/enums/LabelRunModeEnum.d.mts +0 -9
- package/dist/enums/LabelRunModeEnum.d.ts +0 -9
- package/dist/enums/LabelRunModeEnum.js +0 -12
- package/dist/enums/LabelRunModeEnum.js.map +0 -1
- package/dist/enums/LabelRunModeEnum.mjs +0 -10
- package/dist/enums/LabelRunModeEnum.mjs.map +0 -1
- package/dist/enums/index.d.mts +0 -1
- package/dist/enums/index.d.ts +0 -1
- package/dist/enums/index.js +0 -12
- package/dist/enums/index.js.map +0 -1
- package/dist/enums/index.mjs +0 -10
- package/dist/enums/index.mjs.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IStoratedChoiceMenuOptionLabel } from '../classes/ChoiceMenuOptionLabel.mjs';
|
|
2
2
|
import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
|
|
3
|
-
import '../enums/LabelRunModeEnum.mjs';
|
|
4
|
-
import '../types/LabelIdType.mjs';
|
|
5
3
|
import '../classes/Label.mjs';
|
|
6
|
-
import '../types/
|
|
4
|
+
import '../types/StorageElementType.mjs';
|
|
7
5
|
import '../types/StepLabelType.mjs';
|
|
8
6
|
import '@drincs/pixi-vn/dist/override';
|
|
7
|
+
import '../types/StepHistoryDataType.mjs';
|
|
8
|
+
import '../types/LabelRunModeType.mjs';
|
|
9
|
+
import '../types/LabelIdType.mjs';
|
|
9
10
|
import '../classes/CharacterBaseModel.mjs';
|
|
10
11
|
import '../classes/StoredClassModel.mjs';
|
|
11
|
-
import '../types/StorageElementType.mjs';
|
|
12
12
|
|
|
13
13
|
interface IDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
|
|
14
14
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IStoratedChoiceMenuOptionLabel } from '../classes/ChoiceMenuOptionLabel.js';
|
|
2
2
|
import DialogueBaseModel from '../classes/DialogueBaseModel.js';
|
|
3
|
-
import '../enums/LabelRunModeEnum.js';
|
|
4
|
-
import '../types/LabelIdType.js';
|
|
5
3
|
import '../classes/Label.js';
|
|
6
|
-
import '../types/
|
|
4
|
+
import '../types/StorageElementType.js';
|
|
7
5
|
import '../types/StepLabelType.js';
|
|
8
6
|
import '@drincs/pixi-vn/dist/override';
|
|
7
|
+
import '../types/StepHistoryDataType.js';
|
|
8
|
+
import '../types/LabelRunModeType.js';
|
|
9
|
+
import '../types/LabelIdType.js';
|
|
9
10
|
import '../classes/CharacterBaseModel.js';
|
|
10
11
|
import '../classes/StoredClassModel.js';
|
|
11
|
-
import '../types/StorageElementType.js';
|
|
12
12
|
|
|
13
13
|
interface IDialogueHistory<T extends DialogueBaseModel = DialogueBaseModel> {
|
|
14
14
|
/**
|
|
@@ -6,13 +6,13 @@ import { LabelIdType } from '../types/LabelIdType.mjs';
|
|
|
6
6
|
import ExportedCanvas from './export/ExportedCanvas.mjs';
|
|
7
7
|
import ExportedStorage from './export/ExportedStorage.mjs';
|
|
8
8
|
import IOpenedLabel from './IOpenedLabel.mjs';
|
|
9
|
-
import '../enums/LabelRunModeEnum.mjs';
|
|
10
9
|
import '../classes/Label.mjs';
|
|
10
|
+
import '../types/StorageElementType.mjs';
|
|
11
11
|
import '../types/StepLabelType.mjs';
|
|
12
12
|
import '@drincs/pixi-vn/dist/override';
|
|
13
|
+
import '../types/LabelRunModeType.mjs';
|
|
13
14
|
import '../classes/CharacterBaseModel.mjs';
|
|
14
15
|
import '../classes/StoredClassModel.mjs';
|
|
15
|
-
import '../types/StorageElementType.mjs';
|
|
16
16
|
import './canvas/ICanvasBaseMemory.mjs';
|
|
17
17
|
import './IClassWithArgsHistory.mjs';
|
|
18
18
|
import 'pixi.js';
|
|
@@ -6,13 +6,13 @@ import { LabelIdType } from '../types/LabelIdType.js';
|
|
|
6
6
|
import ExportedCanvas from './export/ExportedCanvas.js';
|
|
7
7
|
import ExportedStorage from './export/ExportedStorage.js';
|
|
8
8
|
import IOpenedLabel from './IOpenedLabel.js';
|
|
9
|
-
import '../enums/LabelRunModeEnum.js';
|
|
10
9
|
import '../classes/Label.js';
|
|
10
|
+
import '../types/StorageElementType.js';
|
|
11
11
|
import '../types/StepLabelType.js';
|
|
12
12
|
import '@drincs/pixi-vn/dist/override';
|
|
13
|
+
import '../types/LabelRunModeType.js';
|
|
13
14
|
import '../classes/CharacterBaseModel.js';
|
|
14
15
|
import '../classes/StoredClassModel.js';
|
|
15
|
-
import '../types/StorageElementType.js';
|
|
16
16
|
import './canvas/ICanvasBaseMemory.js';
|
|
17
17
|
import './IClassWithArgsHistory.js';
|
|
18
18
|
import 'pixi.js';
|
|
@@ -10,12 +10,12 @@ import '../types/TickerIdType.mjs';
|
|
|
10
10
|
import './IHistoryStep.mjs';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../classes/ChoiceMenuOptionLabel.mjs';
|
|
13
|
-
import '../enums/LabelRunModeEnum.mjs';
|
|
14
|
-
import '../types/LabelIdType.mjs';
|
|
15
13
|
import '../classes/Label.mjs';
|
|
16
|
-
import '../types/StepHistoryDataType.mjs';
|
|
17
14
|
import '../types/StepLabelType.mjs';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../types/StepHistoryDataType.mjs';
|
|
17
|
+
import '../types/LabelRunModeType.mjs';
|
|
18
|
+
import '../types/LabelIdType.mjs';
|
|
19
19
|
import '../classes/DialogueBaseModel.mjs';
|
|
20
20
|
import '../classes/CharacterBaseModel.mjs';
|
|
21
21
|
import '../classes/StoredClassModel.mjs';
|
|
@@ -10,12 +10,12 @@ import '../types/TickerIdType.js';
|
|
|
10
10
|
import './IHistoryStep.js';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../classes/ChoiceMenuOptionLabel.js';
|
|
13
|
-
import '../enums/LabelRunModeEnum.js';
|
|
14
|
-
import '../types/LabelIdType.js';
|
|
15
13
|
import '../classes/Label.js';
|
|
16
|
-
import '../types/StepHistoryDataType.js';
|
|
17
14
|
import '../types/StepLabelType.js';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../types/StepHistoryDataType.js';
|
|
17
|
+
import '../types/LabelRunModeType.js';
|
|
18
|
+
import '../types/LabelIdType.js';
|
|
19
19
|
import '../classes/DialogueBaseModel.js';
|
|
20
20
|
import '../classes/CharacterBaseModel.js';
|
|
21
21
|
import '../classes/StoredClassModel.js';
|
|
@@ -10,12 +10,12 @@ import '../../types/StorageElementType.mjs';
|
|
|
10
10
|
import '../../types/TickerIdType.mjs';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../../classes/ChoiceMenuOptionLabel.mjs';
|
|
13
|
-
import '../../enums/LabelRunModeEnum.mjs';
|
|
14
|
-
import '../../types/LabelIdType.mjs';
|
|
15
13
|
import '../../classes/Label.mjs';
|
|
16
|
-
import '../../types/StepHistoryDataType.mjs';
|
|
17
14
|
import '../../types/StepLabelType.mjs';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../../types/StepHistoryDataType.mjs';
|
|
17
|
+
import '../../types/LabelRunModeType.mjs';
|
|
18
|
+
import '../../types/LabelIdType.mjs';
|
|
19
19
|
import '../../classes/DialogueBaseModel.mjs';
|
|
20
20
|
import '../../classes/CharacterBaseModel.mjs';
|
|
21
21
|
import '../../classes/StoredClassModel.mjs';
|
|
@@ -10,12 +10,12 @@ import '../../types/StorageElementType.js';
|
|
|
10
10
|
import '../../types/TickerIdType.js';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../../classes/ChoiceMenuOptionLabel.js';
|
|
13
|
-
import '../../enums/LabelRunModeEnum.js';
|
|
14
|
-
import '../../types/LabelIdType.js';
|
|
15
13
|
import '../../classes/Label.js';
|
|
16
|
-
import '../../types/StepHistoryDataType.js';
|
|
17
14
|
import '../../types/StepLabelType.js';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../../types/StepHistoryDataType.js';
|
|
17
|
+
import '../../types/LabelRunModeType.js';
|
|
18
|
+
import '../../types/LabelIdType.js';
|
|
19
19
|
import '../../classes/DialogueBaseModel.js';
|
|
20
20
|
import '../../classes/CharacterBaseModel.js';
|
|
21
21
|
import '../../classes/StoredClassModel.js';
|
|
@@ -10,12 +10,12 @@ import '../../types/TickerIdType.mjs';
|
|
|
10
10
|
import '../IHistoryStep.mjs';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../../classes/ChoiceMenuOptionLabel.mjs';
|
|
13
|
-
import '../../enums/LabelRunModeEnum.mjs';
|
|
14
|
-
import '../../types/LabelIdType.mjs';
|
|
15
13
|
import '../../classes/Label.mjs';
|
|
16
|
-
import '../../types/StepHistoryDataType.mjs';
|
|
17
14
|
import '../../types/StepLabelType.mjs';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../../types/StepHistoryDataType.mjs';
|
|
17
|
+
import '../../types/LabelRunModeType.mjs';
|
|
18
|
+
import '../../types/LabelIdType.mjs';
|
|
19
19
|
import '../../classes/DialogueBaseModel.mjs';
|
|
20
20
|
import '../../classes/CharacterBaseModel.mjs';
|
|
21
21
|
import '../../classes/StoredClassModel.mjs';
|
|
@@ -10,12 +10,12 @@ import '../../types/TickerIdType.js';
|
|
|
10
10
|
import '../IHistoryStep.js';
|
|
11
11
|
import 'deep-diff';
|
|
12
12
|
import '../../classes/ChoiceMenuOptionLabel.js';
|
|
13
|
-
import '../../enums/LabelRunModeEnum.js';
|
|
14
|
-
import '../../types/LabelIdType.js';
|
|
15
13
|
import '../../classes/Label.js';
|
|
16
|
-
import '../../types/StepHistoryDataType.js';
|
|
17
14
|
import '../../types/StepLabelType.js';
|
|
18
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../../types/StepHistoryDataType.js';
|
|
17
|
+
import '../../types/LabelRunModeType.js';
|
|
18
|
+
import '../../types/LabelIdType.js';
|
|
19
19
|
import '../../classes/DialogueBaseModel.js';
|
|
20
20
|
import '../../classes/CharacterBaseModel.js';
|
|
21
21
|
import '../../classes/StoredClassModel.js';
|
|
@@ -9,16 +9,16 @@ export { TickerProgrationType } from './TickerProgrationType.mjs';
|
|
|
9
9
|
import 'pixi.js';
|
|
10
10
|
import '../types/TickerIdType.mjs';
|
|
11
11
|
import '../classes/ChoiceMenuOptionLabel.mjs';
|
|
12
|
-
import '../enums/LabelRunModeEnum.mjs';
|
|
13
|
-
import '../types/LabelIdType.mjs';
|
|
14
12
|
import '../classes/Label.mjs';
|
|
15
|
-
import '../types/
|
|
13
|
+
import '../types/StorageElementType.mjs';
|
|
16
14
|
import '../types/StepLabelType.mjs';
|
|
17
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../types/StepHistoryDataType.mjs';
|
|
17
|
+
import '../types/LabelRunModeType.mjs';
|
|
18
|
+
import '../types/LabelIdType.mjs';
|
|
18
19
|
import '../classes/DialogueBaseModel.mjs';
|
|
19
20
|
import '../classes/CharacterBaseModel.mjs';
|
|
20
21
|
import '../classes/StoredClassModel.mjs';
|
|
21
|
-
import '../types/StorageElementType.mjs';
|
|
22
22
|
import 'deep-diff';
|
|
23
23
|
import './export/ExportedCanvas.mjs';
|
|
24
24
|
import './canvas/ICanvasBaseMemory.mjs';
|
|
@@ -9,16 +9,16 @@ export { TickerProgrationType } from './TickerProgrationType.js';
|
|
|
9
9
|
import 'pixi.js';
|
|
10
10
|
import '../types/TickerIdType.js';
|
|
11
11
|
import '../classes/ChoiceMenuOptionLabel.js';
|
|
12
|
-
import '../enums/LabelRunModeEnum.js';
|
|
13
|
-
import '../types/LabelIdType.js';
|
|
14
12
|
import '../classes/Label.js';
|
|
15
|
-
import '../types/
|
|
13
|
+
import '../types/StorageElementType.js';
|
|
16
14
|
import '../types/StepLabelType.js';
|
|
17
15
|
import '@drincs/pixi-vn/dist/override';
|
|
16
|
+
import '../types/StepHistoryDataType.js';
|
|
17
|
+
import '../types/LabelRunModeType.js';
|
|
18
|
+
import '../types/LabelIdType.js';
|
|
18
19
|
import '../classes/DialogueBaseModel.js';
|
|
19
20
|
import '../classes/CharacterBaseModel.js';
|
|
20
21
|
import '../classes/StoredClassModel.js';
|
|
21
|
-
import '../types/StorageElementType.js';
|
|
22
22
|
import 'deep-diff';
|
|
23
23
|
import './export/ExportedCanvas.js';
|
|
24
24
|
import './canvas/ICanvasBaseMemory.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import CharacterBaseModel from '../classes/CharacterBaseModel.mjs';
|
|
2
|
+
import { StepLabelPropsType, StepLabelResultType } from '../types/StepLabelType.mjs';
|
|
2
3
|
import Label from '../classes/Label.mjs';
|
|
3
4
|
import DialogueBaseModel from '../classes/DialogueBaseModel.mjs';
|
|
4
5
|
import ExportedStep from '../interface/export/ExportedStep.mjs';
|
|
5
6
|
import IHistoryStep from '../interface/IHistoryStep.mjs';
|
|
6
7
|
import IOpenedLabel from '../interface/IOpenedLabel.mjs';
|
|
7
|
-
import { StepLabelPropsType, StepLabelResultType } from '../types/StepLabelType.mjs';
|
|
8
8
|
import '../classes/StoredClassModel.mjs';
|
|
9
|
-
import '../types/StepHistoryDataType.mjs';
|
|
10
9
|
import '@drincs/pixi-vn/dist/override';
|
|
11
10
|
import '../types/StorageElementType.mjs';
|
|
11
|
+
import '../types/StepHistoryDataType.mjs';
|
|
12
12
|
import '../interface/export/ExportedCanvas.mjs';
|
|
13
13
|
import '../interface/canvas/ICanvasBaseMemory.mjs';
|
|
14
14
|
import '../interface/IClassWithArgsHistory.mjs';
|
|
@@ -18,7 +18,7 @@ import '../types/TickerIdType.mjs';
|
|
|
18
18
|
import '../interface/export/ExportedStorage.mjs';
|
|
19
19
|
import 'deep-diff';
|
|
20
20
|
import '../classes/ChoiceMenuOptionLabel.mjs';
|
|
21
|
-
import '../
|
|
21
|
+
import '../types/LabelRunModeType.mjs';
|
|
22
22
|
import '../types/LabelIdType.mjs';
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -137,7 +137,7 @@ declare class GameStepManager {
|
|
|
137
137
|
* })
|
|
138
138
|
* ```
|
|
139
139
|
*/
|
|
140
|
-
static callLabel(label: typeof Label | Label
|
|
140
|
+
static callLabel<T extends {}>(label: typeof Label<T> | Label<T>, props?: StepLabelPropsType<T>): Promise<StepLabelResultType>;
|
|
141
141
|
/**
|
|
142
142
|
* Execute the label, close all labels and add them to the history.
|
|
143
143
|
* Is a jump function in Ren'Py.
|
|
@@ -160,7 +160,7 @@ declare class GameStepManager {
|
|
|
160
160
|
* })
|
|
161
161
|
* ```
|
|
162
162
|
*/
|
|
163
|
-
static jumpLabel(label: typeof Label | Label
|
|
163
|
+
static jumpLabel<T extends {}>(label: typeof Label<T> | Label<T>, props?: StepLabelPropsType<T>): Promise<StepLabelResultType>;
|
|
164
164
|
/**
|
|
165
165
|
* Go back to the last step and add it to the history.
|
|
166
166
|
* @param navigate The navigate function.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import CharacterBaseModel from '../classes/CharacterBaseModel.js';
|
|
2
|
+
import { StepLabelPropsType, StepLabelResultType } from '../types/StepLabelType.js';
|
|
2
3
|
import Label from '../classes/Label.js';
|
|
3
4
|
import DialogueBaseModel from '../classes/DialogueBaseModel.js';
|
|
4
5
|
import ExportedStep from '../interface/export/ExportedStep.js';
|
|
5
6
|
import IHistoryStep from '../interface/IHistoryStep.js';
|
|
6
7
|
import IOpenedLabel from '../interface/IOpenedLabel.js';
|
|
7
|
-
import { StepLabelPropsType, StepLabelResultType } from '../types/StepLabelType.js';
|
|
8
8
|
import '../classes/StoredClassModel.js';
|
|
9
|
-
import '../types/StepHistoryDataType.js';
|
|
10
9
|
import '@drincs/pixi-vn/dist/override';
|
|
11
10
|
import '../types/StorageElementType.js';
|
|
11
|
+
import '../types/StepHistoryDataType.js';
|
|
12
12
|
import '../interface/export/ExportedCanvas.js';
|
|
13
13
|
import '../interface/canvas/ICanvasBaseMemory.js';
|
|
14
14
|
import '../interface/IClassWithArgsHistory.js';
|
|
@@ -18,7 +18,7 @@ import '../types/TickerIdType.js';
|
|
|
18
18
|
import '../interface/export/ExportedStorage.js';
|
|
19
19
|
import 'deep-diff';
|
|
20
20
|
import '../classes/ChoiceMenuOptionLabel.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../types/LabelRunModeType.js';
|
|
22
22
|
import '../types/LabelIdType.js';
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -137,7 +137,7 @@ declare class GameStepManager {
|
|
|
137
137
|
* })
|
|
138
138
|
* ```
|
|
139
139
|
*/
|
|
140
|
-
static callLabel(label: typeof Label | Label
|
|
140
|
+
static callLabel<T extends {}>(label: typeof Label<T> | Label<T>, props?: StepLabelPropsType<T>): Promise<StepLabelResultType>;
|
|
141
141
|
/**
|
|
142
142
|
* Execute the label, close all labels and add them to the history.
|
|
143
143
|
* Is a jump function in Ren'Py.
|
|
@@ -160,7 +160,7 @@ declare class GameStepManager {
|
|
|
160
160
|
* })
|
|
161
161
|
* ```
|
|
162
162
|
*/
|
|
163
|
-
static jumpLabel(label: typeof Label | Label
|
|
163
|
+
static jumpLabel<T extends {}>(label: typeof Label<T> | Label<T>, props?: StepLabelPropsType<T>): Promise<StepLabelResultType>;
|
|
164
164
|
/**
|
|
165
165
|
* Go back to the last step and add it to the history.
|
|
166
166
|
* @param navigate The navigate function.
|