@wwawing/engine 3.9.0-beta.0 → 3.9.0-beta.3
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/debug/make-debug-pages.ts +5 -0
- package/lib/json_api_client/index.d.ts +12 -0
- package/lib/wwa.js +3 -3
- package/lib/wwa_data.d.ts +11 -8
- package/lib/wwa_inject_html.d.ts +1 -1
- package/lib/wwa_main.d.ts +9 -6
- package/lib/wwa_message.d.ts +5 -0
- package/lib/wwa_password_window.d.ts +2 -0
- package/lib/wwa_save/WWASaveDataDBList.d.ts +0 -3
- package/lib/wwa_sound.d.ts +24 -0
- package/lib/wwa_symbol_parser/index.d.ts +5 -0
- package/lib/wwa_symbol_parser/parsers.d.ts +14 -0
- package/lib/wwa_symbol_parser/value-assign-operation.d.ts +5 -0
- package/package.json +22 -22
- package/lib/wwa_audio/WWAAudio.d.ts +0 -9
- package/lib/wwa_audio/WWAAudioElement.d.ts +0 -13
- package/lib/wwa_audio/WWAWebAudio.d.ts +0 -18
- package/lib/wwa_audio/index.d.ts +0 -4
- package/lib/wwa_save/WWASaveDataDBListForIE.d.ts +0 -20
|
@@ -57,6 +57,11 @@ function createPlayPageConfig(mapDataName: string, cssName?: string, isClassicMo
|
|
|
57
57
|
userVars: {
|
|
58
58
|
dumpElementId: "vardump",
|
|
59
59
|
canDisplay: true
|
|
60
|
+
},
|
|
61
|
+
virtualPad: {
|
|
62
|
+
enable: true,
|
|
63
|
+
viewportFitEnable: true,
|
|
64
|
+
controllerId: "virtualpad-controller"
|
|
60
65
|
}
|
|
61
66
|
},
|
|
62
67
|
resources: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type JsonResponseErrorKind = "brokenJson" | "httpError" | "connectionError";
|
|
2
|
+
export declare type JsonResponseKind = JsonResponseErrorKind | "data";
|
|
3
|
+
export declare type JsonResponseError<ErrorKind = JsonResponseErrorKind> = {
|
|
4
|
+
kind: ErrorKind;
|
|
5
|
+
errorMessage: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type JsonResponseData = {
|
|
8
|
+
kind: "data";
|
|
9
|
+
data: unknown;
|
|
10
|
+
};
|
|
11
|
+
export declare type JsonResponse<ResponseKind = JsonResponseKind> = JsonResponseError<Exclude<ResponseKind, "data">> | JsonResponseData;
|
|
12
|
+
export declare const fetchJsonFile: (fileName: string) => Promise<JsonResponse>;
|