@dcl-regenesislabs/bevy-explorer-web 0.1.0-21361803035.commit-2c0a584 → 0.1.0-21394940294.commit-7449e4c

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 CHANGED
@@ -1 +1 @@
1
- PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21361803035.commit-2c0a584"
1
+ PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21394940294.commit-7449e4c"
package/gpu_cache.js CHANGED
@@ -134,13 +134,13 @@ async function storeInstance(type, hash, value) {
134
134
  });
135
135
  }
136
136
 
137
- export async function initGpuCache(key) {
137
+ export async function initGpuCache(key, fakeAsync) {
138
138
  console.log(`[GPU Cache] key: ${key}`);
139
- patchWebgpuAdater();
139
+ patchWebgpuAdapter(fakeAsync);
140
140
  await createGpuCache(key);
141
141
  }
142
142
 
143
- function patchWebgpuAdater() {
143
+ function patchWebgpuAdapter(fakeAsync) {
144
144
  const originalRequestDevice = GPUAdapter.prototype.requestDevice;
145
145
  GPUAdapter.prototype.requestDevice = async function (descriptor) {
146
146
  const jsonDescriptor = JSON.stringify(descriptor || {});
@@ -208,10 +208,69 @@ function patchWebgpuAdater() {
208
208
  "layout",
209
209
  device.createPipelineLayout
210
210
  );
211
- device.createRenderPipeline = wrapDeviceFunction(
212
- "pipeline",
213
- device.createRenderPipeline
214
- );
211
+ if (fakeAsync) {
212
+ device.createRenderPipeline = wrapDeviceFunction(
213
+ "pipeline",
214
+ device.createRenderPipeline
215
+ );
216
+ } else {
217
+ let inline_function = wrapDeviceFunction("pipeline", device.createRenderPipeline);
218
+
219
+ window.pendingAsyncPipelineCount = 0;
220
+ window.lastPipelineWasValidFlag = false;
221
+ window.wgpuResolveIdle = [];
222
+ const itemType = "pipeline";
223
+ const placeholderPipeline = getPlaceholder(device);
224
+
225
+ device.createRenderPipeline = (...args) => {
226
+ const jsonArgs = JSON.stringify(args);
227
+ const hash = simpleHash(jsonArgs);
228
+ const cachedItem = gpuSessionState[itemType].get(hash);
229
+ if (cachedItem !== undefined) {
230
+ window.nextPipelineCanFail = false;
231
+ window.lastPipelineWasValidFlag = true;
232
+ return cachedItem;
233
+ }
234
+
235
+ console.log(`[GPU Cache] (async) no cached ${itemType} for ${hash}`);
236
+
237
+ if (!window.nextPipelineCanFail) {
238
+ return inline_function.apply(device, args);
239
+ }
240
+ document.getElementById("shader-compiling").style.display = "flex";
241
+ window.nextPipelineCanFail = false;
242
+ window.lastPipelineWasValidFlag = false;
243
+ window.pendingAsyncPipelineCount++;
244
+
245
+ const promise = device.createRenderPipelineAsync(args[0]).then(async (item) => {
246
+ item.__gpu_item_type = itemType;
247
+ item.__gpu_hash = hash;
248
+ gpuSessionState[itemType].set(hash, item);
249
+ window.pendingAsyncPipelineCount--;
250
+
251
+ if (!requiredItemTypes.has(itemType)) {
252
+ requiredItemTypes.set(itemType, new Set());
253
+ }
254
+ const requiredItems = requiredItemTypes.get(itemType);
255
+ if (!requiredItems.has(hash)) {
256
+ requiredItems.add(hash);
257
+ await storeRequiredItems();
258
+ await storeInstance(itemType, hash, args);
259
+ }
260
+
261
+ if (window.pendingAsyncPipelineCount === 0) {
262
+ while (window.wgpuResolveIdle.length > 0) {
263
+ window.wgpuResolveIdle.pop()();
264
+ }
265
+ document.getElementById("shader-compiling").style.display = "none";
266
+ }
267
+
268
+ return item;
269
+ })
270
+
271
+ return placeholderPipeline;
272
+ }
273
+ }
215
274
 
216
275
  return device;
217
276
  };
@@ -316,23 +375,38 @@ function rehydrateItem(currentObject) {
316
375
  }
317
376
  }
318
377
 
319
- window.shaderCompilerWait = async () => {
320
- count += 1;
321
- document.getElementById("shader-compiling").style.display = "flex";
322
- await new Promise(resolve => {
323
- setTimeout(resolve, 0);
378
+ function getPlaceholder(device) {
379
+ // create a trivial shader and pipeline
380
+ const module = device.createShaderModule({
381
+ code: `
382
+ @vertex fn vs_main() -> @builtin(position) vec4f { return vec4f(0.0, 0.0, 0.0, 1.0); }
383
+ @fragment fn fs_main() -> @location(0) vec4f { return vec4f(0.0, 1.0, 0.0, 1.0); }
384
+ `
324
385
  });
325
- }
326
386
 
327
- window.shaderCompilerDone = async () => {
328
- setTimeout(() => {
329
- count -= 1;
330
- if (count == 0) {
331
- document.getElementById("shader-compiling").style.display = "none";
332
- }
333
- }, 500);
334
- await new Promise(resolve => {
335
- setTimeout(resolve, 0);
387
+ return device.createRenderPipeline({
388
+ layout: device.createPipelineLayout({
389
+ bindGroupLayouts: []
390
+ }),
391
+ vertex: { module, entryPoint: 'vs_main' },
392
+ fragment: { module, entryPoint: 'fs_main', targets: [{ format: 'bgra8unorm' }] }, // Adjust format if needed
393
+ primitive: { topology: 'triangle-list' }
336
394
  });
337
395
  }
338
396
 
397
+ window.allowADummyPipeline = function() {
398
+ window.nextPipelineCanFail = true;
399
+ }
400
+
401
+ window.lastPipelineWasValid = function() {
402
+ return window.lastPipelineWasValidFlag;
403
+ }
404
+
405
+ window.waitForPipelines = function() {
406
+ if (window.pendingAsyncPipelineCount === 0) {
407
+ return Promise.resolve();
408
+ }
409
+ return new Promise((resolve) => {
410
+ window.wgpuResolveIdle.push(resolve);
411
+ });
412
+ };
package/index.html CHANGED
@@ -101,7 +101,7 @@
101
101
  }
102
102
  </style>
103
103
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
104
- <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21361803035.commit-2c0a584";</script>
104
+ <script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21394940294.commit-7449e4c";</script>
105
105
  </head>
106
106
  <body>
107
107
  <div id="header" class="container">
@@ -138,6 +138,6 @@
138
138
  </div>
139
139
  <script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
140
140
  <script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
141
- <script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21361803035.commit-2c0a584/main.js"></script>
141
+ <script type="module" src="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21394940294.commit-7449e4c/main.js"></script>
142
142
  </body>
143
143
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl-regenesislabs/bevy-explorer-web",
3
- "version": "0.1.0-21361803035.commit-2c0a584",
3
+ "version": "0.1.0-21394940294.commit-7449e4c",
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-21361803035.commit-2c0a584",
12
- "commit": "2c0a584b41fde562acd5cc66491e8364d16c0814"
11
+ "homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-21394940294.commit-7449e4c",
12
+ "commit": "7449e4c101a25ff88411e9ed0f4d58f9a20779d1"
13
13
  }
@@ -34,6 +34,7 @@ export function op_get_mic_state(state: WorkerContext): Promise<any>;
34
34
  export function op_set_mic_enabled(state: WorkerContext, enabled: boolean): Promise<void>;
35
35
  export function op_get_voice_stream(state: WorkerContext): Promise<number>;
36
36
  export function op_read_voice_stream(state: WorkerContext, rid: number): Promise<any>;
37
+ export function op_get_scene_loading_ui_stream(state: WorkerContext): Promise<number>;
37
38
  export function op_read_chat_stream(state: WorkerContext, rid: number): Promise<any>;
38
39
  export function op_send_chat(state: WorkerContext, message: string, channel: string): void;
39
40
  export function op_get_profile_extras(state: WorkerContext): Promise<any>;
@@ -43,6 +44,7 @@ export function op_read_permission_request_stream(state: WorkerContext, rid: num
43
44
  export function op_get_permission_used_stream(state: WorkerContext): Promise<number>;
44
45
  export function op_read_permission_used_stream(state: WorkerContext, rid: number): Promise<any>;
45
46
  export function op_set_single_permission(state: WorkerContext, id: number, allow: boolean): void;
47
+ export function op_read_scene_loading_ui_stream(state: WorkerContext, rid: number): Promise<any>;
46
48
  export function op_motd(state: WorkerContext): Promise<string>;
47
49
  export function op_get_current_login(state: WorkerContext): string | undefined;
48
50
  export function op_get_previous_login(state: WorkerContext): Promise<string | undefined>;
@@ -234,6 +236,7 @@ export interface InitOutput {
234
236
  readonly op_get_players_in_scene: (a: number) => any;
235
237
  readonly op_get_previous_login: (a: number) => any;
236
238
  readonly op_get_profile_extras: (a: number) => any;
239
+ readonly op_get_scene_loading_ui_stream: (a: number) => any;
237
240
  readonly op_get_system_action_stream: (a: number) => any;
238
241
  readonly op_get_texture_size: (a: number, b: number, c: number) => any;
239
242
  readonly op_get_user_data: (a: number) => any;
@@ -260,6 +263,7 @@ export interface InitOutput {
260
263
  readonly op_read_file: (a: number, b: number, c: number) => any;
261
264
  readonly op_read_permission_request_stream: (a: number, b: number) => any;
262
265
  readonly op_read_permission_used_stream: (a: number, b: number) => any;
266
+ readonly op_read_scene_loading_ui_stream: (a: number, b: number) => any;
263
267
  readonly op_read_system_action_stream: (a: number, b: number) => any;
264
268
  readonly op_read_voice_stream: (a: number, b: number) => any;
265
269
  readonly op_realm_information: (a: number) => any;
@@ -305,20 +309,20 @@ export interface InitOutput {
305
309
  readonly __wbindgen_export_7: WebAssembly.Table;
306
310
  readonly __externref_table_dealloc: (a: number) => void;
307
311
  readonly __externref_drop_slice: (a: number, b: number) => void;
308
- readonly closure15481_externref_shim: (a: number, b: number, c: number, d: any) => void;
309
- readonly closure41077_externref_shim: (a: number, b: number, c: any) => void;
310
- readonly closure50203_externref_shim: (a: number, b: number, c: any) => void;
312
+ readonly closure15507_externref_shim: (a: number, b: number, c: number, d: any) => void;
313
+ readonly closure41103_externref_shim: (a: number, b: number, c: any) => void;
314
+ readonly closure50238_externref_shim: (a: number, b: number, c: any) => void;
311
315
  readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
312
316
  readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
313
- readonly closure53857_externref_shim: (a: number, b: number, c: any) => void;
317
+ readonly closure53892_externref_shim: (a: number, b: number, c: any) => void;
314
318
  readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
315
319
  readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
316
- readonly closure58927_externref_shim: (a: number, b: number, c: any) => void;
317
- readonly closure58931_externref_shim: (a: number, b: number, c: any, d: any) => void;
320
+ readonly closure58962_externref_shim: (a: number, b: number, c: any) => void;
321
+ readonly closure58966_externref_shim: (a: number, b: number, c: any, d: any) => void;
318
322
  readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
319
- readonly closure118884_externref_shim: (a: number, b: number, c: any) => void;
320
- readonly closure134147_externref_shim: (a: number, b: number, c: any) => void;
321
- readonly closure137040_externref_shim: (a: number, b: number, c: any, d: any) => void;
323
+ readonly closure118917_externref_shim: (a: number, b: number, c: any) => void;
324
+ readonly closure134180_externref_shim: (a: number, b: number, c: any) => void;
325
+ readonly closure137073_externref_shim: (a: number, b: number, c: any, d: any) => void;
322
326
  readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
323
327
  readonly __wbindgen_start: (a: number) => void;
324
328
  }
@@ -622,6 +622,16 @@ export function op_read_voice_stream(state, rid) {
622
622
  return ret;
623
623
  }
624
624
 
625
+ /**
626
+ * @param {WorkerContext} state
627
+ * @returns {Promise<number>}
628
+ */
629
+ export function op_get_scene_loading_ui_stream(state) {
630
+ _assertClass(state, WorkerContext);
631
+ const ret = wasm.op_get_scene_loading_ui_stream(state.__wbg_ptr);
632
+ return ret;
633
+ }
634
+
625
635
  /**
626
636
  * @param {WorkerContext} state
627
637
  * @param {number} rid
@@ -717,6 +727,17 @@ export function op_set_single_permission(state, id, allow) {
717
727
  wasm.op_set_single_permission(state.__wbg_ptr, id, allow);
718
728
  }
719
729
 
730
+ /**
731
+ * @param {WorkerContext} state
732
+ * @param {number} rid
733
+ * @returns {Promise<any>}
734
+ */
735
+ export function op_read_scene_loading_ui_stream(state, rid) {
736
+ _assertClass(state, WorkerContext);
737
+ const ret = wasm.op_read_scene_loading_ui_stream(state.__wbg_ptr, rid);
738
+ return ret;
739
+ }
740
+
720
741
  /**
721
742
  * @param {WorkerContext} state
722
743
  * @returns {Promise<string>}
@@ -1389,15 +1410,15 @@ export function gpu_cache_hash() {
1389
1410
  }
1390
1411
 
1391
1412
  function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
1392
- wasm.closure15481_externref_shim(arg0, arg1, arg2, arg3);
1413
+ wasm.closure15507_externref_shim(arg0, arg1, arg2, arg3);
1393
1414
  }
1394
1415
 
1395
1416
  function __wbg_adapter_65(arg0, arg1, arg2) {
1396
- wasm.closure41077_externref_shim(arg0, arg1, arg2);
1417
+ wasm.closure41103_externref_shim(arg0, arg1, arg2);
1397
1418
  }
1398
1419
 
1399
1420
  function __wbg_adapter_68(arg0, arg1, arg2) {
1400
- wasm.closure50203_externref_shim(arg0, arg1, arg2);
1421
+ wasm.closure50238_externref_shim(arg0, arg1, arg2);
1401
1422
  }
1402
1423
 
1403
1424
  function __wbg_adapter_71(arg0, arg1) {
@@ -1409,7 +1430,7 @@ function __wbg_adapter_74(arg0, arg1) {
1409
1430
  }
1410
1431
 
1411
1432
  function __wbg_adapter_77(arg0, arg1, arg2) {
1412
- wasm.closure53857_externref_shim(arg0, arg1, arg2);
1433
+ wasm.closure53892_externref_shim(arg0, arg1, arg2);
1413
1434
  }
1414
1435
 
1415
1436
  function __wbg_adapter_84(arg0, arg1) {
@@ -1421,11 +1442,11 @@ function __wbg_adapter_87(arg0, arg1) {
1421
1442
  }
1422
1443
 
1423
1444
  function __wbg_adapter_90(arg0, arg1, arg2) {
1424
- wasm.closure58927_externref_shim(arg0, arg1, arg2);
1445
+ wasm.closure58962_externref_shim(arg0, arg1, arg2);
1425
1446
  }
1426
1447
 
1427
1448
  function __wbg_adapter_93(arg0, arg1, arg2, arg3) {
1428
- wasm.closure58931_externref_shim(arg0, arg1, arg2, arg3);
1449
+ wasm.closure58966_externref_shim(arg0, arg1, arg2, arg3);
1429
1450
  }
1430
1451
 
1431
1452
  function __wbg_adapter_108(arg0, arg1) {
@@ -1433,15 +1454,15 @@ function __wbg_adapter_108(arg0, arg1) {
1433
1454
  }
1434
1455
 
1435
1456
  function __wbg_adapter_111(arg0, arg1, arg2) {
1436
- wasm.closure118884_externref_shim(arg0, arg1, arg2);
1457
+ wasm.closure118917_externref_shim(arg0, arg1, arg2);
1437
1458
  }
1438
1459
 
1439
1460
  function __wbg_adapter_114(arg0, arg1, arg2) {
1440
- wasm.closure134147_externref_shim(arg0, arg1, arg2);
1461
+ wasm.closure134180_externref_shim(arg0, arg1, arg2);
1441
1462
  }
1442
1463
 
1443
- function __wbg_adapter_1589(arg0, arg1, arg2, arg3) {
1444
- wasm.closure137040_externref_shim(arg0, arg1, arg2, arg3);
1464
+ function __wbg_adapter_1593(arg0, arg1, arg2, arg3) {
1465
+ wasm.closure137073_externref_shim(arg0, arg1, arg2, arg3);
1445
1466
  }
1446
1467
 
1447
1468
  /**
@@ -1961,6 +1982,9 @@ function __wbg_get_imports() {
1961
1982
  imports.wbg.__wbg_addListener_2982bb811b6385c5 = function() { return handleError(function (arg0, arg1) {
1962
1983
  arg0.addListener(arg1);
1963
1984
  }, arguments) };
1985
+ imports.wbg.__wbg_allowADummyPipeline_21c11b8794de379f = function() {
1986
+ window.allowADummyPipeline();
1987
+ };
1964
1988
  imports.wbg.__wbg_altKey_c33c03aed82e4275 = function(arg0) {
1965
1989
  const ret = arg0.altKey;
1966
1990
  return ret;
@@ -2821,6 +2845,10 @@ function __wbg_get_imports() {
2821
2845
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2822
2846
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2823
2847
  };
2848
+ imports.wbg.__wbg_lastPipelineWasValid_0c4a6a9a0eb24190 = function() {
2849
+ const ret = window.lastPipelineWasValid();
2850
+ return ret;
2851
+ };
2824
2852
  imports.wbg.__wbg_length_3b4f022188ae8db6 = function(arg0) {
2825
2853
  const ret = arg0.length;
2826
2854
  return ret;
@@ -3138,7 +3166,7 @@ function __wbg_get_imports() {
3138
3166
  const a = state0.a;
3139
3167
  state0.a = 0;
3140
3168
  try {
3141
- return __wbg_adapter_1589(a, state0.b, arg0, arg1);
3169
+ return __wbg_adapter_1593(a, state0.b, arg0, arg1);
3142
3170
  } finally {
3143
3171
  state0.a = a;
3144
3172
  }
@@ -4406,14 +4434,6 @@ function __wbg_get_imports() {
4406
4434
  imports.wbg.__wbg_setz_5389d800d9ef03b4 = function(arg0, arg1) {
4407
4435
  arg0.z = arg1 >>> 0;
4408
4436
  };
4409
- imports.wbg.__wbg_shaderCompilerDone_78f162d4848e1b54 = function() {
4410
- const ret = window.shaderCompilerDone();
4411
- return ret;
4412
- };
4413
- imports.wbg.__wbg_shaderCompilerWait_f6e57a7a3b8eee5b = function() {
4414
- const ret = window.shaderCompilerWait();
4415
- return ret;
4416
- };
4417
4437
  imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) {
4418
4438
  const ret = arg0.shiftKey;
4419
4439
  return ret;
@@ -4656,6 +4676,10 @@ function __wbg_get_imports() {
4656
4676
  const ret = Atomics.waitAsync;
4657
4677
  return ret;
4658
4678
  };
4679
+ imports.wbg.__wbg_waitForPipelines_15f709835dca518a = function() {
4680
+ const ret = window.waitForPipelines();
4681
+ return ret;
4682
+ };
4659
4683
  imports.wbg.__wbg_wasClean_605b4fd66d44354a = function(arg0) {
4660
4684
  const ret = arg0.wasClean;
4661
4685
  return ret;
@@ -4743,92 +4767,92 @@ function __wbg_get_imports() {
4743
4767
  const ret = false;
4744
4768
  return ret;
4745
4769
  };
4746
- imports.wbg.__wbindgen_closure_wrapper150344 = function(arg0, arg1, arg2) {
4747
- const ret = makeMutClosure(arg0, arg1, 118885, __wbg_adapter_111);
4770
+ imports.wbg.__wbindgen_closure_wrapper150388 = function(arg0, arg1, arg2) {
4771
+ const ret = makeMutClosure(arg0, arg1, 118918, __wbg_adapter_111);
4748
4772
  return ret;
4749
4773
  };
4750
- imports.wbg.__wbindgen_closure_wrapper171152 = function(arg0, arg1, arg2) {
4751
- const ret = makeMutClosure(arg0, arg1, 134148, __wbg_adapter_114);
4774
+ imports.wbg.__wbindgen_closure_wrapper171196 = function(arg0, arg1, arg2) {
4775
+ const ret = makeMutClosure(arg0, arg1, 134181, __wbg_adapter_114);
4752
4776
  return ret;
4753
4777
  };
4754
- imports.wbg.__wbindgen_closure_wrapper171154 = function(arg0, arg1, arg2) {
4755
- const ret = makeMutClosure(arg0, arg1, 134148, __wbg_adapter_114);
4778
+ imports.wbg.__wbindgen_closure_wrapper171198 = function(arg0, arg1, arg2) {
4779
+ const ret = makeMutClosure(arg0, arg1, 134181, __wbg_adapter_114);
4756
4780
  return ret;
4757
4781
  };
4758
- imports.wbg.__wbindgen_closure_wrapper19866 = function(arg0, arg1, arg2) {
4759
- const ret = makeMutClosure(arg0, arg1, 15482, __wbg_adapter_62);
4782
+ imports.wbg.__wbindgen_closure_wrapper19899 = function(arg0, arg1, arg2) {
4783
+ const ret = makeMutClosure(arg0, arg1, 15508, __wbg_adapter_62);
4760
4784
  return ret;
4761
4785
  };
4762
- imports.wbg.__wbindgen_closure_wrapper53782 = function(arg0, arg1, arg2) {
4763
- const ret = makeClosure(arg0, arg1, 41078, __wbg_adapter_65);
4786
+ imports.wbg.__wbindgen_closure_wrapper53815 = function(arg0, arg1, arg2) {
4787
+ const ret = makeClosure(arg0, arg1, 41104, __wbg_adapter_65);
4764
4788
  return ret;
4765
4789
  };
4766
- imports.wbg.__wbindgen_closure_wrapper66264 = function(arg0, arg1, arg2) {
4767
- const ret = makeMutClosure(arg0, arg1, 50204, __wbg_adapter_68);
4790
+ imports.wbg.__wbindgen_closure_wrapper66311 = function(arg0, arg1, arg2) {
4791
+ const ret = makeMutClosure(arg0, arg1, 50239, __wbg_adapter_68);
4768
4792
  return ret;
4769
4793
  };
4770
- imports.wbg.__wbindgen_closure_wrapper66403 = function(arg0, arg1, arg2) {
4771
- const ret = makeMutClosure(arg0, arg1, 50307, __wbg_adapter_71);
4794
+ imports.wbg.__wbindgen_closure_wrapper66450 = function(arg0, arg1, arg2) {
4795
+ const ret = makeMutClosure(arg0, arg1, 50342, __wbg_adapter_71);
4772
4796
  return ret;
4773
4797
  };
4774
- imports.wbg.__wbindgen_closure_wrapper70223 = function(arg0, arg1, arg2) {
4775
- const ret = makeMutClosure(arg0, arg1, 53244, __wbg_adapter_74);
4798
+ imports.wbg.__wbindgen_closure_wrapper70272 = function(arg0, arg1, arg2) {
4799
+ const ret = makeMutClosure(arg0, arg1, 53279, __wbg_adapter_74);
4776
4800
  return ret;
4777
4801
  };
4778
- imports.wbg.__wbindgen_closure_wrapper71421 = function(arg0, arg1, arg2) {
4779
- const ret = makeMutClosure(arg0, arg1, 53858, __wbg_adapter_77);
4802
+ imports.wbg.__wbindgen_closure_wrapper71470 = function(arg0, arg1, arg2) {
4803
+ const ret = makeMutClosure(arg0, arg1, 53893, __wbg_adapter_77);
4780
4804
  return ret;
4781
4805
  };
4782
- imports.wbg.__wbindgen_closure_wrapper71423 = function(arg0, arg1, arg2) {
4783
- const ret = makeMutClosure(arg0, arg1, 53858, __wbg_adapter_77);
4806
+ imports.wbg.__wbindgen_closure_wrapper71472 = function(arg0, arg1, arg2) {
4807
+ const ret = makeMutClosure(arg0, arg1, 53893, __wbg_adapter_77);
4784
4808
  return ret;
4785
4809
  };
4786
- imports.wbg.__wbindgen_closure_wrapper71425 = function(arg0, arg1, arg2) {
4787
- const ret = makeMutClosure(arg0, arg1, 53858, __wbg_adapter_77);
4810
+ imports.wbg.__wbindgen_closure_wrapper71474 = function(arg0, arg1, arg2) {
4811
+ const ret = makeMutClosure(arg0, arg1, 53893, __wbg_adapter_77);
4788
4812
  return ret;
4789
4813
  };
4790
- imports.wbg.__wbindgen_closure_wrapper75988 = function(arg0, arg1, arg2) {
4791
- const ret = makeMutClosure(arg0, arg1, 57090, __wbg_adapter_84);
4814
+ imports.wbg.__wbindgen_closure_wrapper76037 = function(arg0, arg1, arg2) {
4815
+ const ret = makeMutClosure(arg0, arg1, 57125, __wbg_adapter_84);
4792
4816
  return ret;
4793
4817
  };
4794
- imports.wbg.__wbindgen_closure_wrapper77023 = function(arg0, arg1, arg2) {
4795
- const ret = makeMutClosure(arg0, arg1, 57471, __wbg_adapter_87);
4818
+ imports.wbg.__wbindgen_closure_wrapper77072 = function(arg0, arg1, arg2) {
4819
+ const ret = makeMutClosure(arg0, arg1, 57506, __wbg_adapter_87);
4796
4820
  return ret;
4797
4821
  };
4798
- imports.wbg.__wbindgen_closure_wrapper79168 = function(arg0, arg1, arg2) {
4799
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4822
+ imports.wbg.__wbindgen_closure_wrapper79217 = function(arg0, arg1, arg2) {
4823
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4800
4824
  return ret;
4801
4825
  };
4802
- imports.wbg.__wbindgen_closure_wrapper79170 = function(arg0, arg1, arg2) {
4803
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_93);
4826
+ imports.wbg.__wbindgen_closure_wrapper79219 = function(arg0, arg1, arg2) {
4827
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_93);
4804
4828
  return ret;
4805
4829
  };
4806
- imports.wbg.__wbindgen_closure_wrapper79172 = function(arg0, arg1, arg2) {
4807
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4830
+ imports.wbg.__wbindgen_closure_wrapper79221 = function(arg0, arg1, arg2) {
4831
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4808
4832
  return ret;
4809
4833
  };
4810
- imports.wbg.__wbindgen_closure_wrapper79174 = function(arg0, arg1, arg2) {
4811
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4834
+ imports.wbg.__wbindgen_closure_wrapper79223 = function(arg0, arg1, arg2) {
4835
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4812
4836
  return ret;
4813
4837
  };
4814
- imports.wbg.__wbindgen_closure_wrapper79176 = function(arg0, arg1, arg2) {
4815
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4838
+ imports.wbg.__wbindgen_closure_wrapper79225 = function(arg0, arg1, arg2) {
4839
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4816
4840
  return ret;
4817
4841
  };
4818
- imports.wbg.__wbindgen_closure_wrapper79178 = function(arg0, arg1, arg2) {
4819
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4842
+ imports.wbg.__wbindgen_closure_wrapper79227 = function(arg0, arg1, arg2) {
4843
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4820
4844
  return ret;
4821
4845
  };
4822
- imports.wbg.__wbindgen_closure_wrapper79180 = function(arg0, arg1, arg2) {
4823
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4846
+ imports.wbg.__wbindgen_closure_wrapper79229 = function(arg0, arg1, arg2) {
4847
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4824
4848
  return ret;
4825
4849
  };
4826
- imports.wbg.__wbindgen_closure_wrapper79182 = function(arg0, arg1, arg2) {
4827
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_90);
4850
+ imports.wbg.__wbindgen_closure_wrapper79231 = function(arg0, arg1, arg2) {
4851
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_90);
4828
4852
  return ret;
4829
4853
  };
4830
- imports.wbg.__wbindgen_closure_wrapper79184 = function(arg0, arg1, arg2) {
4831
- const ret = makeMutClosure(arg0, arg1, 58928, __wbg_adapter_108);
4854
+ imports.wbg.__wbindgen_closure_wrapper79233 = function(arg0, arg1, arg2) {
4855
+ const ret = makeMutClosure(arg0, arg1, 58963, __wbg_adapter_108);
4832
4856
  return ret;
4833
4857
  };
4834
4858
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -73,6 +73,7 @@ export const op_get_player_data: (a: number, b: number, c: number) => any;
73
73
  export const op_get_players_in_scene: (a: number) => any;
74
74
  export const op_get_previous_login: (a: number) => any;
75
75
  export const op_get_profile_extras: (a: number) => any;
76
+ export const op_get_scene_loading_ui_stream: (a: number) => any;
76
77
  export const op_get_system_action_stream: (a: number) => any;
77
78
  export const op_get_texture_size: (a: number, b: number, c: number) => any;
78
79
  export const op_get_user_data: (a: number) => any;
@@ -99,6 +100,7 @@ export const op_read_chat_stream: (a: number, b: number) => any;
99
100
  export const op_read_file: (a: number, b: number, c: number) => any;
100
101
  export const op_read_permission_request_stream: (a: number, b: number) => any;
101
102
  export const op_read_permission_used_stream: (a: number, b: number) => any;
103
+ export const op_read_scene_loading_ui_stream: (a: number, b: number) => any;
102
104
  export const op_read_system_action_stream: (a: number, b: number) => any;
103
105
  export const op_read_voice_stream: (a: number, b: number) => any;
104
106
  export const op_realm_information: (a: number) => any;
@@ -144,19 +146,19 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
144
146
  export const __wbindgen_export_7: WebAssembly.Table;
145
147
  export const __externref_table_dealloc: (a: number) => void;
146
148
  export const __externref_drop_slice: (a: number, b: number) => void;
147
- export const closure15481_externref_shim: (a: number, b: number, c: number, d: any) => void;
148
- export const closure41077_externref_shim: (a: number, b: number, c: any) => void;
149
- export const closure50203_externref_shim: (a: number, b: number, c: any) => void;
149
+ export const closure15507_externref_shim: (a: number, b: number, c: number, d: any) => void;
150
+ export const closure41103_externref_shim: (a: number, b: number, c: any) => void;
151
+ export const closure50238_externref_shim: (a: number, b: number, c: any) => void;
150
152
  export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
151
153
  export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
152
- export const closure53857_externref_shim: (a: number, b: number, c: any) => void;
154
+ export const closure53892_externref_shim: (a: number, b: number, c: any) => void;
153
155
  export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
154
156
  export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
155
- export const closure58927_externref_shim: (a: number, b: number, c: any) => void;
156
- export const closure58931_externref_shim: (a: number, b: number, c: any, d: any) => void;
157
+ export const closure58962_externref_shim: (a: number, b: number, c: any) => void;
158
+ export const closure58966_externref_shim: (a: number, b: number, c: any, d: any) => void;
157
159
  export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
158
- export const closure118884_externref_shim: (a: number, b: number, c: any) => void;
159
- export const closure134147_externref_shim: (a: number, b: number, c: any) => void;
160
- export const closure137040_externref_shim: (a: number, b: number, c: any, d: any) => void;
160
+ export const closure118917_externref_shim: (a: number, b: number, c: any) => void;
161
+ export const closure134180_externref_shim: (a: number, b: number, c: any) => void;
162
+ export const closure137073_externref_shim: (a: number, b: number, c: any, d: any) => void;
161
163
  export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
162
164
  export const __wbindgen_start: (a: number) => void;