@dcl-regenesislabs/bevy-explorer-web 0.1.0-22898575835.commit-fffc516 → 0.1.0-22916989928.commit-566a6af
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/.env +1 -1
- package/engine.js +2 -1
- package/index.html +1 -1
- package/package.json +3 -3
- package/pkg/manifest.json +1 -1
- package/pkg/webgpu_build.d.ts +18 -9
- package/pkg/webgpu_build.js +82 -55
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +11 -9
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22916989928.commit-566a6af"
|
package/engine.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Engine logic - ES module
|
|
2
2
|
// Handles WASM/WebGPU initialization and game execution
|
|
3
3
|
|
|
4
|
-
import init, { engine_init, engine_run, gpu_cache_hash } from "./pkg/webgpu_build.js";
|
|
4
|
+
import init, { engine_init, engine_run, engine_console_command, gpu_cache_hash } from "./pkg/webgpu_build.js";
|
|
5
5
|
import { initGpuCache } from "./gpu_cache.js";
|
|
6
6
|
|
|
7
7
|
// Re-export for main.js
|
|
@@ -261,5 +261,6 @@ export function start() {
|
|
|
261
261
|
})();
|
|
262
262
|
|
|
263
263
|
engine_run(platform, realmValue, positionValue, systemScene, true, preview, 1e7);
|
|
264
|
+
window.engine_console_command = engine_console_command;
|
|
264
265
|
setTimeout(showCanvas,200)
|
|
265
266
|
}
|
package/index.html
CHANGED
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
}
|
|
412
412
|
</style>
|
|
413
413
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
414
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
414
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22916989928.commit-566a6af";</script>
|
|
415
415
|
</head>
|
|
416
416
|
<body>
|
|
417
417
|
<div id="header" class="container">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-22916989928.commit-566a6af",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22916989928.commit-566a6af",
|
|
12
|
+
"commit": "566a6af8ac491e7238abe74c55dd0f43fb275904"
|
|
13
13
|
}
|
package/pkg/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wasmSize":
|
|
1
|
+
{"wasmSize":115664013}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
export function init_asset_load_thread(): void;
|
|
7
7
|
export function engine_init(): Promise<any>;
|
|
8
8
|
export function engine_run(platform: string, realm: string, location: string, system_scene: string, with_thread_loader: boolean, preview: boolean, rabpf: number): void;
|
|
9
|
+
/**
|
|
10
|
+
* Send a console command to the engine from JavaScript.
|
|
11
|
+
* `command_line` is the full command string, e.g. `"/teleport 10 20"`.
|
|
12
|
+
* Returns a Promise that resolves with the command output or rejects with an error message.
|
|
13
|
+
*/
|
|
14
|
+
export function engine_console_command(command_line: string): Promise<any>;
|
|
9
15
|
export function image_processor_init(): void;
|
|
10
16
|
export function image_processor_run(): Promise<void>;
|
|
11
17
|
export function wasm_init_scene(): Promise<WorkerContext>;
|
|
@@ -71,6 +77,7 @@ export function op_set_setting(state: WorkerContext, name: string, val: number):
|
|
|
71
77
|
export function op_get_user_data(state: WorkerContext): Promise<any>;
|
|
72
78
|
export function op_get_player_data(state: WorkerContext, id: string): Promise<any>;
|
|
73
79
|
export function op_move_player_to(op_state: WorkerContext, position: any, camera_target: any, avatar_target: any, duration?: number | null): Promise<boolean>;
|
|
80
|
+
export function op_walk_player_to(op_state: WorkerContext, position: any, stop_threshold: number, timeout?: number | null): Promise<boolean>;
|
|
74
81
|
export function op_teleport_to(state: WorkerContext, position_x: number, position_y: number): Promise<boolean>;
|
|
75
82
|
export function op_change_realm(state: WorkerContext, realm: string, message?: string | null): Promise<boolean>;
|
|
76
83
|
export function op_external_url(state: WorkerContext, url: string): Promise<boolean>;
|
|
@@ -151,6 +158,7 @@ export class WorkerContext {
|
|
|
151
158
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
152
159
|
|
|
153
160
|
export interface InitOutput {
|
|
161
|
+
readonly engine_console_command: (a: number, b: number) => any;
|
|
154
162
|
readonly engine_init: () => any;
|
|
155
163
|
readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
156
164
|
readonly init_asset_load_thread: () => void;
|
|
@@ -261,6 +269,7 @@ export interface InitOutput {
|
|
|
261
269
|
readonly op_testing_enabled: (a: number) => number;
|
|
262
270
|
readonly op_ui_focus: (a: number, b: number, c: number, d: number) => any;
|
|
263
271
|
readonly op_unsubscribe: (a: number, b: number, c: number) => void;
|
|
272
|
+
readonly op_walk_player_to: (a: number, b: any, c: number, d: number) => any;
|
|
264
273
|
readonly op_webstorage_clear: (a: number) => void;
|
|
265
274
|
readonly op_webstorage_get: (a: number, b: number, c: number) => [number, number];
|
|
266
275
|
readonly op_webstorage_has: (a: number, b: number, c: number) => number;
|
|
@@ -283,20 +292,20 @@ export interface InitOutput {
|
|
|
283
292
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
284
293
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
285
294
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
288
|
-
readonly
|
|
295
|
+
readonly closure15285_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
296
|
+
readonly closure42105_externref_shim: (a: number, b: number, c: any) => void;
|
|
297
|
+
readonly closure51616_externref_shim: (a: number, b: number, c: any) => void;
|
|
289
298
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
290
299
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
291
|
-
readonly
|
|
300
|
+
readonly closure55270_externref_shim: (a: number, b: number, c: any) => void;
|
|
292
301
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
293
302
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
303
|
+
readonly closure60350_externref_shim: (a: number, b: number, c: any) => void;
|
|
304
|
+
readonly closure60354_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
296
305
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
297
|
-
readonly
|
|
298
|
-
readonly
|
|
299
|
-
readonly
|
|
306
|
+
readonly closure120315_externref_shim: (a: number, b: number, c: any) => void;
|
|
307
|
+
readonly closure135571_externref_shim: (a: number, b: number, c: any) => void;
|
|
308
|
+
readonly closure138464_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
300
309
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
301
310
|
readonly __wbindgen_start: (a: number) => void;
|
|
302
311
|
}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -274,6 +274,20 @@ export function engine_run(platform, realm, location, system_scene, with_thread_
|
|
|
274
274
|
wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, with_thread_loader, preview, rabpf);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Send a console command to the engine from JavaScript.
|
|
279
|
+
* `command_line` is the full command string, e.g. `"/teleport 10 20"`.
|
|
280
|
+
* Returns a Promise that resolves with the command output or rejects with an error message.
|
|
281
|
+
* @param {string} command_line
|
|
282
|
+
* @returns {Promise<any>}
|
|
283
|
+
*/
|
|
284
|
+
export function engine_console_command(command_line) {
|
|
285
|
+
const ptr0 = passStringToWasm0(command_line, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
286
|
+
const len0 = WASM_VECTOR_LEN;
|
|
287
|
+
const ret = wasm.engine_console_command(ptr0, len0);
|
|
288
|
+
return ret;
|
|
289
|
+
}
|
|
290
|
+
|
|
277
291
|
export function image_processor_init() {
|
|
278
292
|
wasm.image_processor_init();
|
|
279
293
|
}
|
|
@@ -1039,6 +1053,19 @@ export function op_move_player_to(op_state, position, camera_target, avatar_targ
|
|
|
1039
1053
|
return ret;
|
|
1040
1054
|
}
|
|
1041
1055
|
|
|
1056
|
+
/**
|
|
1057
|
+
* @param {WorkerContext} op_state
|
|
1058
|
+
* @param {any} position
|
|
1059
|
+
* @param {number} stop_threshold
|
|
1060
|
+
* @param {number | null} [timeout]
|
|
1061
|
+
* @returns {Promise<boolean>}
|
|
1062
|
+
*/
|
|
1063
|
+
export function op_walk_player_to(op_state, position, stop_threshold, timeout) {
|
|
1064
|
+
_assertClass(op_state, WorkerContext);
|
|
1065
|
+
const ret = wasm.op_walk_player_to(op_state.__wbg_ptr, position, stop_threshold, isLikeNone(timeout) ? 0x100000001 : Math.fround(timeout));
|
|
1066
|
+
return ret;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1042
1069
|
/**
|
|
1043
1070
|
* @param {WorkerContext} state
|
|
1044
1071
|
* @param {number} position_x
|
|
@@ -1445,15 +1472,15 @@ export function gpu_cache_hash() {
|
|
|
1445
1472
|
}
|
|
1446
1473
|
|
|
1447
1474
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1448
|
-
wasm.
|
|
1475
|
+
wasm.closure15285_externref_shim(arg0, arg1, arg2, arg3);
|
|
1449
1476
|
}
|
|
1450
1477
|
|
|
1451
1478
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1452
|
-
wasm.
|
|
1479
|
+
wasm.closure42105_externref_shim(arg0, arg1, arg2);
|
|
1453
1480
|
}
|
|
1454
1481
|
|
|
1455
1482
|
function __wbg_adapter_68(arg0, arg1, arg2) {
|
|
1456
|
-
wasm.
|
|
1483
|
+
wasm.closure51616_externref_shim(arg0, arg1, arg2);
|
|
1457
1484
|
}
|
|
1458
1485
|
|
|
1459
1486
|
function __wbg_adapter_71(arg0, arg1) {
|
|
@@ -1465,7 +1492,7 @@ function __wbg_adapter_74(arg0, arg1) {
|
|
|
1465
1492
|
}
|
|
1466
1493
|
|
|
1467
1494
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
1468
|
-
wasm.
|
|
1495
|
+
wasm.closure55270_externref_shim(arg0, arg1, arg2);
|
|
1469
1496
|
}
|
|
1470
1497
|
|
|
1471
1498
|
function __wbg_adapter_84(arg0, arg1) {
|
|
@@ -1477,11 +1504,11 @@ function __wbg_adapter_87(arg0, arg1) {
|
|
|
1477
1504
|
}
|
|
1478
1505
|
|
|
1479
1506
|
function __wbg_adapter_90(arg0, arg1, arg2) {
|
|
1480
|
-
wasm.
|
|
1507
|
+
wasm.closure60350_externref_shim(arg0, arg1, arg2);
|
|
1481
1508
|
}
|
|
1482
1509
|
|
|
1483
1510
|
function __wbg_adapter_93(arg0, arg1, arg2, arg3) {
|
|
1484
|
-
wasm.
|
|
1511
|
+
wasm.closure60354_externref_shim(arg0, arg1, arg2, arg3);
|
|
1485
1512
|
}
|
|
1486
1513
|
|
|
1487
1514
|
function __wbg_adapter_108(arg0, arg1) {
|
|
@@ -1489,15 +1516,15 @@ function __wbg_adapter_108(arg0, arg1) {
|
|
|
1489
1516
|
}
|
|
1490
1517
|
|
|
1491
1518
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1492
|
-
wasm.
|
|
1519
|
+
wasm.closure120315_externref_shim(arg0, arg1, arg2);
|
|
1493
1520
|
}
|
|
1494
1521
|
|
|
1495
1522
|
function __wbg_adapter_114(arg0, arg1, arg2) {
|
|
1496
|
-
wasm.
|
|
1523
|
+
wasm.closure135571_externref_shim(arg0, arg1, arg2);
|
|
1497
1524
|
}
|
|
1498
1525
|
|
|
1499
|
-
function
|
|
1500
|
-
wasm.
|
|
1526
|
+
function __wbg_adapter_1591(arg0, arg1, arg2, arg3) {
|
|
1527
|
+
wasm.closure138464_externref_shim(arg0, arg1, arg2, arg3);
|
|
1501
1528
|
}
|
|
1502
1529
|
|
|
1503
1530
|
/**
|
|
@@ -3046,7 +3073,7 @@ function __wbg_get_imports() {
|
|
|
3046
3073
|
const a = state0.a;
|
|
3047
3074
|
state0.a = 0;
|
|
3048
3075
|
try {
|
|
3049
|
-
return
|
|
3076
|
+
return __wbg_adapter_1591(a, state0.b, arg0, arg1);
|
|
3050
3077
|
} finally {
|
|
3051
3078
|
state0.a = a;
|
|
3052
3079
|
}
|
|
@@ -4647,92 +4674,92 @@ function __wbg_get_imports() {
|
|
|
4647
4674
|
const ret = false;
|
|
4648
4675
|
return ret;
|
|
4649
4676
|
};
|
|
4650
|
-
imports.wbg.
|
|
4651
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4677
|
+
imports.wbg.__wbindgen_closure_wrapper151999 = function(arg0, arg1, arg2) {
|
|
4678
|
+
const ret = makeMutClosure(arg0, arg1, 120316, __wbg_adapter_111);
|
|
4652
4679
|
return ret;
|
|
4653
4680
|
};
|
|
4654
|
-
imports.wbg.
|
|
4655
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4681
|
+
imports.wbg.__wbindgen_closure_wrapper172654 = function(arg0, arg1, arg2) {
|
|
4682
|
+
const ret = makeMutClosure(arg0, arg1, 135572, __wbg_adapter_114);
|
|
4656
4683
|
return ret;
|
|
4657
4684
|
};
|
|
4658
|
-
imports.wbg.
|
|
4659
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4685
|
+
imports.wbg.__wbindgen_closure_wrapper172656 = function(arg0, arg1, arg2) {
|
|
4686
|
+
const ret = makeMutClosure(arg0, arg1, 135572, __wbg_adapter_114);
|
|
4660
4687
|
return ret;
|
|
4661
4688
|
};
|
|
4662
|
-
imports.wbg.
|
|
4663
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4689
|
+
imports.wbg.__wbindgen_closure_wrapper19574 = function(arg0, arg1, arg2) {
|
|
4690
|
+
const ret = makeMutClosure(arg0, arg1, 15286, __wbg_adapter_62);
|
|
4664
4691
|
return ret;
|
|
4665
4692
|
};
|
|
4666
|
-
imports.wbg.
|
|
4667
|
-
const ret = makeClosure(arg0, arg1,
|
|
4693
|
+
imports.wbg.__wbindgen_closure_wrapper54985 = function(arg0, arg1, arg2) {
|
|
4694
|
+
const ret = makeClosure(arg0, arg1, 42106, __wbg_adapter_65);
|
|
4668
4695
|
return ret;
|
|
4669
4696
|
};
|
|
4670
|
-
imports.wbg.
|
|
4671
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4697
|
+
imports.wbg.__wbindgen_closure_wrapper67877 = function(arg0, arg1, arg2) {
|
|
4698
|
+
const ret = makeMutClosure(arg0, arg1, 51617, __wbg_adapter_68);
|
|
4672
4699
|
return ret;
|
|
4673
4700
|
};
|
|
4674
|
-
imports.wbg.
|
|
4675
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4701
|
+
imports.wbg.__wbindgen_closure_wrapper68016 = function(arg0, arg1, arg2) {
|
|
4702
|
+
const ret = makeMutClosure(arg0, arg1, 51720, __wbg_adapter_71);
|
|
4676
4703
|
return ret;
|
|
4677
4704
|
};
|
|
4678
|
-
imports.wbg.
|
|
4679
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4705
|
+
imports.wbg.__wbindgen_closure_wrapper71836 = function(arg0, arg1, arg2) {
|
|
4706
|
+
const ret = makeMutClosure(arg0, arg1, 54657, __wbg_adapter_74);
|
|
4680
4707
|
return ret;
|
|
4681
4708
|
};
|
|
4682
|
-
imports.wbg.
|
|
4683
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4709
|
+
imports.wbg.__wbindgen_closure_wrapper73034 = function(arg0, arg1, arg2) {
|
|
4710
|
+
const ret = makeMutClosure(arg0, arg1, 55271, __wbg_adapter_77);
|
|
4684
4711
|
return ret;
|
|
4685
4712
|
};
|
|
4686
|
-
imports.wbg.
|
|
4687
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4713
|
+
imports.wbg.__wbindgen_closure_wrapper73036 = function(arg0, arg1, arg2) {
|
|
4714
|
+
const ret = makeMutClosure(arg0, arg1, 55271, __wbg_adapter_77);
|
|
4688
4715
|
return ret;
|
|
4689
4716
|
};
|
|
4690
|
-
imports.wbg.
|
|
4691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4717
|
+
imports.wbg.__wbindgen_closure_wrapper73038 = function(arg0, arg1, arg2) {
|
|
4718
|
+
const ret = makeMutClosure(arg0, arg1, 55271, __wbg_adapter_77);
|
|
4692
4719
|
return ret;
|
|
4693
4720
|
};
|
|
4694
|
-
imports.wbg.
|
|
4695
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4721
|
+
imports.wbg.__wbindgen_closure_wrapper77609 = function(arg0, arg1, arg2) {
|
|
4722
|
+
const ret = makeMutClosure(arg0, arg1, 58505, __wbg_adapter_84);
|
|
4696
4723
|
return ret;
|
|
4697
4724
|
};
|
|
4698
|
-
imports.wbg.
|
|
4699
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4725
|
+
imports.wbg.__wbindgen_closure_wrapper78646 = function(arg0, arg1, arg2) {
|
|
4726
|
+
const ret = makeMutClosure(arg0, arg1, 58886, __wbg_adapter_87);
|
|
4700
4727
|
return ret;
|
|
4701
4728
|
};
|
|
4702
|
-
imports.wbg.
|
|
4703
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4729
|
+
imports.wbg.__wbindgen_closure_wrapper80805 = function(arg0, arg1, arg2) {
|
|
4730
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4704
4731
|
return ret;
|
|
4705
4732
|
};
|
|
4706
|
-
imports.wbg.
|
|
4707
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4733
|
+
imports.wbg.__wbindgen_closure_wrapper80807 = function(arg0, arg1, arg2) {
|
|
4734
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_93);
|
|
4708
4735
|
return ret;
|
|
4709
4736
|
};
|
|
4710
|
-
imports.wbg.
|
|
4711
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4737
|
+
imports.wbg.__wbindgen_closure_wrapper80809 = function(arg0, arg1, arg2) {
|
|
4738
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4712
4739
|
return ret;
|
|
4713
4740
|
};
|
|
4714
|
-
imports.wbg.
|
|
4715
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4741
|
+
imports.wbg.__wbindgen_closure_wrapper80811 = function(arg0, arg1, arg2) {
|
|
4742
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4716
4743
|
return ret;
|
|
4717
4744
|
};
|
|
4718
|
-
imports.wbg.
|
|
4719
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4745
|
+
imports.wbg.__wbindgen_closure_wrapper80813 = function(arg0, arg1, arg2) {
|
|
4746
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4720
4747
|
return ret;
|
|
4721
4748
|
};
|
|
4722
|
-
imports.wbg.
|
|
4723
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4749
|
+
imports.wbg.__wbindgen_closure_wrapper80815 = function(arg0, arg1, arg2) {
|
|
4750
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4724
4751
|
return ret;
|
|
4725
4752
|
};
|
|
4726
|
-
imports.wbg.
|
|
4727
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4753
|
+
imports.wbg.__wbindgen_closure_wrapper80817 = function(arg0, arg1, arg2) {
|
|
4754
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4728
4755
|
return ret;
|
|
4729
4756
|
};
|
|
4730
|
-
imports.wbg.
|
|
4731
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4757
|
+
imports.wbg.__wbindgen_closure_wrapper80819 = function(arg0, arg1, arg2) {
|
|
4758
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_90);
|
|
4732
4759
|
return ret;
|
|
4733
4760
|
};
|
|
4734
|
-
imports.wbg.
|
|
4735
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4761
|
+
imports.wbg.__wbindgen_closure_wrapper80821 = function(arg0, arg1, arg2) {
|
|
4762
|
+
const ret = makeMutClosure(arg0, arg1, 60351, __wbg_adapter_108);
|
|
4736
4763
|
return ret;
|
|
4737
4764
|
};
|
|
4738
4765
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export const engine_console_command: (a: number, b: number) => any;
|
|
3
4
|
export const engine_init: () => any;
|
|
4
5
|
export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
5
6
|
export const init_asset_load_thread: () => void;
|
|
@@ -110,6 +111,7 @@ export const op_teleport_to: (a: number, b: number, c: number) => any;
|
|
|
110
111
|
export const op_testing_enabled: (a: number) => number;
|
|
111
112
|
export const op_ui_focus: (a: number, b: number, c: number, d: number) => any;
|
|
112
113
|
export const op_unsubscribe: (a: number, b: number, c: number) => void;
|
|
114
|
+
export const op_walk_player_to: (a: number, b: any, c: number, d: number) => any;
|
|
113
115
|
export const op_webstorage_clear: (a: number) => void;
|
|
114
116
|
export const op_webstorage_get: (a: number, b: number, c: number) => [number, number];
|
|
115
117
|
export const op_webstorage_has: (a: number, b: number, c: number) => number;
|
|
@@ -132,19 +134,19 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
132
134
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
133
135
|
export const __externref_table_dealloc: (a: number) => void;
|
|
134
136
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
135
|
-
export const
|
|
136
|
-
export const
|
|
137
|
-
export const
|
|
137
|
+
export const closure15285_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
138
|
+
export const closure42105_externref_shim: (a: number, b: number, c: any) => void;
|
|
139
|
+
export const closure51616_externref_shim: (a: number, b: number, c: any) => void;
|
|
138
140
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
139
141
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
140
|
-
export const
|
|
142
|
+
export const closure55270_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
143
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
142
144
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
143
|
-
export const
|
|
144
|
-
export const
|
|
145
|
+
export const closure60350_externref_shim: (a: number, b: number, c: any) => void;
|
|
146
|
+
export const closure60354_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
145
147
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
146
|
-
export const
|
|
147
|
-
export const
|
|
148
|
-
export const
|
|
148
|
+
export const closure120315_externref_shim: (a: number, b: number, c: any) => void;
|
|
149
|
+
export const closure135571_externref_shim: (a: number, b: number, c: any) => void;
|
|
150
|
+
export const closure138464_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
149
151
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
150
152
|
export const __wbindgen_start: (a: number) => void;
|