@wwawing/common-interface 4.0.2 → 4.0.4
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/lib/wwa_data.d.ts +10 -2
- package/lib/wwa_data.js +7 -1
- package/lib/wwa_picture.d.ts +1 -1
- package/package.json +2 -2
package/lib/wwa_data.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ type PictureRegistryBase<N> = {
|
|
|
16
16
|
imgPosY2: number;
|
|
17
17
|
triggerPartsX: number;
|
|
18
18
|
triggerPartsY: number;
|
|
19
|
-
soundNumber: number;
|
|
19
|
+
soundNumber: number | string;
|
|
20
20
|
properties: PictureProperties<N>;
|
|
21
21
|
};
|
|
22
22
|
export type PictureRegistry = PictureRegistryBase<number>;
|
|
@@ -63,7 +63,7 @@ export interface WWAData {
|
|
|
63
63
|
compatibleForOldMapFlag: boolean;
|
|
64
64
|
objectNoCollapseDefaultFlag: boolean;
|
|
65
65
|
delPlayerFlag: boolean;
|
|
66
|
-
bgm: number;
|
|
66
|
+
bgm: number | string;
|
|
67
67
|
effectCoords: Coord[];
|
|
68
68
|
effectWaits: number;
|
|
69
69
|
imgStatusEnergyX: number;
|
|
@@ -115,5 +115,13 @@ export interface WWAData {
|
|
|
115
115
|
bgmDelayDurationMs: number;
|
|
116
116
|
customSystemMessages: Partial<Record<Key, string>>;
|
|
117
117
|
pictureRegistry: PictureRegistry[];
|
|
118
|
+
decisionSound?: number | string;
|
|
119
|
+
attackSound?: number | string;
|
|
120
|
+
}
|
|
121
|
+
export declare enum SystemSound {
|
|
122
|
+
DECISION = 1,
|
|
123
|
+
ATTACK = 3,
|
|
124
|
+
BGM_LB = 70,
|
|
125
|
+
NO_SOUND = 99
|
|
118
126
|
}
|
|
119
127
|
export {};
|
package/lib/wwa_data.js
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var SystemSound;
|
|
2
|
+
(function (SystemSound) {
|
|
3
|
+
SystemSound[SystemSound["DECISION"] = 1] = "DECISION";
|
|
4
|
+
SystemSound[SystemSound["ATTACK"] = 3] = "ATTACK";
|
|
5
|
+
SystemSound[SystemSound["BGM_LB"] = 70] = "BGM_LB";
|
|
6
|
+
SystemSound[SystemSound["NO_SOUND"] = 99] = "NO_SOUND";
|
|
7
|
+
})(SystemSound || (SystemSound = {}));
|
package/lib/wwa_picture.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/common-interface",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"node": ">=24",
|
|
30
30
|
"npm": ">=11"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "37ecfd382f21db043f8241a21ffa76501828d867"
|
|
33
33
|
}
|