@dcl-regenesislabs/bevy-explorer-web 0.1.0-20720051860.commit-d7c194b → 0.1.0-20720065819.commit-7112fce
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/index.html +2 -2
- package/package.json +3 -3
- package/pkg/webgpu_build.d.ts +151 -151
- package/pkg/webgpu_build.js +530 -530
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +88 -88
package/pkg/webgpu_build.js
CHANGED
|
@@ -263,11 +263,90 @@ export function image_processor_run() {
|
|
|
263
263
|
return ret;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
/**
|
|
267
|
+
* @returns {Promise<WorkerContext>}
|
|
268
|
+
*/
|
|
269
|
+
export function wasm_init_scene() {
|
|
270
|
+
const ret = wasm.wasm_init_scene();
|
|
271
|
+
return ret;
|
|
272
|
+
}
|
|
273
|
+
|
|
266
274
|
function _assertClass(instance, klass) {
|
|
267
275
|
if (!(instance instanceof klass)) {
|
|
268
276
|
throw new Error(`expected instance of ${klass.name}`);
|
|
269
277
|
}
|
|
270
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* @param {WorkerContext} state
|
|
281
|
+
* @returns {boolean}
|
|
282
|
+
*/
|
|
283
|
+
export function op_continue_running(state) {
|
|
284
|
+
_assertClass(state, WorkerContext);
|
|
285
|
+
const ret = wasm.op_continue_running(state.__wbg_ptr);
|
|
286
|
+
return ret !== 0;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @param {WorkerContext} state
|
|
291
|
+
* @returns {boolean}
|
|
292
|
+
*/
|
|
293
|
+
export function op_communicated_with_renderer(state) {
|
|
294
|
+
_assertClass(state, WorkerContext);
|
|
295
|
+
const ret = wasm.op_communicated_with_renderer(state.__wbg_ptr);
|
|
296
|
+
return ret !== 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @param {WorkerContext} state
|
|
301
|
+
*/
|
|
302
|
+
export function drop_context(state) {
|
|
303
|
+
_assertClass(state, WorkerContext);
|
|
304
|
+
var ptr0 = state.__destroy_into_raw();
|
|
305
|
+
wasm.drop_context(ptr0);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
function takeFromExternrefTable0(idx) {
|
|
309
|
+
const value = wasm.__wbindgen_export_1.get(idx);
|
|
310
|
+
wasm.__externref_table_dealloc(idx);
|
|
311
|
+
return value;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @param {WorkerContext} state
|
|
315
|
+
* @param {string} path
|
|
316
|
+
* @returns {string}
|
|
317
|
+
*/
|
|
318
|
+
export function builtin_module(state, path) {
|
|
319
|
+
let deferred3_0;
|
|
320
|
+
let deferred3_1;
|
|
321
|
+
try {
|
|
322
|
+
_assertClass(state, WorkerContext);
|
|
323
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
324
|
+
const len0 = WASM_VECTOR_LEN;
|
|
325
|
+
const ret = wasm.builtin_module(state.__wbg_ptr, ptr0, len0);
|
|
326
|
+
var ptr2 = ret[0];
|
|
327
|
+
var len2 = ret[1];
|
|
328
|
+
if (ret[3]) {
|
|
329
|
+
ptr2 = 0; len2 = 0;
|
|
330
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
331
|
+
}
|
|
332
|
+
deferred3_0 = ptr2;
|
|
333
|
+
deferred3_1 = len2;
|
|
334
|
+
return getStringFromWasm0(ptr2, len2);
|
|
335
|
+
} finally {
|
|
336
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @param {WorkerContext} state
|
|
342
|
+
* @returns {boolean}
|
|
343
|
+
*/
|
|
344
|
+
export function is_super(state) {
|
|
345
|
+
_assertClass(state, WorkerContext);
|
|
346
|
+
const ret = wasm.is_super(state.__wbg_ptr);
|
|
347
|
+
return ret !== 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
271
350
|
/**
|
|
272
351
|
* @param {WorkerContext} state
|
|
273
352
|
* @returns {number}
|
|
@@ -382,362 +461,237 @@ export function op_webstorage_has(state, key_name) {
|
|
|
382
461
|
|
|
383
462
|
/**
|
|
384
463
|
* @param {WorkerContext} state
|
|
385
|
-
* @param {string} src
|
|
386
464
|
* @returns {Promise<any>}
|
|
387
465
|
*/
|
|
388
|
-
export function
|
|
466
|
+
export function op_check_for_update(state) {
|
|
389
467
|
_assertClass(state, WorkerContext);
|
|
390
|
-
const
|
|
391
|
-
const len0 = WASM_VECTOR_LEN;
|
|
392
|
-
const ret = wasm.op_get_texture_size(state.__wbg_ptr, ptr0, len0);
|
|
468
|
+
const ret = wasm.op_check_for_update(state.__wbg_ptr);
|
|
393
469
|
return ret;
|
|
394
470
|
}
|
|
395
471
|
|
|
396
472
|
/**
|
|
397
473
|
* @param {WorkerContext} state
|
|
398
|
-
* @
|
|
399
|
-
* @returns {Promise<void>}
|
|
474
|
+
* @returns {Promise<number>}
|
|
400
475
|
*/
|
|
401
|
-
export function
|
|
476
|
+
export function op_get_system_action_stream(state) {
|
|
402
477
|
_assertClass(state, WorkerContext);
|
|
403
|
-
const
|
|
404
|
-
const len0 = WASM_VECTOR_LEN;
|
|
405
|
-
const ret = wasm.op_comms_send_string(state.__wbg_ptr, ptr0, len0);
|
|
478
|
+
const ret = wasm.op_get_system_action_stream(state.__wbg_ptr);
|
|
406
479
|
return ret;
|
|
407
480
|
}
|
|
408
481
|
|
|
409
482
|
/**
|
|
410
483
|
* @param {WorkerContext} state
|
|
411
|
-
* @param {
|
|
412
|
-
* @
|
|
413
|
-
* @returns {Promise<void>}
|
|
484
|
+
* @param {number} rid
|
|
485
|
+
* @returns {Promise<any>}
|
|
414
486
|
*/
|
|
415
|
-
export function
|
|
487
|
+
export function op_read_system_action_stream(state, rid) {
|
|
416
488
|
_assertClass(state, WorkerContext);
|
|
417
|
-
|
|
418
|
-
var len0 = WASM_VECTOR_LEN;
|
|
419
|
-
const ret = wasm.op_comms_send_binary_single(state.__wbg_ptr, message, ptr0, len0);
|
|
489
|
+
const ret = wasm.op_read_system_action_stream(state.__wbg_ptr, rid);
|
|
420
490
|
return ret;
|
|
421
491
|
}
|
|
422
492
|
|
|
423
493
|
/**
|
|
424
494
|
* @param {WorkerContext} state
|
|
425
|
-
* @returns {Promise<
|
|
495
|
+
* @returns {Promise<number>}
|
|
426
496
|
*/
|
|
427
|
-
export function
|
|
497
|
+
export function op_get_chat_stream(state) {
|
|
428
498
|
_assertClass(state, WorkerContext);
|
|
429
|
-
const ret = wasm.
|
|
499
|
+
const ret = wasm.op_get_chat_stream(state.__wbg_ptr);
|
|
430
500
|
return ret;
|
|
431
501
|
}
|
|
432
502
|
|
|
433
503
|
/**
|
|
434
|
-
* @param {WorkerContext}
|
|
435
|
-
* @param {
|
|
504
|
+
* @param {WorkerContext} state
|
|
505
|
+
* @param {string} level
|
|
506
|
+
* @param {string | null | undefined} value
|
|
507
|
+
* @param {any} permission_type
|
|
508
|
+
* @param {any} allow
|
|
436
509
|
*/
|
|
437
|
-
export function
|
|
438
|
-
_assertClass(
|
|
439
|
-
wasm.
|
|
510
|
+
export function op_set_permanent_permission(state, level, value, permission_type, allow) {
|
|
511
|
+
_assertClass(state, WorkerContext);
|
|
512
|
+
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
513
|
+
const len0 = WASM_VECTOR_LEN;
|
|
514
|
+
var ptr1 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
515
|
+
var len1 = WASM_VECTOR_LEN;
|
|
516
|
+
const ret = wasm.op_set_permanent_permission(state.__wbg_ptr, ptr0, len0, ptr1, len1, permission_type, allow);
|
|
517
|
+
if (ret[1]) {
|
|
518
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
519
|
+
}
|
|
440
520
|
}
|
|
441
521
|
|
|
442
522
|
/**
|
|
443
|
-
* @param {WorkerContext}
|
|
523
|
+
* @param {WorkerContext} state
|
|
524
|
+
* @param {string} level
|
|
525
|
+
* @param {string | null} [value]
|
|
444
526
|
* @returns {Promise<Array<any>>}
|
|
445
527
|
*/
|
|
446
|
-
export function
|
|
447
|
-
_assertClass(
|
|
448
|
-
const
|
|
528
|
+
export function op_get_permanent_permissions(state, level, value) {
|
|
529
|
+
_assertClass(state, WorkerContext);
|
|
530
|
+
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
531
|
+
const len0 = WASM_VECTOR_LEN;
|
|
532
|
+
var ptr1 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
533
|
+
var len1 = WASM_VECTOR_LEN;
|
|
534
|
+
const ret = wasm.op_get_permanent_permissions(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
535
|
+
return ret;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @param {WorkerContext} arg0
|
|
540
|
+
* @returns {Array<any>}
|
|
541
|
+
*/
|
|
542
|
+
export function op_get_permission_types(arg0) {
|
|
543
|
+
_assertClass(arg0, WorkerContext);
|
|
544
|
+
const ret = wasm.op_get_permission_types(arg0.__wbg_ptr);
|
|
449
545
|
return ret;
|
|
450
546
|
}
|
|
451
547
|
|
|
452
548
|
/**
|
|
453
549
|
* @param {WorkerContext} state
|
|
454
|
-
* @param {
|
|
455
|
-
* @param {
|
|
456
|
-
* @
|
|
550
|
+
* @param {number} left
|
|
551
|
+
* @param {number} top
|
|
552
|
+
* @param {number} right
|
|
553
|
+
* @param {number} bottom
|
|
457
554
|
*/
|
|
458
|
-
export function
|
|
555
|
+
export function op_set_interactable_area(state, left, top, right, bottom) {
|
|
459
556
|
_assertClass(state, WorkerContext);
|
|
460
|
-
|
|
461
|
-
const len0 = WASM_VECTOR_LEN;
|
|
462
|
-
const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
463
|
-
const len1 = WASM_VECTOR_LEN;
|
|
464
|
-
const ret = wasm.op_send_async(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
465
|
-
return ret;
|
|
557
|
+
wasm.op_set_interactable_area(state.__wbg_ptr, left, top, right, bottom);
|
|
466
558
|
}
|
|
467
559
|
|
|
468
560
|
/**
|
|
469
561
|
* @param {WorkerContext} state
|
|
470
|
-
* @
|
|
562
|
+
* @returns {Promise<any>}
|
|
471
563
|
*/
|
|
472
|
-
export function
|
|
564
|
+
export function op_get_mic_state(state) {
|
|
473
565
|
_assertClass(state, WorkerContext);
|
|
474
|
-
const
|
|
475
|
-
|
|
476
|
-
wasm.op_subscribe(state.__wbg_ptr, ptr0, len0);
|
|
566
|
+
const ret = wasm.op_get_mic_state(state.__wbg_ptr);
|
|
567
|
+
return ret;
|
|
477
568
|
}
|
|
478
569
|
|
|
479
570
|
/**
|
|
480
571
|
* @param {WorkerContext} state
|
|
481
|
-
* @param {
|
|
572
|
+
* @param {boolean} enabled
|
|
573
|
+
* @returns {Promise<void>}
|
|
482
574
|
*/
|
|
483
|
-
export function
|
|
575
|
+
export function op_set_mic_enabled(state, enabled) {
|
|
484
576
|
_assertClass(state, WorkerContext);
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
wasm.op_unsubscribe(state.__wbg_ptr, ptr0, len0);
|
|
577
|
+
const ret = wasm.op_set_mic_enabled(state.__wbg_ptr, enabled);
|
|
578
|
+
return ret;
|
|
488
579
|
}
|
|
489
580
|
|
|
490
581
|
/**
|
|
491
582
|
* @param {WorkerContext} state
|
|
492
|
-
* @returns {
|
|
583
|
+
* @returns {Promise<number>}
|
|
493
584
|
*/
|
|
494
|
-
export function
|
|
585
|
+
export function op_get_voice_stream(state) {
|
|
495
586
|
_assertClass(state, WorkerContext);
|
|
496
|
-
const ret = wasm.
|
|
587
|
+
const ret = wasm.op_get_voice_stream(state.__wbg_ptr);
|
|
497
588
|
return ret;
|
|
498
589
|
}
|
|
499
590
|
|
|
500
591
|
/**
|
|
501
592
|
* @param {WorkerContext} state
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {string | null} [method]
|
|
593
|
+
* @param {number} rid
|
|
504
594
|
* @returns {Promise<any>}
|
|
505
595
|
*/
|
|
506
|
-
export function
|
|
596
|
+
export function op_read_voice_stream(state, rid) {
|
|
507
597
|
_assertClass(state, WorkerContext);
|
|
508
|
-
const
|
|
509
|
-
const len0 = WASM_VECTOR_LEN;
|
|
510
|
-
var ptr1 = isLikeNone(method) ? 0 : passStringToWasm0(method, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
511
|
-
var len1 = WASM_VECTOR_LEN;
|
|
512
|
-
const ret = wasm.op_signed_fetch_headers(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
598
|
+
const ret = wasm.op_read_voice_stream(state.__wbg_ptr, rid);
|
|
513
599
|
return ret;
|
|
514
600
|
}
|
|
515
601
|
|
|
516
602
|
/**
|
|
517
603
|
* @param {WorkerContext} state
|
|
518
|
-
* @
|
|
604
|
+
* @param {number} rid
|
|
605
|
+
* @returns {Promise<any>}
|
|
519
606
|
*/
|
|
520
|
-
export function
|
|
607
|
+
export function op_read_chat_stream(state, rid) {
|
|
521
608
|
_assertClass(state, WorkerContext);
|
|
522
|
-
const ret = wasm.
|
|
609
|
+
const ret = wasm.op_read_chat_stream(state.__wbg_ptr, rid);
|
|
523
610
|
return ret;
|
|
524
611
|
}
|
|
525
612
|
|
|
526
613
|
/**
|
|
527
614
|
* @param {WorkerContext} state
|
|
528
|
-
* @
|
|
615
|
+
* @param {string} message
|
|
616
|
+
* @param {string} channel
|
|
529
617
|
*/
|
|
530
|
-
export function
|
|
618
|
+
export function op_send_chat(state, message, channel) {
|
|
531
619
|
_assertClass(state, WorkerContext);
|
|
532
|
-
const
|
|
533
|
-
|
|
620
|
+
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
621
|
+
const len0 = WASM_VECTOR_LEN;
|
|
622
|
+
const ptr1 = passStringToWasm0(channel, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
623
|
+
const len1 = WASM_VECTOR_LEN;
|
|
624
|
+
wasm.op_send_chat(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
534
625
|
}
|
|
535
626
|
|
|
536
627
|
/**
|
|
537
628
|
* @param {WorkerContext} state
|
|
538
|
-
* @param {string | null} [pid]
|
|
539
|
-
* @param {string | null} [ens]
|
|
540
629
|
* @returns {Promise<any>}
|
|
541
630
|
*/
|
|
542
|
-
export function
|
|
631
|
+
export function op_get_profile_extras(state) {
|
|
543
632
|
_assertClass(state, WorkerContext);
|
|
544
|
-
|
|
545
|
-
var len0 = WASM_VECTOR_LEN;
|
|
546
|
-
var ptr1 = isLikeNone(ens) ? 0 : passStringToWasm0(ens, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
547
|
-
var len1 = WASM_VECTOR_LEN;
|
|
548
|
-
const ret = wasm.op_portable_spawn(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
633
|
+
const ret = wasm.op_get_profile_extras(state.__wbg_ptr);
|
|
549
634
|
return ret;
|
|
550
635
|
}
|
|
551
636
|
|
|
552
637
|
/**
|
|
553
638
|
* @param {WorkerContext} state
|
|
554
|
-
* @param {string} pid
|
|
555
|
-
* @returns {Promise<boolean>}
|
|
556
639
|
*/
|
|
557
|
-
export function
|
|
640
|
+
export function op_quit(state) {
|
|
558
641
|
_assertClass(state, WorkerContext);
|
|
559
|
-
|
|
560
|
-
const len0 = WASM_VECTOR_LEN;
|
|
561
|
-
const ret = wasm.op_portable_kill(state.__wbg_ptr, ptr0, len0);
|
|
562
|
-
return ret;
|
|
642
|
+
wasm.op_quit(state.__wbg_ptr);
|
|
563
643
|
}
|
|
564
644
|
|
|
565
645
|
/**
|
|
566
646
|
* @param {WorkerContext} state
|
|
567
|
-
* @returns {Promise<
|
|
647
|
+
* @returns {Promise<number>}
|
|
568
648
|
*/
|
|
569
|
-
export function
|
|
649
|
+
export function op_get_permission_request_stream(state) {
|
|
570
650
|
_assertClass(state, WorkerContext);
|
|
571
|
-
const ret = wasm.
|
|
651
|
+
const ret = wasm.op_get_permission_request_stream(state.__wbg_ptr);
|
|
572
652
|
return ret;
|
|
573
653
|
}
|
|
574
654
|
|
|
575
|
-
/**
|
|
576
|
-
* @param {WorkerContext} op_state
|
|
577
|
-
* @param {number} position_x
|
|
578
|
-
* @param {number} position_y
|
|
579
|
-
* @param {number} position_z
|
|
580
|
-
* @param {boolean} camera
|
|
581
|
-
* @param {number} maybe_camera_x
|
|
582
|
-
* @param {number} maybe_camera_y
|
|
583
|
-
* @param {number} maybe_camera_z
|
|
584
|
-
* @param {boolean} looking_at
|
|
585
|
-
* @param {number} maybe_looking_at_x
|
|
586
|
-
* @param {number} maybe_looking_at_y
|
|
587
|
-
* @param {number} maybe_looking_at_z
|
|
588
|
-
*/
|
|
589
|
-
export function op_move_player_to(op_state, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z) {
|
|
590
|
-
_assertClass(op_state, WorkerContext);
|
|
591
|
-
wasm.op_move_player_to(op_state.__wbg_ptr, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z);
|
|
592
|
-
}
|
|
593
|
-
|
|
594
655
|
/**
|
|
595
656
|
* @param {WorkerContext} state
|
|
596
|
-
* @param {number}
|
|
597
|
-
* @
|
|
598
|
-
* @returns {Promise<boolean>}
|
|
657
|
+
* @param {number} rid
|
|
658
|
+
* @returns {Promise<any>}
|
|
599
659
|
*/
|
|
600
|
-
export function
|
|
660
|
+
export function op_read_permission_request_stream(state, rid) {
|
|
601
661
|
_assertClass(state, WorkerContext);
|
|
602
|
-
const ret = wasm.
|
|
662
|
+
const ret = wasm.op_read_permission_request_stream(state.__wbg_ptr, rid);
|
|
603
663
|
return ret;
|
|
604
664
|
}
|
|
605
665
|
|
|
606
666
|
/**
|
|
607
667
|
* @param {WorkerContext} state
|
|
608
|
-
* @
|
|
609
|
-
* @param {string | null} [message]
|
|
610
|
-
* @returns {Promise<boolean>}
|
|
668
|
+
* @returns {Promise<number>}
|
|
611
669
|
*/
|
|
612
|
-
export function
|
|
670
|
+
export function op_get_permission_used_stream(state) {
|
|
613
671
|
_assertClass(state, WorkerContext);
|
|
614
|
-
const
|
|
615
|
-
const len0 = WASM_VECTOR_LEN;
|
|
616
|
-
var ptr1 = isLikeNone(message) ? 0 : passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
617
|
-
var len1 = WASM_VECTOR_LEN;
|
|
618
|
-
const ret = wasm.op_change_realm(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
672
|
+
const ret = wasm.op_get_permission_used_stream(state.__wbg_ptr);
|
|
619
673
|
return ret;
|
|
620
674
|
}
|
|
621
675
|
|
|
622
676
|
/**
|
|
623
677
|
* @param {WorkerContext} state
|
|
624
|
-
* @param {
|
|
625
|
-
* @returns {Promise<boolean>}
|
|
626
|
-
*/
|
|
627
|
-
export function op_external_url(state, url) {
|
|
628
|
-
_assertClass(state, WorkerContext);
|
|
629
|
-
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
630
|
-
const len0 = WASM_VECTOR_LEN;
|
|
631
|
-
const ret = wasm.op_external_url(state.__wbg_ptr, ptr0, len0);
|
|
632
|
-
return ret;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* @param {WorkerContext} op_state
|
|
637
|
-
* @param {string} emote
|
|
638
|
-
*/
|
|
639
|
-
export function op_emote(op_state, emote) {
|
|
640
|
-
_assertClass(op_state, WorkerContext);
|
|
641
|
-
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
642
|
-
const len0 = WASM_VECTOR_LEN;
|
|
643
|
-
wasm.op_emote(op_state.__wbg_ptr, ptr0, len0);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* @param {WorkerContext} op_state
|
|
648
|
-
* @param {string} emote
|
|
649
|
-
* @param {boolean} looping
|
|
650
|
-
* @returns {Promise<void>}
|
|
651
|
-
*/
|
|
652
|
-
export function op_scene_emote(op_state, emote, looping) {
|
|
653
|
-
_assertClass(op_state, WorkerContext);
|
|
654
|
-
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
655
|
-
const len0 = WASM_VECTOR_LEN;
|
|
656
|
-
const ret = wasm.op_scene_emote(op_state.__wbg_ptr, ptr0, len0, looping);
|
|
657
|
-
return ret;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* @param {WorkerContext} op_state
|
|
662
|
-
* @param {string} urn
|
|
663
|
-
* @returns {Promise<void>}
|
|
664
|
-
*/
|
|
665
|
-
export function op_open_nft_dialog(op_state, urn) {
|
|
666
|
-
_assertClass(op_state, WorkerContext);
|
|
667
|
-
const ptr0 = passStringToWasm0(urn, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
668
|
-
const len0 = WASM_VECTOR_LEN;
|
|
669
|
-
const ret = wasm.op_open_nft_dialog(op_state.__wbg_ptr, ptr0, len0);
|
|
670
|
-
return ret;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* @param {WorkerContext} op_state
|
|
675
|
-
* @param {boolean} apply
|
|
676
|
-
* @param {string | null} [element_id]
|
|
677
|
-
* @returns {Promise<any>}
|
|
678
|
-
*/
|
|
679
|
-
export function op_ui_focus(op_state, apply, element_id) {
|
|
680
|
-
_assertClass(op_state, WorkerContext);
|
|
681
|
-
var ptr0 = isLikeNone(element_id) ? 0 : passStringToWasm0(element_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
682
|
-
var len0 = WASM_VECTOR_LEN;
|
|
683
|
-
const ret = wasm.op_ui_focus(op_state.__wbg_ptr, apply, ptr0, len0);
|
|
684
|
-
return ret;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* @param {WorkerContext} op_state
|
|
689
|
-
* @param {string} text
|
|
690
|
-
* @returns {Promise<void>}
|
|
691
|
-
*/
|
|
692
|
-
export function op_copy_to_clipboard(op_state, text) {
|
|
693
|
-
_assertClass(op_state, WorkerContext);
|
|
694
|
-
const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
695
|
-
const len0 = WASM_VECTOR_LEN;
|
|
696
|
-
const ret = wasm.op_copy_to_clipboard(op_state.__wbg_ptr, ptr0, len0);
|
|
697
|
-
return ret;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* @param {WorkerContext} op_state
|
|
702
|
-
* @param {string} filename
|
|
703
|
-
* @returns {Promise<any>}
|
|
704
|
-
*/
|
|
705
|
-
export function op_read_file(op_state, filename) {
|
|
706
|
-
_assertClass(op_state, WorkerContext);
|
|
707
|
-
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
708
|
-
const len0 = WASM_VECTOR_LEN;
|
|
709
|
-
const ret = wasm.op_read_file(op_state.__wbg_ptr, ptr0, len0);
|
|
710
|
-
return ret;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* @param {WorkerContext} op_state
|
|
715
|
-
* @returns {Promise<any>}
|
|
716
|
-
*/
|
|
717
|
-
export function op_scene_information(op_state) {
|
|
718
|
-
_assertClass(op_state, WorkerContext);
|
|
719
|
-
const ret = wasm.op_scene_information(op_state.__wbg_ptr);
|
|
720
|
-
return ret;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
/**
|
|
724
|
-
* @param {WorkerContext} op_state
|
|
678
|
+
* @param {number} rid
|
|
725
679
|
* @returns {Promise<any>}
|
|
726
680
|
*/
|
|
727
|
-
export function
|
|
728
|
-
_assertClass(
|
|
729
|
-
const ret = wasm.
|
|
681
|
+
export function op_read_permission_used_stream(state, rid) {
|
|
682
|
+
_assertClass(state, WorkerContext);
|
|
683
|
+
const ret = wasm.op_read_permission_used_stream(state.__wbg_ptr, rid);
|
|
730
684
|
return ret;
|
|
731
685
|
}
|
|
732
686
|
|
|
733
687
|
/**
|
|
734
688
|
* @param {WorkerContext} state
|
|
735
|
-
* @
|
|
689
|
+
* @param {number} id
|
|
690
|
+
* @param {boolean} allow
|
|
736
691
|
*/
|
|
737
|
-
export function
|
|
692
|
+
export function op_set_single_permission(state, id, allow) {
|
|
738
693
|
_assertClass(state, WorkerContext);
|
|
739
|
-
|
|
740
|
-
return ret;
|
|
694
|
+
wasm.op_set_single_permission(state.__wbg_ptr, id, allow);
|
|
741
695
|
}
|
|
742
696
|
|
|
743
697
|
/**
|
|
@@ -775,84 +729,6 @@ export function op_get_previous_login(state) {
|
|
|
775
729
|
return ret;
|
|
776
730
|
}
|
|
777
731
|
|
|
778
|
-
/**
|
|
779
|
-
* @param {WorkerContext} state
|
|
780
|
-
* @returns {Promise<void>}
|
|
781
|
-
*/
|
|
782
|
-
export function op_login_previous(state) {
|
|
783
|
-
_assertClass(state, WorkerContext);
|
|
784
|
-
const ret = wasm.op_login_previous(state.__wbg_ptr);
|
|
785
|
-
return ret;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* @param {WorkerContext} state
|
|
790
|
-
* @returns {Promise<string | undefined>}
|
|
791
|
-
*/
|
|
792
|
-
export function op_login_new_code(state) {
|
|
793
|
-
_assertClass(state, WorkerContext);
|
|
794
|
-
const ret = wasm.op_login_new_code(state.__wbg_ptr);
|
|
795
|
-
return ret;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* @param {WorkerContext} state
|
|
800
|
-
* @returns {Promise<void>}
|
|
801
|
-
*/
|
|
802
|
-
export function op_login_new_success(state) {
|
|
803
|
-
_assertClass(state, WorkerContext);
|
|
804
|
-
const ret = wasm.op_login_new_success(state.__wbg_ptr);
|
|
805
|
-
return ret;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @param {WorkerContext} state
|
|
810
|
-
*/
|
|
811
|
-
export function op_login_guest(state) {
|
|
812
|
-
_assertClass(state, WorkerContext);
|
|
813
|
-
wasm.op_login_guest(state.__wbg_ptr);
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* @param {WorkerContext} state
|
|
818
|
-
*/
|
|
819
|
-
export function op_login_cancel(state) {
|
|
820
|
-
_assertClass(state, WorkerContext);
|
|
821
|
-
wasm.op_login_cancel(state.__wbg_ptr);
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* @param {WorkerContext} state
|
|
826
|
-
*/
|
|
827
|
-
export function op_logout(state) {
|
|
828
|
-
_assertClass(state, WorkerContext);
|
|
829
|
-
wasm.op_logout(state.__wbg_ptr);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* @param {WorkerContext} state
|
|
834
|
-
* @returns {Promise<Array<any>>}
|
|
835
|
-
*/
|
|
836
|
-
export function op_settings(state) {
|
|
837
|
-
_assertClass(state, WorkerContext);
|
|
838
|
-
const ret = wasm.op_settings(state.__wbg_ptr);
|
|
839
|
-
return ret;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* @param {WorkerContext} state
|
|
844
|
-
* @param {string} name
|
|
845
|
-
* @param {number} val
|
|
846
|
-
* @returns {Promise<void>}
|
|
847
|
-
*/
|
|
848
|
-
export function op_set_setting(state, name, val) {
|
|
849
|
-
_assertClass(state, WorkerContext);
|
|
850
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
851
|
-
const len0 = WASM_VECTOR_LEN;
|
|
852
|
-
const ret = wasm.op_set_setting(state.__wbg_ptr, ptr0, len0, val);
|
|
853
|
-
return ret;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
732
|
/**
|
|
857
733
|
* @param {WorkerContext} state
|
|
858
734
|
* @param {string} uri
|
|
@@ -976,429 +852,553 @@ export function op_set_home_scene(state, realm, parcel) {
|
|
|
976
852
|
|
|
977
853
|
/**
|
|
978
854
|
* @param {WorkerContext} state
|
|
979
|
-
* @returns {Promise<
|
|
855
|
+
* @returns {Promise<void>}
|
|
980
856
|
*/
|
|
981
|
-
export function
|
|
857
|
+
export function op_login_previous(state) {
|
|
982
858
|
_assertClass(state, WorkerContext);
|
|
983
|
-
const ret = wasm.
|
|
859
|
+
const ret = wasm.op_login_previous(state.__wbg_ptr);
|
|
984
860
|
return ret;
|
|
985
861
|
}
|
|
986
862
|
|
|
987
863
|
/**
|
|
988
864
|
* @param {WorkerContext} state
|
|
989
|
-
* @
|
|
990
|
-
* @returns {Promise<any>}
|
|
865
|
+
* @returns {Promise<string | undefined>}
|
|
991
866
|
*/
|
|
992
|
-
export function
|
|
867
|
+
export function op_login_new_code(state) {
|
|
993
868
|
_assertClass(state, WorkerContext);
|
|
994
|
-
const ret = wasm.
|
|
869
|
+
const ret = wasm.op_login_new_code(state.__wbg_ptr);
|
|
995
870
|
return ret;
|
|
996
871
|
}
|
|
997
872
|
|
|
998
873
|
/**
|
|
999
874
|
* @param {WorkerContext} state
|
|
1000
|
-
* @returns {Promise<
|
|
875
|
+
* @returns {Promise<void>}
|
|
1001
876
|
*/
|
|
1002
|
-
export function
|
|
877
|
+
export function op_login_new_success(state) {
|
|
1003
878
|
_assertClass(state, WorkerContext);
|
|
1004
|
-
const ret = wasm.
|
|
879
|
+
const ret = wasm.op_login_new_success(state.__wbg_ptr);
|
|
1005
880
|
return ret;
|
|
1006
881
|
}
|
|
1007
882
|
|
|
1008
883
|
/**
|
|
1009
884
|
* @param {WorkerContext} state
|
|
1010
|
-
* @param {number} rid
|
|
1011
|
-
* @returns {Promise<any>}
|
|
1012
885
|
*/
|
|
1013
|
-
export function
|
|
886
|
+
export function op_login_guest(state) {
|
|
1014
887
|
_assertClass(state, WorkerContext);
|
|
1015
|
-
|
|
1016
|
-
return ret;
|
|
888
|
+
wasm.op_login_guest(state.__wbg_ptr);
|
|
1017
889
|
}
|
|
1018
890
|
|
|
1019
891
|
/**
|
|
1020
892
|
* @param {WorkerContext} state
|
|
1021
|
-
* @param {string} message
|
|
1022
|
-
* @param {string} channel
|
|
1023
893
|
*/
|
|
1024
|
-
export function
|
|
894
|
+
export function op_login_cancel(state) {
|
|
1025
895
|
_assertClass(state, WorkerContext);
|
|
1026
|
-
|
|
1027
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1028
|
-
const ptr1 = passStringToWasm0(channel, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1029
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1030
|
-
wasm.op_send_chat(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
896
|
+
wasm.op_login_cancel(state.__wbg_ptr);
|
|
1031
897
|
}
|
|
1032
898
|
|
|
1033
899
|
/**
|
|
1034
900
|
* @param {WorkerContext} state
|
|
1035
|
-
* @returns {Promise<any>}
|
|
1036
901
|
*/
|
|
1037
|
-
export function
|
|
902
|
+
export function op_logout(state) {
|
|
1038
903
|
_assertClass(state, WorkerContext);
|
|
1039
|
-
|
|
1040
|
-
return ret;
|
|
904
|
+
wasm.op_logout(state.__wbg_ptr);
|
|
1041
905
|
}
|
|
1042
906
|
|
|
1043
907
|
/**
|
|
1044
908
|
* @param {WorkerContext} state
|
|
909
|
+
* @returns {Promise<Array<any>>}
|
|
1045
910
|
*/
|
|
1046
|
-
export function
|
|
911
|
+
export function op_settings(state) {
|
|
1047
912
|
_assertClass(state, WorkerContext);
|
|
1048
|
-
wasm.
|
|
913
|
+
const ret = wasm.op_settings(state.__wbg_ptr);
|
|
914
|
+
return ret;
|
|
1049
915
|
}
|
|
1050
916
|
|
|
1051
917
|
/**
|
|
1052
918
|
* @param {WorkerContext} state
|
|
1053
|
-
* @
|
|
919
|
+
* @param {string} name
|
|
920
|
+
* @param {number} val
|
|
921
|
+
* @returns {Promise<void>}
|
|
1054
922
|
*/
|
|
1055
|
-
export function
|
|
923
|
+
export function op_set_setting(state, name, val) {
|
|
1056
924
|
_assertClass(state, WorkerContext);
|
|
1057
|
-
const
|
|
925
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
926
|
+
const len0 = WASM_VECTOR_LEN;
|
|
927
|
+
const ret = wasm.op_set_setting(state.__wbg_ptr, ptr0, len0, val);
|
|
1058
928
|
return ret;
|
|
1059
929
|
}
|
|
1060
930
|
|
|
1061
931
|
/**
|
|
1062
932
|
* @param {WorkerContext} state
|
|
1063
|
-
* @param {number} rid
|
|
1064
933
|
* @returns {Promise<any>}
|
|
1065
934
|
*/
|
|
1066
|
-
export function
|
|
935
|
+
export function op_get_user_data(state) {
|
|
1067
936
|
_assertClass(state, WorkerContext);
|
|
1068
|
-
const ret = wasm.
|
|
937
|
+
const ret = wasm.op_get_user_data(state.__wbg_ptr);
|
|
1069
938
|
return ret;
|
|
1070
939
|
}
|
|
1071
940
|
|
|
1072
941
|
/**
|
|
1073
942
|
* @param {WorkerContext} state
|
|
1074
|
-
* @
|
|
943
|
+
* @param {string} id
|
|
944
|
+
* @returns {Promise<any>}
|
|
1075
945
|
*/
|
|
1076
|
-
export function
|
|
946
|
+
export function op_get_player_data(state, id) {
|
|
1077
947
|
_assertClass(state, WorkerContext);
|
|
1078
|
-
const
|
|
948
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
949
|
+
const len0 = WASM_VECTOR_LEN;
|
|
950
|
+
const ret = wasm.op_get_player_data(state.__wbg_ptr, ptr0, len0);
|
|
1079
951
|
return ret;
|
|
1080
952
|
}
|
|
1081
953
|
|
|
1082
954
|
/**
|
|
1083
|
-
* @param {WorkerContext}
|
|
1084
|
-
* @param {number}
|
|
1085
|
-
* @
|
|
955
|
+
* @param {WorkerContext} op_state
|
|
956
|
+
* @param {number} position_x
|
|
957
|
+
* @param {number} position_y
|
|
958
|
+
* @param {number} position_z
|
|
959
|
+
* @param {boolean} camera
|
|
960
|
+
* @param {number} maybe_camera_x
|
|
961
|
+
* @param {number} maybe_camera_y
|
|
962
|
+
* @param {number} maybe_camera_z
|
|
963
|
+
* @param {boolean} looking_at
|
|
964
|
+
* @param {number} maybe_looking_at_x
|
|
965
|
+
* @param {number} maybe_looking_at_y
|
|
966
|
+
* @param {number} maybe_looking_at_z
|
|
1086
967
|
*/
|
|
1087
|
-
export function
|
|
1088
|
-
_assertClass(
|
|
1089
|
-
|
|
1090
|
-
return ret;
|
|
968
|
+
export function op_move_player_to(op_state, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z) {
|
|
969
|
+
_assertClass(op_state, WorkerContext);
|
|
970
|
+
wasm.op_move_player_to(op_state.__wbg_ptr, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z);
|
|
1091
971
|
}
|
|
1092
972
|
|
|
1093
973
|
/**
|
|
1094
974
|
* @param {WorkerContext} state
|
|
1095
|
-
* @param {number}
|
|
1096
|
-
* @param {
|
|
975
|
+
* @param {number} position_x
|
|
976
|
+
* @param {number} position_y
|
|
977
|
+
* @returns {Promise<boolean>}
|
|
1097
978
|
*/
|
|
1098
|
-
export function
|
|
979
|
+
export function op_teleport_to(state, position_x, position_y) {
|
|
1099
980
|
_assertClass(state, WorkerContext);
|
|
1100
|
-
wasm.
|
|
981
|
+
const ret = wasm.op_teleport_to(state.__wbg_ptr, position_x, position_y);
|
|
982
|
+
return ret;
|
|
1101
983
|
}
|
|
1102
984
|
|
|
1103
|
-
function takeFromExternrefTable0(idx) {
|
|
1104
|
-
const value = wasm.__wbindgen_export_1.get(idx);
|
|
1105
|
-
wasm.__externref_table_dealloc(idx);
|
|
1106
|
-
return value;
|
|
1107
|
-
}
|
|
1108
985
|
/**
|
|
1109
986
|
* @param {WorkerContext} state
|
|
1110
|
-
* @param {string}
|
|
1111
|
-
* @param {string | null
|
|
1112
|
-
* @
|
|
1113
|
-
* @param {any} allow
|
|
987
|
+
* @param {string} realm
|
|
988
|
+
* @param {string | null} [message]
|
|
989
|
+
* @returns {Promise<boolean>}
|
|
1114
990
|
*/
|
|
1115
|
-
export function
|
|
991
|
+
export function op_change_realm(state, realm, message) {
|
|
1116
992
|
_assertClass(state, WorkerContext);
|
|
1117
|
-
const ptr0 = passStringToWasm0(
|
|
993
|
+
const ptr0 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1118
994
|
const len0 = WASM_VECTOR_LEN;
|
|
1119
|
-
var ptr1 = isLikeNone(
|
|
995
|
+
var ptr1 = isLikeNone(message) ? 0 : passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1120
996
|
var len1 = WASM_VECTOR_LEN;
|
|
1121
|
-
const ret = wasm.
|
|
1122
|
-
|
|
1123
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
1124
|
-
}
|
|
997
|
+
const ret = wasm.op_change_realm(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
998
|
+
return ret;
|
|
1125
999
|
}
|
|
1126
1000
|
|
|
1127
1001
|
/**
|
|
1128
1002
|
* @param {WorkerContext} state
|
|
1129
|
-
* @param {string}
|
|
1130
|
-
* @
|
|
1131
|
-
* @returns {Promise<Array<any>>}
|
|
1003
|
+
* @param {string} url
|
|
1004
|
+
* @returns {Promise<boolean>}
|
|
1132
1005
|
*/
|
|
1133
|
-
export function
|
|
1006
|
+
export function op_external_url(state, url) {
|
|
1134
1007
|
_assertClass(state, WorkerContext);
|
|
1135
|
-
const ptr0 = passStringToWasm0(
|
|
1008
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1136
1009
|
const len0 = WASM_VECTOR_LEN;
|
|
1137
|
-
|
|
1138
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1139
|
-
const ret = wasm.op_get_permanent_permissions(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1010
|
+
const ret = wasm.op_external_url(state.__wbg_ptr, ptr0, len0);
|
|
1140
1011
|
return ret;
|
|
1141
1012
|
}
|
|
1142
1013
|
|
|
1143
1014
|
/**
|
|
1144
|
-
* @param {WorkerContext}
|
|
1145
|
-
* @
|
|
1015
|
+
* @param {WorkerContext} op_state
|
|
1016
|
+
* @param {string} emote
|
|
1146
1017
|
*/
|
|
1147
|
-
export function
|
|
1148
|
-
_assertClass(
|
|
1149
|
-
const
|
|
1018
|
+
export function op_emote(op_state, emote) {
|
|
1019
|
+
_assertClass(op_state, WorkerContext);
|
|
1020
|
+
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1021
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1022
|
+
wasm.op_emote(op_state.__wbg_ptr, ptr0, len0);
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* @param {WorkerContext} op_state
|
|
1027
|
+
* @param {string} emote
|
|
1028
|
+
* @param {boolean} looping
|
|
1029
|
+
* @returns {Promise<void>}
|
|
1030
|
+
*/
|
|
1031
|
+
export function op_scene_emote(op_state, emote, looping) {
|
|
1032
|
+
_assertClass(op_state, WorkerContext);
|
|
1033
|
+
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1034
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1035
|
+
const ret = wasm.op_scene_emote(op_state.__wbg_ptr, ptr0, len0, looping);
|
|
1036
|
+
return ret;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @param {WorkerContext} op_state
|
|
1041
|
+
* @param {string} urn
|
|
1042
|
+
* @returns {Promise<void>}
|
|
1043
|
+
*/
|
|
1044
|
+
export function op_open_nft_dialog(op_state, urn) {
|
|
1045
|
+
_assertClass(op_state, WorkerContext);
|
|
1046
|
+
const ptr0 = passStringToWasm0(urn, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1047
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1048
|
+
const ret = wasm.op_open_nft_dialog(op_state.__wbg_ptr, ptr0, len0);
|
|
1049
|
+
return ret;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* @param {WorkerContext} op_state
|
|
1054
|
+
* @param {boolean} apply
|
|
1055
|
+
* @param {string | null} [element_id]
|
|
1056
|
+
* @returns {Promise<any>}
|
|
1057
|
+
*/
|
|
1058
|
+
export function op_ui_focus(op_state, apply, element_id) {
|
|
1059
|
+
_assertClass(op_state, WorkerContext);
|
|
1060
|
+
var ptr0 = isLikeNone(element_id) ? 0 : passStringToWasm0(element_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1061
|
+
var len0 = WASM_VECTOR_LEN;
|
|
1062
|
+
const ret = wasm.op_ui_focus(op_state.__wbg_ptr, apply, ptr0, len0);
|
|
1063
|
+
return ret;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* @param {WorkerContext} op_state
|
|
1068
|
+
* @param {string} text
|
|
1069
|
+
* @returns {Promise<void>}
|
|
1070
|
+
*/
|
|
1071
|
+
export function op_copy_to_clipboard(op_state, text) {
|
|
1072
|
+
_assertClass(op_state, WorkerContext);
|
|
1073
|
+
const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1074
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1075
|
+
const ret = wasm.op_copy_to_clipboard(op_state.__wbg_ptr, ptr0, len0);
|
|
1150
1076
|
return ret;
|
|
1151
1077
|
}
|
|
1152
1078
|
|
|
1153
1079
|
/**
|
|
1154
1080
|
* @param {WorkerContext} state
|
|
1155
|
-
* @param {
|
|
1156
|
-
* @param {
|
|
1157
|
-
* @
|
|
1158
|
-
* @param {number} bottom
|
|
1081
|
+
* @param {string} method
|
|
1082
|
+
* @param {string} params
|
|
1083
|
+
* @returns {Promise<any>}
|
|
1159
1084
|
*/
|
|
1160
|
-
export function
|
|
1085
|
+
export function op_send_async(state, method, params) {
|
|
1161
1086
|
_assertClass(state, WorkerContext);
|
|
1162
|
-
|
|
1087
|
+
const ptr0 = passStringToWasm0(method, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1088
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1089
|
+
const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1090
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1091
|
+
const ret = wasm.op_send_async(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1092
|
+
return ret;
|
|
1163
1093
|
}
|
|
1164
1094
|
|
|
1165
1095
|
/**
|
|
1166
1096
|
* @param {WorkerContext} state
|
|
1097
|
+
* @param {string} src
|
|
1167
1098
|
* @returns {Promise<any>}
|
|
1168
1099
|
*/
|
|
1169
|
-
export function
|
|
1100
|
+
export function op_get_texture_size(state, src) {
|
|
1170
1101
|
_assertClass(state, WorkerContext);
|
|
1171
|
-
const
|
|
1102
|
+
const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1103
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1104
|
+
const ret = wasm.op_get_texture_size(state.__wbg_ptr, ptr0, len0);
|
|
1172
1105
|
return ret;
|
|
1173
1106
|
}
|
|
1174
1107
|
|
|
1175
1108
|
/**
|
|
1176
1109
|
* @param {WorkerContext} state
|
|
1177
|
-
* @param {
|
|
1110
|
+
* @param {string} message
|
|
1178
1111
|
* @returns {Promise<void>}
|
|
1179
1112
|
*/
|
|
1180
|
-
export function
|
|
1113
|
+
export function op_comms_send_string(state, message) {
|
|
1181
1114
|
_assertClass(state, WorkerContext);
|
|
1182
|
-
const
|
|
1115
|
+
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1116
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1117
|
+
const ret = wasm.op_comms_send_string(state.__wbg_ptr, ptr0, len0);
|
|
1183
1118
|
return ret;
|
|
1184
1119
|
}
|
|
1185
1120
|
|
|
1186
1121
|
/**
|
|
1187
1122
|
* @param {WorkerContext} state
|
|
1188
|
-
* @
|
|
1123
|
+
* @param {ArrayBuffer} message
|
|
1124
|
+
* @param {string | null} [recipient]
|
|
1125
|
+
* @returns {Promise<void>}
|
|
1189
1126
|
*/
|
|
1190
|
-
export function
|
|
1127
|
+
export function op_comms_send_binary_single(state, message, recipient) {
|
|
1191
1128
|
_assertClass(state, WorkerContext);
|
|
1192
|
-
|
|
1129
|
+
var ptr0 = isLikeNone(recipient) ? 0 : passStringToWasm0(recipient, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1130
|
+
var len0 = WASM_VECTOR_LEN;
|
|
1131
|
+
const ret = wasm.op_comms_send_binary_single(state.__wbg_ptr, message, ptr0, len0);
|
|
1193
1132
|
return ret;
|
|
1194
1133
|
}
|
|
1195
1134
|
|
|
1196
1135
|
/**
|
|
1197
1136
|
* @param {WorkerContext} state
|
|
1198
|
-
* @
|
|
1137
|
+
* @returns {Promise<Array<any>>}
|
|
1138
|
+
*/
|
|
1139
|
+
export function op_comms_recv_binary(state) {
|
|
1140
|
+
_assertClass(state, WorkerContext);
|
|
1141
|
+
const ret = wasm.op_comms_recv_binary(state.__wbg_ptr);
|
|
1142
|
+
return ret;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @param {WorkerContext} state
|
|
1147
|
+
* @param {string} uri
|
|
1148
|
+
* @param {string | null} [method]
|
|
1199
1149
|
* @returns {Promise<any>}
|
|
1200
1150
|
*/
|
|
1201
|
-
export function
|
|
1151
|
+
export function op_signed_fetch_headers(state, uri, method) {
|
|
1202
1152
|
_assertClass(state, WorkerContext);
|
|
1203
|
-
const
|
|
1153
|
+
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1154
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1155
|
+
var ptr1 = isLikeNone(method) ? 0 : passStringToWasm0(method, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1156
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1157
|
+
const ret = wasm.op_signed_fetch_headers(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1204
1158
|
return ret;
|
|
1205
1159
|
}
|
|
1206
1160
|
|
|
1207
1161
|
/**
|
|
1208
1162
|
* @param {WorkerContext} op_state
|
|
1209
|
-
* @
|
|
1163
|
+
* @param {ArrayBuffer} messages
|
|
1210
1164
|
*/
|
|
1211
|
-
export function
|
|
1165
|
+
export function op_crdt_send_to_renderer(op_state, messages) {
|
|
1212
1166
|
_assertClass(op_state, WorkerContext);
|
|
1213
|
-
|
|
1214
|
-
|
|
1167
|
+
wasm.op_crdt_send_to_renderer(op_state.__wbg_ptr, messages);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @param {WorkerContext} op_state
|
|
1172
|
+
* @returns {Promise<Array<any>>}
|
|
1173
|
+
*/
|
|
1174
|
+
export function op_crdt_recv_from_renderer(op_state) {
|
|
1175
|
+
_assertClass(op_state, WorkerContext);
|
|
1176
|
+
const ret = wasm.op_crdt_recv_from_renderer(op_state.__wbg_ptr);
|
|
1177
|
+
return ret;
|
|
1215
1178
|
}
|
|
1216
1179
|
|
|
1217
1180
|
/**
|
|
1218
1181
|
* @param {WorkerContext} state
|
|
1219
|
-
* @param {
|
|
1182
|
+
* @param {string} id
|
|
1220
1183
|
*/
|
|
1221
|
-
export function
|
|
1184
|
+
export function op_subscribe(state, id) {
|
|
1222
1185
|
_assertClass(state, WorkerContext);
|
|
1223
|
-
wasm.
|
|
1186
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1187
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1188
|
+
wasm.op_subscribe(state.__wbg_ptr, ptr0, len0);
|
|
1224
1189
|
}
|
|
1225
1190
|
|
|
1226
1191
|
/**
|
|
1227
1192
|
* @param {WorkerContext} state
|
|
1228
|
-
* @param {
|
|
1193
|
+
* @param {string} id
|
|
1229
1194
|
*/
|
|
1230
|
-
export function
|
|
1195
|
+
export function op_unsubscribe(state, id) {
|
|
1231
1196
|
_assertClass(state, WorkerContext);
|
|
1232
|
-
wasm.
|
|
1197
|
+
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1198
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1199
|
+
wasm.op_unsubscribe(state.__wbg_ptr, ptr0, len0);
|
|
1233
1200
|
}
|
|
1234
1201
|
|
|
1235
1202
|
/**
|
|
1236
1203
|
* @param {WorkerContext} state
|
|
1237
|
-
* @
|
|
1238
|
-
* @param {any} camera_position
|
|
1239
|
-
* @param {any} camera_target
|
|
1240
|
-
* @param {any} snapshot_size
|
|
1241
|
-
* @param {any} method
|
|
1242
|
-
* @returns {any}
|
|
1204
|
+
* @returns {Array<any>}
|
|
1243
1205
|
*/
|
|
1244
|
-
export function
|
|
1206
|
+
export function op_send_batch(state) {
|
|
1245
1207
|
_assertClass(state, WorkerContext);
|
|
1246
|
-
const
|
|
1247
|
-
|
|
1248
|
-
const ret = wasm.op_take_and_compare_snapshot(state.__wbg_ptr, ptr0, len0, camera_position, camera_target, snapshot_size, method);
|
|
1249
|
-
if (ret[2]) {
|
|
1250
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1251
|
-
}
|
|
1252
|
-
return takeFromExternrefTable0(ret[0]);
|
|
1208
|
+
const ret = wasm.op_send_batch(state.__wbg_ptr);
|
|
1209
|
+
return ret;
|
|
1253
1210
|
}
|
|
1254
1211
|
|
|
1255
1212
|
/**
|
|
1256
1213
|
* @param {WorkerContext} state
|
|
1257
|
-
* @returns {Promise<
|
|
1214
|
+
* @returns {Promise<string[]>}
|
|
1258
1215
|
*/
|
|
1259
|
-
export function
|
|
1216
|
+
export function op_get_connected_players(state) {
|
|
1260
1217
|
_assertClass(state, WorkerContext);
|
|
1261
|
-
const ret = wasm.
|
|
1218
|
+
const ret = wasm.op_get_connected_players(state.__wbg_ptr);
|
|
1262
1219
|
return ret;
|
|
1263
1220
|
}
|
|
1264
1221
|
|
|
1265
1222
|
/**
|
|
1266
1223
|
* @param {WorkerContext} state
|
|
1267
|
-
* @
|
|
1268
|
-
* @returns {Promise<any>}
|
|
1224
|
+
* @returns {Promise<string[]>}
|
|
1269
1225
|
*/
|
|
1270
|
-
export function
|
|
1226
|
+
export function op_get_players_in_scene(state) {
|
|
1271
1227
|
_assertClass(state, WorkerContext);
|
|
1272
|
-
const
|
|
1228
|
+
const ret = wasm.op_get_players_in_scene(state.__wbg_ptr);
|
|
1229
|
+
return ret;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* @param {WorkerContext} op_state
|
|
1234
|
+
* @param {string} filename
|
|
1235
|
+
* @returns {Promise<any>}
|
|
1236
|
+
*/
|
|
1237
|
+
export function op_read_file(op_state, filename) {
|
|
1238
|
+
_assertClass(op_state, WorkerContext);
|
|
1239
|
+
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1273
1240
|
const len0 = WASM_VECTOR_LEN;
|
|
1274
|
-
const ret = wasm.
|
|
1241
|
+
const ret = wasm.op_read_file(op_state.__wbg_ptr, ptr0, len0);
|
|
1275
1242
|
return ret;
|
|
1276
1243
|
}
|
|
1277
1244
|
|
|
1278
1245
|
/**
|
|
1279
|
-
* @
|
|
1246
|
+
* @param {WorkerContext} op_state
|
|
1247
|
+
* @returns {Promise<any>}
|
|
1280
1248
|
*/
|
|
1281
|
-
export function
|
|
1282
|
-
|
|
1249
|
+
export function op_scene_information(op_state) {
|
|
1250
|
+
_assertClass(op_state, WorkerContext);
|
|
1251
|
+
const ret = wasm.op_scene_information(op_state.__wbg_ptr);
|
|
1283
1252
|
return ret;
|
|
1284
1253
|
}
|
|
1285
1254
|
|
|
1286
1255
|
/**
|
|
1287
|
-
* @param {WorkerContext}
|
|
1256
|
+
* @param {WorkerContext} op_state
|
|
1257
|
+
* @returns {Promise<any>}
|
|
1258
|
+
*/
|
|
1259
|
+
export function op_realm_information(op_state) {
|
|
1260
|
+
_assertClass(op_state, WorkerContext);
|
|
1261
|
+
const ret = wasm.op_realm_information(op_state.__wbg_ptr);
|
|
1262
|
+
return ret;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* @param {WorkerContext} op_state
|
|
1288
1267
|
* @returns {boolean}
|
|
1289
1268
|
*/
|
|
1290
|
-
export function
|
|
1291
|
-
_assertClass(
|
|
1292
|
-
const ret = wasm.
|
|
1269
|
+
export function op_testing_enabled(op_state) {
|
|
1270
|
+
_assertClass(op_state, WorkerContext);
|
|
1271
|
+
const ret = wasm.op_testing_enabled(op_state.__wbg_ptr);
|
|
1293
1272
|
return ret !== 0;
|
|
1294
1273
|
}
|
|
1295
1274
|
|
|
1296
1275
|
/**
|
|
1297
1276
|
* @param {WorkerContext} state
|
|
1298
|
-
* @
|
|
1277
|
+
* @param {any} body
|
|
1299
1278
|
*/
|
|
1300
|
-
export function
|
|
1279
|
+
export function op_log_test_plan(state, body) {
|
|
1301
1280
|
_assertClass(state, WorkerContext);
|
|
1302
|
-
|
|
1303
|
-
return ret !== 0;
|
|
1281
|
+
wasm.op_log_test_plan(state.__wbg_ptr, body);
|
|
1304
1282
|
}
|
|
1305
1283
|
|
|
1306
1284
|
/**
|
|
1307
1285
|
* @param {WorkerContext} state
|
|
1286
|
+
* @param {any} body
|
|
1308
1287
|
*/
|
|
1309
|
-
export function
|
|
1288
|
+
export function op_log_test_result(state, body) {
|
|
1310
1289
|
_assertClass(state, WorkerContext);
|
|
1311
|
-
|
|
1312
|
-
wasm.drop_context(ptr0);
|
|
1290
|
+
wasm.op_log_test_result(state.__wbg_ptr, body);
|
|
1313
1291
|
}
|
|
1314
1292
|
|
|
1315
1293
|
/**
|
|
1316
1294
|
* @param {WorkerContext} state
|
|
1317
|
-
* @param {string}
|
|
1318
|
-
* @
|
|
1295
|
+
* @param {string} name
|
|
1296
|
+
* @param {any} camera_position
|
|
1297
|
+
* @param {any} camera_target
|
|
1298
|
+
* @param {any} snapshot_size
|
|
1299
|
+
* @param {any} method
|
|
1300
|
+
* @returns {any}
|
|
1319
1301
|
*/
|
|
1320
|
-
export function
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
const ret = wasm.builtin_module(state.__wbg_ptr, ptr0, len0);
|
|
1328
|
-
var ptr2 = ret[0];
|
|
1329
|
-
var len2 = ret[1];
|
|
1330
|
-
if (ret[3]) {
|
|
1331
|
-
ptr2 = 0; len2 = 0;
|
|
1332
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
1333
|
-
}
|
|
1334
|
-
deferred3_0 = ptr2;
|
|
1335
|
-
deferred3_1 = len2;
|
|
1336
|
-
return getStringFromWasm0(ptr2, len2);
|
|
1337
|
-
} finally {
|
|
1338
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
1302
|
+
export function op_take_and_compare_snapshot(state, name, camera_position, camera_target, snapshot_size, method) {
|
|
1303
|
+
_assertClass(state, WorkerContext);
|
|
1304
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1305
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1306
|
+
const ret = wasm.op_take_and_compare_snapshot(state.__wbg_ptr, ptr0, len0, camera_position, camera_target, snapshot_size, method);
|
|
1307
|
+
if (ret[2]) {
|
|
1308
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
1339
1309
|
}
|
|
1310
|
+
return takeFromExternrefTable0(ret[0]);
|
|
1340
1311
|
}
|
|
1341
1312
|
|
|
1342
1313
|
/**
|
|
1343
1314
|
* @param {WorkerContext} state
|
|
1344
|
-
* @
|
|
1315
|
+
* @param {string | null} [pid]
|
|
1316
|
+
* @param {string | null} [ens]
|
|
1317
|
+
* @returns {Promise<any>}
|
|
1345
1318
|
*/
|
|
1346
|
-
export function
|
|
1319
|
+
export function op_portable_spawn(state, pid, ens) {
|
|
1347
1320
|
_assertClass(state, WorkerContext);
|
|
1348
|
-
|
|
1349
|
-
|
|
1321
|
+
var ptr0 = isLikeNone(pid) ? 0 : passStringToWasm0(pid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1322
|
+
var len0 = WASM_VECTOR_LEN;
|
|
1323
|
+
var ptr1 = isLikeNone(ens) ? 0 : passStringToWasm0(ens, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1324
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1325
|
+
const ret = wasm.op_portable_spawn(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1326
|
+
return ret;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* @param {WorkerContext} state
|
|
1331
|
+
* @param {string} pid
|
|
1332
|
+
* @returns {Promise<boolean>}
|
|
1333
|
+
*/
|
|
1334
|
+
export function op_portable_kill(state, pid) {
|
|
1335
|
+
_assertClass(state, WorkerContext);
|
|
1336
|
+
const ptr0 = passStringToWasm0(pid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1337
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1338
|
+
const ret = wasm.op_portable_kill(state.__wbg_ptr, ptr0, len0);
|
|
1339
|
+
return ret;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {WorkerContext} state
|
|
1344
|
+
* @returns {Promise<any[]>}
|
|
1345
|
+
*/
|
|
1346
|
+
export function op_portable_list(state) {
|
|
1347
|
+
_assertClass(state, WorkerContext);
|
|
1348
|
+
const ret = wasm.op_portable_list(state.__wbg_ptr);
|
|
1349
|
+
return ret;
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
1352
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1353
|
-
wasm.
|
|
1353
|
+
wasm.closure15184_externref_shim(arg0, arg1, arg2, arg3);
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
1356
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1357
|
-
wasm.
|
|
1357
|
+
wasm.closure48427_externref_shim(arg0, arg1, arg2);
|
|
1358
1358
|
}
|
|
1359
1359
|
|
|
1360
1360
|
function __wbg_adapter_68(arg0, arg1) {
|
|
1361
|
-
wasm.
|
|
1361
|
+
wasm._dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_c65ede6e0f295cba___closure__WasmClosure___describe__invoke______(arg0, arg1);
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
1364
|
function __wbg_adapter_71(arg0, arg1) {
|
|
1365
|
-
wasm.
|
|
1365
|
+
wasm._dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_c65ede6e0f295cba___closure__WasmClosure___describe__invoke______14(arg0, arg1);
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
1368
|
function __wbg_adapter_74(arg0, arg1, arg2) {
|
|
1369
|
-
wasm.
|
|
1369
|
+
wasm.closure52081_externref_shim(arg0, arg1, arg2);
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
function __wbg_adapter_81(arg0, arg1) {
|
|
1373
|
-
wasm.
|
|
1373
|
+
wasm._dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_c65ede6e0f295cba___closure__WasmClosure___describe__invoke______16(arg0, arg1);
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
function __wbg_adapter_84(arg0, arg1) {
|
|
1377
|
-
wasm.
|
|
1377
|
+
wasm._dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_c65ede6e0f295cba___closure__WasmClosure___describe__invoke______17(arg0, arg1);
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
1380
|
function __wbg_adapter_87(arg0, arg1, arg2) {
|
|
1381
|
-
wasm.
|
|
1381
|
+
wasm.closure57141_externref_shim(arg0, arg1, arg2);
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
-
function
|
|
1385
|
-
wasm.
|
|
1384
|
+
function __wbg_adapter_90(arg0, arg1, arg2, arg3) {
|
|
1385
|
+
wasm.closure57145_externref_shim(arg0, arg1, arg2, arg3);
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
1388
|
function __wbg_adapter_105(arg0, arg1) {
|
|
1389
|
-
wasm.
|
|
1389
|
+
wasm._dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_c65ede6e0f295cba___closure__WasmClosure___describe__invoke______20(arg0, arg1);
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
1392
|
function __wbg_adapter_108(arg0, arg1, arg2) {
|
|
1393
|
-
wasm.
|
|
1393
|
+
wasm.closure116598_externref_shim(arg0, arg1, arg2);
|
|
1394
1394
|
}
|
|
1395
1395
|
|
|
1396
1396
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1397
|
-
wasm.
|
|
1397
|
+
wasm.closure131626_externref_shim(arg0, arg1, arg2);
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
|
-
function
|
|
1401
|
-
wasm.
|
|
1400
|
+
function __wbg_adapter_1523(arg0, arg1, arg2, arg3) {
|
|
1401
|
+
wasm.closure134522_externref_shim(arg0, arg1, arg2, arg3);
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -2719,7 +2719,7 @@ function __wbg_get_imports() {
|
|
|
2719
2719
|
const a = state0.a;
|
|
2720
2720
|
state0.a = 0;
|
|
2721
2721
|
try {
|
|
2722
|
-
return
|
|
2722
|
+
return __wbg_adapter_1523(a, state0.b, arg0, arg1);
|
|
2723
2723
|
} finally {
|
|
2724
2724
|
state0.a = a;
|
|
2725
2725
|
}
|
|
@@ -4289,88 +4289,88 @@ function __wbg_get_imports() {
|
|
|
4289
4289
|
const ret = false;
|
|
4290
4290
|
return ret;
|
|
4291
4291
|
};
|
|
4292
|
-
imports.wbg.
|
|
4293
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4292
|
+
imports.wbg.__wbindgen_closure_wrapper147739 = function(arg0, arg1, arg2) {
|
|
4293
|
+
const ret = makeMutClosure(arg0, arg1, 116599, __wbg_adapter_108);
|
|
4294
4294
|
return ret;
|
|
4295
4295
|
};
|
|
4296
|
-
imports.wbg.
|
|
4297
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4296
|
+
imports.wbg.__wbindgen_closure_wrapper168293 = function(arg0, arg1, arg2) {
|
|
4297
|
+
const ret = makeMutClosure(arg0, arg1, 131627, __wbg_adapter_111);
|
|
4298
4298
|
return ret;
|
|
4299
4299
|
};
|
|
4300
|
-
imports.wbg.
|
|
4301
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4300
|
+
imports.wbg.__wbindgen_closure_wrapper168295 = function(arg0, arg1, arg2) {
|
|
4301
|
+
const ret = makeMutClosure(arg0, arg1, 131627, __wbg_adapter_111);
|
|
4302
4302
|
return ret;
|
|
4303
4303
|
};
|
|
4304
|
-
imports.wbg.
|
|
4305
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4304
|
+
imports.wbg.__wbindgen_closure_wrapper19549 = function(arg0, arg1, arg2) {
|
|
4305
|
+
const ret = makeMutClosure(arg0, arg1, 15185, __wbg_adapter_62);
|
|
4306
4306
|
return ret;
|
|
4307
4307
|
};
|
|
4308
|
-
imports.wbg.
|
|
4309
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4308
|
+
imports.wbg.__wbindgen_closure_wrapper64257 = function(arg0, arg1, arg2) {
|
|
4309
|
+
const ret = makeMutClosure(arg0, arg1, 48428, __wbg_adapter_65);
|
|
4310
4310
|
return ret;
|
|
4311
4311
|
};
|
|
4312
|
-
imports.wbg.
|
|
4313
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4312
|
+
imports.wbg.__wbindgen_closure_wrapper64396 = function(arg0, arg1, arg2) {
|
|
4313
|
+
const ret = makeMutClosure(arg0, arg1, 48531, __wbg_adapter_68);
|
|
4314
4314
|
return ret;
|
|
4315
4315
|
};
|
|
4316
|
-
imports.wbg.
|
|
4317
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4316
|
+
imports.wbg.__wbindgen_closure_wrapper68216 = function(arg0, arg1, arg2) {
|
|
4317
|
+
const ret = makeMutClosure(arg0, arg1, 51468, __wbg_adapter_71);
|
|
4318
4318
|
return ret;
|
|
4319
4319
|
};
|
|
4320
|
-
imports.wbg.
|
|
4321
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4320
|
+
imports.wbg.__wbindgen_closure_wrapper69414 = function(arg0, arg1, arg2) {
|
|
4321
|
+
const ret = makeMutClosure(arg0, arg1, 52082, __wbg_adapter_74);
|
|
4322
4322
|
return ret;
|
|
4323
4323
|
};
|
|
4324
|
-
imports.wbg.
|
|
4325
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4324
|
+
imports.wbg.__wbindgen_closure_wrapper69416 = function(arg0, arg1, arg2) {
|
|
4325
|
+
const ret = makeMutClosure(arg0, arg1, 52082, __wbg_adapter_74);
|
|
4326
4326
|
return ret;
|
|
4327
4327
|
};
|
|
4328
|
-
imports.wbg.
|
|
4329
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4328
|
+
imports.wbg.__wbindgen_closure_wrapper69418 = function(arg0, arg1, arg2) {
|
|
4329
|
+
const ret = makeMutClosure(arg0, arg1, 52082, __wbg_adapter_74);
|
|
4330
4330
|
return ret;
|
|
4331
4331
|
};
|
|
4332
|
-
imports.wbg.
|
|
4333
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4332
|
+
imports.wbg.__wbindgen_closure_wrapper73979 = function(arg0, arg1, arg2) {
|
|
4333
|
+
const ret = makeMutClosure(arg0, arg1, 55316, __wbg_adapter_81);
|
|
4334
4334
|
return ret;
|
|
4335
4335
|
};
|
|
4336
|
-
imports.wbg.
|
|
4337
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4336
|
+
imports.wbg.__wbindgen_closure_wrapper74933 = function(arg0, arg1, arg2) {
|
|
4337
|
+
const ret = makeMutClosure(arg0, arg1, 55682, __wbg_adapter_84);
|
|
4338
4338
|
return ret;
|
|
4339
4339
|
};
|
|
4340
|
-
imports.wbg.
|
|
4341
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4340
|
+
imports.wbg.__wbindgen_closure_wrapper77077 = function(arg0, arg1, arg2) {
|
|
4341
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4342
4342
|
return ret;
|
|
4343
4343
|
};
|
|
4344
|
-
imports.wbg.
|
|
4345
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4344
|
+
imports.wbg.__wbindgen_closure_wrapper77079 = function(arg0, arg1, arg2) {
|
|
4345
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_90);
|
|
4346
4346
|
return ret;
|
|
4347
4347
|
};
|
|
4348
|
-
imports.wbg.
|
|
4349
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4348
|
+
imports.wbg.__wbindgen_closure_wrapper77081 = function(arg0, arg1, arg2) {
|
|
4349
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4350
4350
|
return ret;
|
|
4351
4351
|
};
|
|
4352
|
-
imports.wbg.
|
|
4353
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4352
|
+
imports.wbg.__wbindgen_closure_wrapper77083 = function(arg0, arg1, arg2) {
|
|
4353
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4354
4354
|
return ret;
|
|
4355
4355
|
};
|
|
4356
|
-
imports.wbg.
|
|
4357
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4356
|
+
imports.wbg.__wbindgen_closure_wrapper77085 = function(arg0, arg1, arg2) {
|
|
4357
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4358
4358
|
return ret;
|
|
4359
4359
|
};
|
|
4360
|
-
imports.wbg.
|
|
4361
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4360
|
+
imports.wbg.__wbindgen_closure_wrapper77087 = function(arg0, arg1, arg2) {
|
|
4361
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4362
4362
|
return ret;
|
|
4363
4363
|
};
|
|
4364
|
-
imports.wbg.
|
|
4365
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4364
|
+
imports.wbg.__wbindgen_closure_wrapper77089 = function(arg0, arg1, arg2) {
|
|
4365
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4366
4366
|
return ret;
|
|
4367
4367
|
};
|
|
4368
|
-
imports.wbg.
|
|
4369
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4368
|
+
imports.wbg.__wbindgen_closure_wrapper77091 = function(arg0, arg1, arg2) {
|
|
4369
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_87);
|
|
4370
4370
|
return ret;
|
|
4371
4371
|
};
|
|
4372
|
-
imports.wbg.
|
|
4373
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4372
|
+
imports.wbg.__wbindgen_closure_wrapper77093 = function(arg0, arg1, arg2) {
|
|
4373
|
+
const ret = makeMutClosure(arg0, arg1, 57142, __wbg_adapter_105);
|
|
4374
4374
|
return ret;
|
|
4375
4375
|
};
|
|
4376
4376
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
@@ -4769,7 +4769,7 @@ function __wbg_get_imports() {
|
|
|
4769
4769
|
}
|
|
4770
4770
|
|
|
4771
4771
|
function __wbg_init_memory(imports, memory) {
|
|
4772
|
-
imports.wbg.memory = memory || new WebAssembly.Memory({initial:
|
|
4772
|
+
imports.wbg.memory = memory || new WebAssembly.Memory({initial:1009,maximum:65536,shared:true});
|
|
4773
4773
|
}
|
|
4774
4774
|
|
|
4775
4775
|
function __wbg_finalize_init(instance, module, thread_stack_size) {
|