@drincs/pixi-vn 1.2.21 → 1.2.23
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/index.cjs +5 -5
- package/dist/canvas/index.d.cts +1 -1
- package/dist/canvas/index.d.ts +1 -1
- package/dist/canvas/index.mjs +5 -5
- package/dist/canvas/tickers/index.cjs +5 -5
- package/dist/canvas/tickers/index.mjs +5 -5
- package/dist/character/index.cjs +4 -4
- package/dist/character/index.mjs +4 -4
- package/dist/history/index.cjs +1 -2
- package/dist/history/index.mjs +1 -2
- package/dist/{index-zWjaeuZw.d.cts → index-BhqocQcj.d.cts} +10 -22
- package/dist/{index-D2ndtj53.d.ts → index-Bju40pxd.d.ts} +10 -22
- package/dist/index.cjs +159 -159
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +159 -159
- package/dist/narration/index.cjs +4 -4
- package/dist/narration/index.mjs +4 -4
- package/dist/sound/index.cjs +4 -4
- package/dist/sound/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,8 +5,8 @@ export { Assets, ContainerOptions, Rectangle, Texture, TextureSourceLike, Ticker
|
|
|
5
5
|
import { S as SoundManager, s as soundUtils } from './index-DZ1shoNp.cjs';
|
|
6
6
|
export { b as Sound, c as SoundManagerStatic, a as sound } from './index-DZ1shoNp.cjs';
|
|
7
7
|
export { AssetSrc, AssetsBundle, AssetsManifest, LoadParserName, ResolvedAsset, ResolvedSrc, UnresolvedAsset } from 'pixi.js/lib/assets/types';
|
|
8
|
-
import { C as CanvasManagerInterface, c as canvasUtils } from './index-
|
|
9
|
-
export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-
|
|
8
|
+
import { C as CanvasManagerInterface, c as canvasUtils } from './index-BhqocQcj.cjs';
|
|
9
|
+
export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-BhqocQcj.cjs';
|
|
10
10
|
import { c as characterUtils } from './index-DPlLfwK1.cjs';
|
|
11
11
|
export { C as CharacterBaseModel, d as CharacterInterface, a as CharacterStoredClass, R as RegisteredCharacters, g as getAllCharacters, b as getCharacterById, s as saveCharacter } from './index-DPlLfwK1.cjs';
|
|
12
12
|
export { CachedMap } from './classes/index.cjs';
|
|
@@ -39,7 +39,7 @@ import 'lru-cache';
|
|
|
39
39
|
import 'deep-diff';
|
|
40
40
|
import 'microdiff';
|
|
41
41
|
|
|
42
|
-
var version = "1.2.
|
|
42
|
+
var version = "1.2.23";
|
|
43
43
|
|
|
44
44
|
declare const Repeat: RepeatType;
|
|
45
45
|
/**
|
|
@@ -360,7 +360,7 @@ declare namespace Game {
|
|
|
360
360
|
* @param data The save data
|
|
361
361
|
* @param navigate The function to navigate to a path
|
|
362
362
|
*/
|
|
363
|
-
function restoreGameState(data: GameState, navigate: (path: string) => void): Promise<void>;
|
|
363
|
+
function restoreGameState(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
364
364
|
/**
|
|
365
365
|
* Convert a JSON string to a save data
|
|
366
366
|
* @param json The JSON string
|
|
@@ -480,11 +480,11 @@ declare function getSaveJson(): string;
|
|
|
480
480
|
/**
|
|
481
481
|
* @deprecated Use the `Game.restoreGameState(data, navigate)` function instead
|
|
482
482
|
*/
|
|
483
|
-
declare function loadSaveData(data: GameState, navigate: (path: string) => void): Promise<void>;
|
|
483
|
+
declare function loadSaveData(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
484
484
|
/**
|
|
485
485
|
* @deprecated Use the `Game.restoreGameState(JSON.parse(dataString) as GameState, navigate)` function instead
|
|
486
486
|
*/
|
|
487
|
-
declare function loadSaveJson(dataString: string, navigate: (path: string) => void): Promise<void>;
|
|
487
|
+
declare function loadSaveJson(dataString: string, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
488
488
|
/**
|
|
489
489
|
* @deprecated Use the `Game.jsonToGameState(json)` function instead
|
|
490
490
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { Assets, ContainerOptions, Rectangle, Texture, TextureSourceLike, Ticker
|
|
|
5
5
|
import { S as SoundManager, s as soundUtils } from './index-Czfdktw9.js';
|
|
6
6
|
export { b as Sound, c as SoundManagerStatic, a as sound } from './index-Czfdktw9.js';
|
|
7
7
|
export { AssetSrc, AssetsBundle, AssetsManifest, LoadParserName, ResolvedAsset, ResolvedSrc, UnresolvedAsset } from 'pixi.js/lib/assets/types';
|
|
8
|
-
import { C as CanvasManagerInterface, c as canvasUtils } from './index-
|
|
9
|
-
export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-
|
|
8
|
+
import { C as CanvasManagerInterface, c as canvasUtils } from './index-Bju40pxd.js';
|
|
9
|
+
export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from './index-Bju40pxd.js';
|
|
10
10
|
import { c as characterUtils } from './index-BWzZWl0z.js';
|
|
11
11
|
export { C as CharacterBaseModel, d as CharacterInterface, a as CharacterStoredClass, R as RegisteredCharacters, g as getAllCharacters, b as getCharacterById, s as saveCharacter } from './index-BWzZWl0z.js';
|
|
12
12
|
export { CachedMap } from './classes/index.js';
|
|
@@ -39,7 +39,7 @@ import 'lru-cache';
|
|
|
39
39
|
import 'deep-diff';
|
|
40
40
|
import 'microdiff';
|
|
41
41
|
|
|
42
|
-
var version = "1.2.
|
|
42
|
+
var version = "1.2.23";
|
|
43
43
|
|
|
44
44
|
declare const Repeat: RepeatType;
|
|
45
45
|
/**
|
|
@@ -360,7 +360,7 @@ declare namespace Game {
|
|
|
360
360
|
* @param data The save data
|
|
361
361
|
* @param navigate The function to navigate to a path
|
|
362
362
|
*/
|
|
363
|
-
function restoreGameState(data: GameState, navigate: (path: string) => void): Promise<void>;
|
|
363
|
+
function restoreGameState(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
364
364
|
/**
|
|
365
365
|
* Convert a JSON string to a save data
|
|
366
366
|
* @param json The JSON string
|
|
@@ -480,11 +480,11 @@ declare function getSaveJson(): string;
|
|
|
480
480
|
/**
|
|
481
481
|
* @deprecated Use the `Game.restoreGameState(data, navigate)` function instead
|
|
482
482
|
*/
|
|
483
|
-
declare function loadSaveData(data: GameState, navigate: (path: string) => void): Promise<void>;
|
|
483
|
+
declare function loadSaveData(data: GameState, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
484
484
|
/**
|
|
485
485
|
* @deprecated Use the `Game.restoreGameState(JSON.parse(dataString) as GameState, navigate)` function instead
|
|
486
486
|
*/
|
|
487
|
-
declare function loadSaveJson(dataString: string, navigate: (path: string) => void): Promise<void>;
|
|
487
|
+
declare function loadSaveJson(dataString: string, navigate: (path: string) => void | Promise<void>): Promise<void>;
|
|
488
488
|
/**
|
|
489
489
|
* @deprecated Use the `Game.jsonToGameState(json)` function instead
|
|
490
490
|
*/
|