@drincs/pixi-vn 1.1.2 → 1.2.0
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/canvas/CanvasManager.cjs +1 -1
- package/dist/canvas/CanvasManager.js +1 -1
- package/dist/canvas/CanvasManagerStatic.cjs +1 -1
- package/dist/canvas/CanvasManagerStatic.js +1 -1
- package/dist/canvas/components/Container.cjs +1 -1
- package/dist/canvas/components/Container.js +1 -1
- package/dist/canvas/components/ImageContainer.cjs +1 -1
- package/dist/canvas/components/ImageContainer.js +1 -1
- package/dist/canvas/components/ImageSprite.cjs +2 -2
- package/dist/canvas/components/ImageSprite.js +2 -2
- package/dist/canvas/components/Sprite.cjs +1 -1
- package/dist/canvas/components/Sprite.js +1 -1
- package/dist/canvas/components/Text.cjs +1 -1
- package/dist/canvas/components/Text.js +1 -1
- package/dist/canvas/components/VideoSprite.cjs +2 -2
- package/dist/canvas/components/VideoSprite.js +2 -2
- package/dist/canvas/decorators/canvas-element-decorator.cjs +1 -1
- package/dist/canvas/decorators/canvas-element-decorator.js +1 -1
- package/dist/canvas/decorators/event-decorator.cjs +1 -1
- package/dist/canvas/decorators/event-decorator.js +1 -1
- package/dist/canvas/functions/canvas-effect.cjs +1 -1
- package/dist/canvas/functions/canvas-effect.js +1 -1
- package/dist/canvas/functions/canvas-import-utility.cjs +1 -1
- package/dist/canvas/functions/canvas-import-utility.js +1 -1
- package/dist/canvas/functions/canvas-transition.cjs +1 -1
- package/dist/canvas/functions/canvas-transition.js +1 -1
- package/dist/canvas/functions/image-container-utility.cjs +1 -1
- package/dist/canvas/functions/image-container-utility.js +1 -1
- package/dist/canvas/functions/image-utility.cjs +1 -1
- package/dist/canvas/functions/image-utility.js +1 -1
- package/dist/canvas/functions/video-utility.cjs +1 -1
- package/dist/canvas/functions/video-utility.js +1 -1
- package/dist/canvas/index.cjs +1 -1
- package/dist/canvas/index.js +1 -1
- package/dist/canvas/tickers/classes/TickerBase.cjs +1 -1
- package/dist/canvas/tickers/classes/TickerBase.js +1 -1
- package/dist/canvas/tickers/components/FadeAlphaTicker.cjs +1 -1
- package/dist/canvas/tickers/components/FadeAlphaTicker.js +1 -1
- package/dist/canvas/tickers/components/MoveTicker.cjs +1 -1
- package/dist/canvas/tickers/components/MoveTicker.js +1 -1
- package/dist/canvas/tickers/components/RotateTicker.cjs +1 -1
- package/dist/canvas/tickers/components/RotateTicker.js +1 -1
- package/dist/canvas/tickers/components/ZoomTicker.cjs +1 -1
- package/dist/canvas/tickers/components/ZoomTicker.js +1 -1
- package/dist/canvas/tickers/decorators/ticker-decorator.cjs +1 -1
- package/dist/canvas/tickers/decorators/ticker-decorator.js +1 -1
- package/dist/canvas/tickers/functions/ticker-texture-utility.cjs +1 -1
- package/dist/canvas/tickers/functions/ticker-texture-utility.js +1 -1
- package/dist/canvas/tickers/index.cjs +1 -1
- package/dist/canvas/tickers/index.js +1 -1
- package/dist/character/classes/CharacterBaseModel.cjs +17 -17
- package/dist/character/classes/CharacterBaseModel.js +17 -17
- package/dist/character/classes/CharacterStoredClass.cjs +16 -16
- package/dist/character/classes/CharacterStoredClass.js +16 -16
- package/dist/character/decorators/character-decorator.cjs +1 -1
- package/dist/character/decorators/character-decorator.js +1 -1
- package/dist/character/index.cjs +16 -16
- package/dist/character/index.js +16 -16
- package/dist/classes/CachedMap.cjs +1 -1
- package/dist/classes/CachedMap.d.cts +1 -1
- package/dist/classes/CachedMap.d.ts +1 -1
- package/dist/classes/CachedMap.js +1 -1
- package/dist/classes/index.cjs +1 -1
- package/dist/classes/index.js +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +5 -1
- package/dist/constants.d.ts +5 -1
- package/dist/constants.js +1 -1
- package/dist/history/HistoryManager.cjs +2 -2
- package/dist/history/HistoryManager.d.cts +24 -13
- package/dist/history/HistoryManager.d.ts +24 -13
- package/dist/history/HistoryManager.js +2 -2
- package/dist/history/HistoryManagerStatic.cjs +1 -1
- package/dist/history/HistoryManagerStatic.d.cts +9 -8
- package/dist/history/HistoryManagerStatic.d.ts +9 -8
- package/dist/history/HistoryManagerStatic.js +1 -1
- package/dist/history/index.cjs +2 -2
- package/dist/history/index.d.cts +4 -2
- package/dist/history/index.d.ts +4 -2
- package/dist/history/index.js +2 -2
- package/dist/history/interfaces/HistoryManagerInterface.d.cts +54 -11
- package/dist/history/interfaces/HistoryManagerInterface.d.ts +54 -11
- package/dist/{index-CWhYJ7yq.d.ts → index-CvpVN1rC.d.ts} +3 -3
- package/dist/{index-CVn6zVij.d.cts → index-DCnX_VPi.d.cts} +3 -3
- package/dist/index.cjs +73 -73
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +73 -73
- package/dist/narration/NarrationManager.cjs +16 -16
- package/dist/narration/NarrationManager.d.cts +1 -1
- package/dist/narration/NarrationManager.d.ts +1 -1
- package/dist/narration/NarrationManager.js +16 -16
- package/dist/narration/NarrationManagerStatic.cjs +1 -1
- package/dist/narration/NarrationManagerStatic.js +1 -1
- package/dist/narration/classes/ChoiceMenuOption.cjs +1 -1
- package/dist/narration/classes/ChoiceMenuOption.js +1 -1
- package/dist/narration/decorators/RegisteredLabels.cjs +1 -1
- package/dist/narration/decorators/RegisteredLabels.js +1 -1
- package/dist/narration/decorators/newLabel.cjs +1 -1
- package/dist/narration/decorators/newLabel.js +1 -1
- package/dist/narration/index.cjs +17 -17
- package/dist/narration/index.d.cts +2 -2
- package/dist/narration/index.d.ts +2 -2
- package/dist/narration/index.js +17 -17
- package/dist/narration/interfaces/HistoryStep.d.cts +5 -5
- package/dist/narration/interfaces/HistoryStep.d.ts +5 -5
- package/dist/narration/interfaces/{NarrativeHistory.d.cts → NarrationHistory.d.cts} +2 -2
- package/dist/narration/interfaces/{NarrativeHistory.d.ts → NarrationHistory.d.ts} +2 -2
- package/dist/narration/interfaces/NarrationManagerInterface.d.cts +1 -1
- package/dist/narration/interfaces/NarrationManagerInterface.d.ts +1 -1
- package/dist/pixi-devtools/additionalPositionsProperties.cjs +1 -1
- package/dist/pixi-devtools/additionalPositionsProperties.js +1 -1
- package/dist/pixi-vn.d.d.cts +44 -1
- package/dist/pixi-vn.d.d.ts +44 -1
- package/dist/storage/StorageManager.cjs +1 -1
- package/dist/storage/StorageManager.js +1 -1
- package/dist/storage/StorageManagerStatic.cjs +1 -1
- package/dist/storage/StorageManagerStatic.js +1 -1
- package/dist/storage/classes/StoredClassModel.cjs +1 -1
- package/dist/storage/classes/StoredClassModel.js +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/utils/diff-utility.d.cts +2 -2
- package/dist/utils/diff-utility.d.ts +2 -2
- package/package.json +3 -3
- /package/dist/narration/interfaces/{NarrativeHistory.cjs → NarrationHistory.cjs} +0 -0
- /package/dist/narration/interfaces/{NarrativeHistory.js → NarrationHistory.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GameStepState } from '@drincs/pixi-vn';
|
|
2
|
-
import
|
|
2
|
+
import deepDiff__default from 'deep-diff';
|
|
3
3
|
import { Difference } from 'microdiff';
|
|
4
4
|
import { StorageElementType } from '../../storage/types/StorageElementType.cjs';
|
|
5
5
|
import StoredChoiceInterface from './StoredChoiceInterface.cjs';
|
|
@@ -25,7 +25,7 @@ interface HistoryStep {
|
|
|
25
25
|
/**
|
|
26
26
|
* The difference between the previous step and the current step.
|
|
27
27
|
*/
|
|
28
|
-
diff?:
|
|
28
|
+
diff?: deepDiff__default.Diff<GameStepState, GameStepState>[] | Difference[];
|
|
29
29
|
/**
|
|
30
30
|
* The label id of the current step.
|
|
31
31
|
*/
|
|
@@ -35,7 +35,7 @@ interface HistoryStep {
|
|
|
35
35
|
*/
|
|
36
36
|
stepSha1: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Equivalent to the narration.stepCounter
|
|
39
39
|
*/
|
|
40
40
|
index: number;
|
|
41
41
|
/**
|
|
@@ -67,9 +67,9 @@ interface HistoryStep {
|
|
|
67
67
|
*/
|
|
68
68
|
choiceIndexMade?: number;
|
|
69
69
|
/**
|
|
70
|
-
* If true, the
|
|
70
|
+
* If true, the current dialogue will be glued to the previous one.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
isGlued?: boolean;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export { AdditionalShaSpetsEnum, type HistoryStep as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GameStepState } from '@drincs/pixi-vn';
|
|
2
|
-
import
|
|
2
|
+
import deepDiff__default from 'deep-diff';
|
|
3
3
|
import { Difference } from 'microdiff';
|
|
4
4
|
import { StorageElementType } from '../../storage/types/StorageElementType.js';
|
|
5
5
|
import StoredChoiceInterface from './StoredChoiceInterface.js';
|
|
@@ -25,7 +25,7 @@ interface HistoryStep {
|
|
|
25
25
|
/**
|
|
26
26
|
* The difference between the previous step and the current step.
|
|
27
27
|
*/
|
|
28
|
-
diff?:
|
|
28
|
+
diff?: deepDiff__default.Diff<GameStepState, GameStepState>[] | Difference[];
|
|
29
29
|
/**
|
|
30
30
|
* The label id of the current step.
|
|
31
31
|
*/
|
|
@@ -35,7 +35,7 @@ interface HistoryStep {
|
|
|
35
35
|
*/
|
|
36
36
|
stepSha1: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Equivalent to the narration.stepCounter
|
|
39
39
|
*/
|
|
40
40
|
index: number;
|
|
41
41
|
/**
|
|
@@ -67,9 +67,9 @@ interface HistoryStep {
|
|
|
67
67
|
*/
|
|
68
68
|
choiceIndexMade?: number;
|
|
69
69
|
/**
|
|
70
|
-
* If true, the
|
|
70
|
+
* If true, the current dialogue will be glued to the previous one.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
isGlued?: boolean;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export { AdditionalShaSpetsEnum, type HistoryStep as default };
|
|
@@ -5,7 +5,7 @@ import '@drincs/pixi-vn';
|
|
|
5
5
|
import '../types/CloseType.cjs';
|
|
6
6
|
import '../types/LabelRunModeType.cjs';
|
|
7
7
|
|
|
8
|
-
interface
|
|
8
|
+
interface NarrationHistory {
|
|
9
9
|
/**
|
|
10
10
|
* Dialogue to be shown in the game
|
|
11
11
|
*/
|
|
@@ -28,4 +28,4 @@ interface NarrativeHistory {
|
|
|
28
28
|
inputValue?: StorageElementType;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export type {
|
|
31
|
+
export type { NarrationHistory as default };
|
|
@@ -5,7 +5,7 @@ import '@drincs/pixi-vn';
|
|
|
5
5
|
import '../types/CloseType.js';
|
|
6
6
|
import '../types/LabelRunModeType.js';
|
|
7
7
|
|
|
8
|
-
interface
|
|
8
|
+
interface NarrationHistory {
|
|
9
9
|
/**
|
|
10
10
|
* Dialogue to be shown in the game
|
|
11
11
|
*/
|
|
@@ -28,4 +28,4 @@ interface NarrativeHistory {
|
|
|
28
28
|
inputValue?: StorageElementType;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export type {
|
|
31
|
+
export type { NarrationHistory as default };
|
|
@@ -284,7 +284,7 @@ interface NarrationManagerInterface {
|
|
|
284
284
|
* Restore the narration from an object.
|
|
285
285
|
* @param data The narration in an object.
|
|
286
286
|
*/
|
|
287
|
-
restore(data: object, lastHistoryStep: HistoryStep | null): Promise<void>;
|
|
287
|
+
restore(data: object, lastHistoryStep: Omit<HistoryStep, "diff"> | null): Promise<void>;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export type { NarrationManagerInterface as default };
|
|
@@ -284,7 +284,7 @@ interface NarrationManagerInterface {
|
|
|
284
284
|
* Restore the narration from an object.
|
|
285
285
|
* @param data The narration in an object.
|
|
286
286
|
*/
|
|
287
|
-
restore(data: object, lastHistoryStep: HistoryStep | null): Promise<void>;
|
|
287
|
+
restore(data: object, lastHistoryStep: Omit<HistoryStep, "diff"> | null): Promise<void>;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export type { NarrationManagerInterface as default };
|