@r2o3/rgskin-nodejs 0.0.3 → 0.0.6

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/rgskin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  let imports = {};
3
3
  imports['__wbindgen_placeholder__'] = module.exports;
4
4
 
5
- const { createDirAll, isDirectory, joinPath, readDir, readFileBytes, readFileString, writeFile } = require(String.raw`./snippets/rgskin-ff9cecd6cd32cd1f/inline0.js`);
5
+ const { createDirAll, isDirectory, joinPath, readDir, readFileBytes, readFileString, writeFile } = require(String.raw`./snippets/rgskin-8f133b2515c75408/inline0.js`);
6
6
 
7
7
  function addToExternrefTable0(obj) {
8
8
  const idx = wasm.__externref_table_alloc();
@@ -109,7 +109,7 @@ function getArrayU8FromWasm0(ptr, len) {
109
109
 
110
110
  let cachedDataViewMemory0 = null;
111
111
  function getDataViewMemory0() {
112
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
112
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
113
113
  cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
114
114
  }
115
115
  return cachedDataViewMemory0;
@@ -117,7 +117,7 @@ function getDataViewMemory0() {
117
117
 
118
118
  let cachedFloat32ArrayMemory0 = null;
119
119
  function getFloat32ArrayMemory0() {
120
- if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
120
+ if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.buffer !== wasm.memory.buffer) {
121
121
  cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
122
122
  }
123
123
  return cachedFloat32ArrayMemory0;
@@ -130,7 +130,7 @@ function getStringFromWasm0(ptr, len) {
130
130
 
131
131
  let cachedUint16ArrayMemory0 = null;
132
132
  function getUint16ArrayMemory0() {
133
- if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
133
+ if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.buffer !== wasm.memory.buffer) {
134
134
  cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
135
135
  }
136
136
  return cachedUint16ArrayMemory0;
@@ -138,7 +138,7 @@ function getUint16ArrayMemory0() {
138
138
 
139
139
  let cachedUint8ArrayMemory0 = null;
140
140
  function getUint8ArrayMemory0() {
141
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
141
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.buffer !== wasm.memory.buffer) {
142
142
  cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
143
143
  }
144
144
  return cachedUint8ArrayMemory0;
@@ -231,15 +231,16 @@ function takeFromExternrefTable0(idx) {
231
231
  return value;
232
232
  }
233
233
 
234
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
235
- cachedTextDecoder.decode();
234
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : undefined);
235
+ if (cachedTextDecoder) cachedTextDecoder.decode();
236
+
236
237
  function decodeText(ptr, len) {
237
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
238
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
238
239
  }
239
240
 
240
- const cachedTextEncoder = new TextEncoder();
241
+ const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder() : undefined);
241
242
 
242
- if (!('encodeInto' in cachedTextEncoder)) {
243
+ if (cachedTextEncoder) {
243
244
  cachedTextEncoder.encodeInto = function (arg, view) {
244
245
  const buf = cachedTextEncoder.encode(arg);
245
246
  view.set(buf);
@@ -288,6 +289,14 @@ const KeymodeFinalization = (typeof FinalizationRegistry === 'undefined')
288
289
  ? { register: () => {}, unregister: () => {} }
289
290
  : new FinalizationRegistry(ptr => wasm.__wbg_keymode_free(ptr >>> 0, 1));
290
291
 
292
+ const MainMenuFinalization = (typeof FinalizationRegistry === 'undefined')
293
+ ? { register: () => {}, unregister: () => {} }
294
+ : new FinalizationRegistry(ptr => wasm.__wbg_mainmenu_free(ptr >>> 0, 1));
295
+
296
+ const MenuBorderFinalization = (typeof FinalizationRegistry === 'undefined')
297
+ ? { register: () => {}, unregister: () => {} }
298
+ : new FinalizationRegistry(ptr => wasm.__wbg_menuborder_free(ptr >>> 0, 1));
299
+
291
300
  const OsuKeymodeFinalization = (typeof FinalizationRegistry === 'undefined')
292
301
  ? { register: () => {}, unregister: () => {} }
293
302
  : new FinalizationRegistry(ptr => wasm.__wbg_osukeymode_free(ptr >>> 0, 1));
@@ -300,14 +309,38 @@ const OsuSkinIniFinalization = (typeof FinalizationRegistry === 'undefined')
300
309
  ? { register: () => {}, unregister: () => {} }
301
310
  : new FinalizationRegistry(ptr => wasm.__wbg_osuskinini_free(ptr >>> 0, 1));
302
311
 
312
+ const QuaGeneralFinalization = (typeof FinalizationRegistry === 'undefined')
313
+ ? { register: () => {}, unregister: () => {} }
314
+ : new FinalizationRegistry(ptr => wasm.__wbg_quageneral_free(ptr >>> 0, 1));
315
+
316
+ const QuaKeymodeFinalization = (typeof FinalizationRegistry === 'undefined')
317
+ ? { register: () => {}, unregister: () => {} }
318
+ : new FinalizationRegistry(ptr => wasm.__wbg_quakeymode_free(ptr >>> 0, 1));
319
+
320
+ const QuaSkinFinalization = (typeof FinalizationRegistry === 'undefined')
321
+ ? { register: () => {}, unregister: () => {} }
322
+ : new FinalizationRegistry(ptr => wasm.__wbg_quaskin_free(ptr >>> 0, 1));
323
+
324
+ const QuaSkinIniFinalization = (typeof FinalizationRegistry === 'undefined')
325
+ ? { register: () => {}, unregister: () => {} }
326
+ : new FinalizationRegistry(ptr => wasm.__wbg_quaskinini_free(ptr >>> 0, 1));
327
+
303
328
  const RawBytesFinalization = (typeof FinalizationRegistry === 'undefined')
304
329
  ? { register: () => {}, unregister: () => {} }
305
330
  : new FinalizationRegistry(ptr => wasm.__wbg_rawbytes_free(ptr >>> 0, 1));
306
331
 
332
+ const ResultsFinalization = (typeof FinalizationRegistry === 'undefined')
333
+ ? { register: () => {}, unregister: () => {} }
334
+ : new FinalizationRegistry(ptr => wasm.__wbg_results_free(ptr >>> 0, 1));
335
+
307
336
  const SkinJsonFinalization = (typeof FinalizationRegistry === 'undefined')
308
337
  ? { register: () => {}, unregister: () => {} }
309
338
  : new FinalizationRegistry(ptr => wasm.__wbg_skinjson_free(ptr >>> 0, 1));
310
339
 
340
+ const SongSelectFinalization = (typeof FinalizationRegistry === 'undefined')
341
+ ? { register: () => {}, unregister: () => {} }
342
+ : new FinalizationRegistry(ptr => wasm.__wbg_songselect_free(ptr >>> 0, 1));
343
+
311
344
  const TextureFinalization = (typeof FinalizationRegistry === 'undefined')
312
345
  ? { register: () => {}, unregister: () => {} }
313
346
  : new FinalizationRegistry(ptr => wasm.__wbg_texture_free(ptr >>> 0, 1));
@@ -334,19 +367,22 @@ class BinaryStore {
334
367
  const ptr = this.__destroy_into_raw();
335
368
  wasm.__wbg_binarystore_free(ptr, 0);
336
369
  }
337
- constructor() {
338
- const ret = wasm.binarystore_new_wasm();
339
- this.__wbg_ptr = ret >>> 0;
340
- BinaryStoreFinalization.register(this, this.__wbg_ptr, this);
341
- return this;
370
+ /**
371
+ * @returns {boolean}
372
+ */
373
+ allLoaded() {
374
+ const ret = wasm.binarystore_allLoaded(this.__wbg_ptr);
375
+ return ret !== 0;
342
376
  }
343
377
  /**
344
- * @param {RawBytes} binary
378
+ * @param {string} path
379
+ * @returns {boolean}
345
380
  */
346
- insertBinary(binary) {
347
- _assertClass(binary, RawBytes);
348
- var ptr0 = binary.__destroy_into_raw();
349
- wasm.binarystore_insertBinary(this.__wbg_ptr, ptr0);
381
+ hasBinary(path) {
382
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
383
+ const len0 = WASM_VECTOR_LEN;
384
+ const ret = wasm.binarystore_contains(this.__wbg_ptr, ptr0, len0);
385
+ return ret !== 0;
350
386
  }
351
387
  /**
352
388
  * @param {string} new_path
@@ -369,37 +405,6 @@ class BinaryStore {
369
405
  wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
370
406
  }
371
407
  }
372
- /**
373
- * @param {string} path
374
- * @param {ArrayBuffer} buffer
375
- */
376
- loadFromArrayBuffer(path, buffer) {
377
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
378
- const len0 = WASM_VECTOR_LEN;
379
- const ret = wasm.binarystore_loadFromArrayBuffer(this.__wbg_ptr, ptr0, len0, buffer);
380
- if (ret[1]) {
381
- throw takeFromExternrefTable0(ret[0]);
382
- }
383
- }
384
- /**
385
- * @param {string} path
386
- * @param {Uint8Array} array
387
- */
388
- loadFromUint8Array(path, array) {
389
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
390
- const len0 = WASM_VECTOR_LEN;
391
- const ret = wasm.binarystore_loadFromUint8Array(this.__wbg_ptr, ptr0, len0, array);
392
- if (ret[1]) {
393
- throw takeFromExternrefTable0(ret[0]);
394
- }
395
- }
396
- /**
397
- * @returns {boolean}
398
- */
399
- allLoaded() {
400
- const ret = wasm.binarystore_allLoaded(this.__wbg_ptr);
401
- return ret !== 0;
402
- }
403
408
  /**
404
409
  * @returns {number}
405
410
  */
@@ -407,6 +412,14 @@ class BinaryStore {
407
412
  const ret = wasm.binarystore_loadedCount(this.__wbg_ptr);
408
413
  return ret >>> 0;
409
414
  }
415
+ /**
416
+ * @param {RawBytes} binary
417
+ */
418
+ insertBinary(binary) {
419
+ _assertClass(binary, RawBytes);
420
+ var ptr0 = binary.__destroy_into_raw();
421
+ wasm.binarystore_insertBinary(this.__wbg_ptr, ptr0);
422
+ }
410
423
  /**
411
424
  * @returns {Array<any>}
412
425
  */
@@ -418,12 +431,22 @@ class BinaryStore {
418
431
  * @param {string} path
419
432
  * @returns {boolean}
420
433
  */
421
- hasBinary(path) {
434
+ binaryHasData(path) {
422
435
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
423
436
  const len0 = WASM_VECTOR_LEN;
424
- const ret = wasm.binarystore_contains(this.__wbg_ptr, ptr0, len0);
437
+ const ret = wasm.binarystore_binaryHasData(this.__wbg_ptr, ptr0, len0);
425
438
  return ret !== 0;
426
439
  }
440
+ /**
441
+ * @param {string} path
442
+ * @returns {Uint8Array | undefined}
443
+ */
444
+ getBinaryData(path) {
445
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
446
+ const len0 = WASM_VECTOR_LEN;
447
+ const ret = wasm.binarystore_getBinaryData(this.__wbg_ptr, ptr0, len0);
448
+ return ret;
449
+ }
427
450
  /**
428
451
  * @param {string} path
429
452
  * @returns {string | undefined}
@@ -441,33 +464,50 @@ class BinaryStore {
441
464
  }
442
465
  /**
443
466
  * @param {string} path
444
- * @returns {boolean}
467
+ * @param {Uint8Array} array
445
468
  */
446
- binaryHasData(path) {
469
+ loadFromUint8Array(path, array) {
447
470
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
448
471
  const len0 = WASM_VECTOR_LEN;
449
- const ret = wasm.binarystore_binaryHasData(this.__wbg_ptr, ptr0, len0);
450
- return ret !== 0;
472
+ const ret = wasm.binarystore_loadFromUint8Array(this.__wbg_ptr, ptr0, len0, array);
473
+ if (ret[1]) {
474
+ throw takeFromExternrefTable0(ret[0]);
475
+ }
451
476
  }
452
477
  /**
453
478
  * @param {string} path
454
- * @returns {Uint8Array | undefined}
479
+ * @param {ArrayBuffer} buffer
455
480
  */
456
- getBinaryData(path) {
481
+ loadFromArrayBuffer(path, buffer) {
457
482
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
458
483
  const len0 = WASM_VECTOR_LEN;
459
- const ret = wasm.binarystore_getBinaryData(this.__wbg_ptr, ptr0, len0);
460
- return ret;
484
+ const ret = wasm.binarystore_loadFromArrayBuffer(this.__wbg_ptr, ptr0, len0, buffer);
485
+ if (ret[1]) {
486
+ throw takeFromExternrefTable0(ret[0]);
487
+ }
488
+ }
489
+ constructor() {
490
+ const ret = wasm.binarystore_new_wasm();
491
+ this.__wbg_ptr = ret >>> 0;
492
+ BinaryStoreFinalization.register(this, this.__wbg_ptr, this);
493
+ return this;
494
+ }
495
+ clear() {
496
+ wasm.binarystore_clear(this.__wbg_ptr);
461
497
  }
462
498
  /**
463
- * @param {string} path
464
- * @returns {boolean}
499
+ * @returns {number}
465
500
  */
466
- contains(path) {
467
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
468
- const len0 = WASM_VECTOR_LEN;
469
- const ret = wasm.binarystore_contains(this.__wbg_ptr, ptr0, len0);
470
- return ret !== 0;
501
+ getLength() {
502
+ const ret = wasm.binarystore_getLength(this.__wbg_ptr);
503
+ return ret >>> 0;
504
+ }
505
+ /**
506
+ * @param {BinaryStore} other
507
+ */
508
+ extend(other) {
509
+ _assertClass(other, BinaryStore);
510
+ wasm.binarystore_extend(this.__wbg_ptr, other.__wbg_ptr);
471
511
  }
472
512
  /**
473
513
  * @param {string} path
@@ -480,11 +520,14 @@ class BinaryStore {
480
520
  return ret !== 0;
481
521
  }
482
522
  /**
483
- * @returns {number}
523
+ * @param {string} path
524
+ * @returns {boolean}
484
525
  */
485
- getLength() {
486
- const ret = wasm.binarystore_getLength(this.__wbg_ptr);
487
- return ret >>> 0;
526
+ contains(path) {
527
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
528
+ const len0 = WASM_VECTOR_LEN;
529
+ const ret = wasm.binarystore_contains(this.__wbg_ptr, ptr0, len0);
530
+ return ret !== 0;
488
531
  }
489
532
  /**
490
533
  * @returns {boolean}
@@ -500,20 +543,17 @@ class BinaryStore {
500
543
  const ret = wasm.binarystore_getPaths(this.__wbg_ptr);
501
544
  return ret;
502
545
  }
503
- clear() {
504
- wasm.binarystore_clear(this.__wbg_ptr);
505
- }
506
546
  /**
507
547
  * @param {string} original_path
508
- * @param {string} new_path
548
+ * @param {string} new_base_path
509
549
  * @returns {string | undefined}
510
550
  */
511
- copy(original_path, new_path) {
551
+ makeUniqueCopy(original_path, new_base_path) {
512
552
  const ptr0 = passStringToWasm0(original_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
513
553
  const len0 = WASM_VECTOR_LEN;
514
- const ptr1 = passStringToWasm0(new_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
554
+ const ptr1 = passStringToWasm0(new_base_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
515
555
  const len1 = WASM_VECTOR_LEN;
516
- const ret = wasm.binarystore_copy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
556
+ const ret = wasm.binarystore_makeUniqueCopy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
517
557
  let v3;
518
558
  if (ret[0] !== 0) {
519
559
  v3 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -523,15 +563,15 @@ class BinaryStore {
523
563
  }
524
564
  /**
525
565
  * @param {string} original_path
526
- * @param {string} new_base_path
566
+ * @param {string} new_path
527
567
  * @returns {string | undefined}
528
568
  */
529
- makeUniqueCopy(original_path, new_base_path) {
569
+ copy(original_path, new_path) {
530
570
  const ptr0 = passStringToWasm0(original_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
531
571
  const len0 = WASM_VECTOR_LEN;
532
- const ptr1 = passStringToWasm0(new_base_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
572
+ const ptr1 = passStringToWasm0(new_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
533
573
  const len1 = WASM_VECTOR_LEN;
534
- const ret = wasm.binarystore_makeUniqueCopy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
574
+ const ret = wasm.binarystore_copy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
535
575
  let v3;
536
576
  if (ret[0] !== 0) {
537
577
  v3 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -539,17 +579,20 @@ class BinaryStore {
539
579
  }
540
580
  return v3;
541
581
  }
542
- /**
543
- * @param {BinaryStore} other
544
- */
545
- extend(other) {
546
- _assertClass(other, BinaryStore);
547
- wasm.binarystore_extend(this.__wbg_ptr, other.__wbg_ptr);
548
- }
549
582
  }
550
583
  if (Symbol.dispose) BinaryStore.prototype[Symbol.dispose] = BinaryStore.prototype.free;
551
584
  exports.BinaryStore = BinaryStore;
552
585
 
586
+ /**
587
+ * @enum {0 | 1 | 2}
588
+ */
589
+ const DefaultSkin = Object.freeze({
590
+ Arrow: 0, "0": "Arrow",
591
+ Bar: 1, "1": "Bar",
592
+ Circle: 2, "2": "Circle",
593
+ });
594
+ exports.DefaultSkin = DefaultSkin;
595
+
553
596
  class FluXisKeymode {
554
597
  static __wrap(ptr) {
555
598
  ptr = ptr >>> 0;
@@ -854,22 +897,18 @@ class FluXisSkin {
854
897
  return this;
855
898
  }
856
899
  /**
857
- * @returns {GenericManiaSkin}
900
+ * @param {number} keymode
901
+ * @returns {FluXisKeymode | undefined}
858
902
  */
859
- toGenericMania() {
860
- const ret = wasm.fluxisskin_toGenericMania(this.__wbg_ptr);
861
- if (ret[2]) {
862
- throw takeFromExternrefTable0(ret[1]);
863
- }
864
- return GenericManiaSkin.__wrap(ret[0]);
903
+ getKeymode(keymode) {
904
+ const ret = wasm.fluxisskin_getKeymode(this.__wbg_ptr, keymode);
905
+ return ret === 0 ? undefined : FluXisKeymode.__wrap(ret);
865
906
  }
866
907
  /**
867
- * @param {FluXisLayout} layout
868
908
  * @returns {GenericManiaSkin}
869
909
  */
870
- toGenericManiaWithLayout(layout) {
871
- _assertClass(layout, FluXisLayout);
872
- const ret = wasm.fluxisskin_toGenericManiaWithLayout(this.__wbg_ptr, layout.__wbg_ptr);
910
+ toGenericMania() {
911
+ const ret = wasm.fluxisskin_toGenericMania(this.__wbg_ptr);
873
912
  if (ret[2]) {
874
913
  throw takeFromExternrefTable0(ret[1]);
875
914
  }
@@ -888,12 +927,13 @@ class FluXisSkin {
888
927
  return FluXisSkinWithLayout.__wrap(ret[0]);
889
928
  }
890
929
  /**
891
- * @param {number} keymode
892
- * @returns {FluXisKeymode | undefined}
930
+ * @returns {string[]}
893
931
  */
894
- getKeymode(keymode) {
895
- const ret = wasm.fluxisskin_getKeymode(this.__wbg_ptr, keymode);
896
- return ret === 0 ? undefined : FluXisKeymode.__wrap(ret);
932
+ getRequiredSamplePaths() {
933
+ const ret = wasm.fluxisskin_getRequiredSamplePaths(this.__wbg_ptr);
934
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
935
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
936
+ return v1;
897
937
  }
898
938
  /**
899
939
  * @returns {string[]}
@@ -905,13 +945,16 @@ class FluXisSkin {
905
945
  return v1;
906
946
  }
907
947
  /**
908
- * @returns {string[]}
948
+ * @param {FluXisLayout} layout
949
+ * @returns {GenericManiaSkin}
909
950
  */
910
- getRequiredSamplePaths() {
911
- const ret = wasm.fluxisskin_getRequiredSamplePaths(this.__wbg_ptr);
912
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
913
- wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
914
- return v1;
951
+ toGenericManiaWithLayout(layout) {
952
+ _assertClass(layout, FluXisLayout);
953
+ const ret = wasm.fluxisskin_toGenericManiaWithLayout(this.__wbg_ptr, layout.__wbg_ptr);
954
+ if (ret[2]) {
955
+ throw takeFromExternrefTable0(ret[1]);
956
+ }
957
+ return GenericManiaSkin.__wrap(ret[0]);
915
958
  }
916
959
  }
917
960
  if (Symbol.dispose) FluXisSkin.prototype[Symbol.dispose] = FluXisSkin.prototype.free;
@@ -1322,6 +1365,14 @@ class GenericManiaSkin {
1322
1365
  var ptr0 = arg0.__destroy_into_raw();
1323
1366
  wasm.__wbg_set_genericmaniaskin_samples(this.__wbg_ptr, ptr0);
1324
1367
  }
1368
+ /**
1369
+ * @param {number} keymode
1370
+ * @returns {Keymode | undefined}
1371
+ */
1372
+ getKeymode(keymode) {
1373
+ const ret = wasm.genericmaniaskin_getKeymode(this.__wbg_ptr, keymode);
1374
+ return ret === 0 ? undefined : Keymode.__wrap(ret);
1375
+ }
1325
1376
  /**
1326
1377
  * @returns {GenericManiaSkin}
1327
1378
  */
@@ -1344,19 +1395,11 @@ class GenericManiaSkin {
1344
1395
  }
1345
1396
  return GenericManiaSkin.__wrap(ret[0]);
1346
1397
  }
1347
- /**
1348
- * @param {number} keymode
1349
- * @returns {Keymode | undefined}
1350
- */
1351
- getKeymode(keymode) {
1352
- const ret = wasm.genericmaniaskin_getKeymode(this.__wbg_ptr, keymode);
1353
- return ret === 0 ? undefined : Keymode.__wrap(ret);
1354
- }
1355
1398
  /**
1356
1399
  * @returns {string[]}
1357
1400
  */
1358
- getRequiredTexturePaths() {
1359
- const ret = wasm.genericmaniaskin_getRequiredTexturePaths(this.__wbg_ptr);
1401
+ getRequiredSamplePaths() {
1402
+ const ret = wasm.genericmaniaskin_getRequiredSamplePaths(this.__wbg_ptr);
1360
1403
  var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
1361
1404
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1362
1405
  return v1;
@@ -1364,8 +1407,8 @@ class GenericManiaSkin {
1364
1407
  /**
1365
1408
  * @returns {string[]}
1366
1409
  */
1367
- getRequiredSamplePaths() {
1368
- const ret = wasm.genericmaniaskin_getRequiredSamplePaths(this.__wbg_ptr);
1410
+ getRequiredTexturePaths() {
1411
+ const ret = wasm.genericmaniaskin_getRequiredTexturePaths(this.__wbg_ptr);
1369
1412
  var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
1370
1413
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1371
1414
  return v1;
@@ -1374,14 +1417,54 @@ class GenericManiaSkin {
1374
1417
  if (Symbol.dispose) GenericManiaSkin.prototype[Symbol.dispose] = GenericManiaSkin.prototype.free;
1375
1418
  exports.GenericManiaSkin = GenericManiaSkin;
1376
1419
 
1377
- class Info {
1378
- static __wrap(ptr) {
1379
- ptr = ptr >>> 0;
1380
- const obj = Object.create(Info.prototype);
1381
- obj.__wbg_ptr = ptr;
1382
- InfoFinalization.register(obj, obj.__wbg_ptr, obj);
1383
- return obj;
1384
- }
1420
+ /**
1421
+ * @enum {0 | 1 | 2}
1422
+ */
1423
+ const HealthBarKeysAlignment = Object.freeze({
1424
+ LeftStage: 0, "0": "LeftStage",
1425
+ RightStage: 1, "1": "RightStage",
1426
+ TopLeft: 2, "2": "TopLeft",
1427
+ });
1428
+ exports.HealthBarKeysAlignment = HealthBarKeysAlignment;
1429
+
1430
+ /**
1431
+ * @enum {0 | 1}
1432
+ */
1433
+ const HealthBarType = Object.freeze({
1434
+ Horizontal: 0, "0": "Horizontal",
1435
+ Vertical: 1, "1": "Vertical",
1436
+ });
1437
+ exports.HealthBarType = HealthBarType;
1438
+
1439
+ /**
1440
+ * @enum {0 | 1 | 2}
1441
+ */
1442
+ const HitBubblesAlignment = Object.freeze({
1443
+ LeftStage: 0, "0": "LeftStage",
1444
+ RightStage: 1, "1": "RightStage",
1445
+ BelowStage: 2, "2": "BelowStage",
1446
+ });
1447
+ exports.HitBubblesAlignment = HitBubblesAlignment;
1448
+
1449
+ /**
1450
+ * @enum {0 | 1 | 2 | 3}
1451
+ */
1452
+ const HitBubblesType = Object.freeze({
1453
+ FallDown: 0, "0": "FallDown",
1454
+ FallUp: 1, "1": "FallUp",
1455
+ FallLeft: 2, "2": "FallLeft",
1456
+ FallRight: 3, "3": "FallRight",
1457
+ });
1458
+ exports.HitBubblesType = HitBubblesType;
1459
+
1460
+ class Info {
1461
+ static __wrap(ptr) {
1462
+ ptr = ptr >>> 0;
1463
+ const obj = Object.create(Info.prototype);
1464
+ obj.__wbg_ptr = ptr;
1465
+ InfoFinalization.register(obj, obj.__wbg_ptr, obj);
1466
+ return obj;
1467
+ }
1385
1468
  __destroy_into_raw() {
1386
1469
  const ptr = this.__wbg_ptr;
1387
1470
  this.__wbg_ptr = 0;
@@ -1484,17 +1567,17 @@ class Keymode {
1484
1567
  wasm.__wbg_keymode_free(ptr, 0);
1485
1568
  }
1486
1569
  /**
1487
- * @param {string} content
1488
- * @returns {OsuKeymode}
1570
+ * @returns {number}
1489
1571
  */
1490
- static fromStr(content) {
1491
- const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1492
- const len0 = WASM_VECTOR_LEN;
1493
- const ret = wasm.keymode_fromStr(ptr0, len0);
1494
- if (ret[2]) {
1495
- throw takeFromExternrefTable0(ret[1]);
1496
- }
1497
- return OsuKeymode.__wrap(ret[0]);
1572
+ get keymode() {
1573
+ const ret = wasm.__wbg_get_keymode_keymode(this.__wbg_ptr);
1574
+ return ret;
1575
+ }
1576
+ /**
1577
+ * @param {number} arg0
1578
+ */
1579
+ set keymode(arg0) {
1580
+ wasm.__wbg_set_keymode_keymode(this.__wbg_ptr, arg0);
1498
1581
  }
1499
1582
  /**
1500
1583
  * @returns {string}
@@ -1511,6 +1594,19 @@ class Keymode {
1511
1594
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1512
1595
  }
1513
1596
  }
1597
+ /**
1598
+ * @param {string} content
1599
+ * @returns {OsuKeymode}
1600
+ */
1601
+ static fromStr(content) {
1602
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1603
+ const len0 = WASM_VECTOR_LEN;
1604
+ const ret = wasm.keymode_fromStr(ptr0, len0);
1605
+ if (ret[2]) {
1606
+ throw takeFromExternrefTable0(ret[1]);
1607
+ }
1608
+ return OsuKeymode.__wrap(ret[0]);
1609
+ }
1514
1610
  /**
1515
1611
  * @returns {string[]}
1516
1612
  */
@@ -1520,22 +1616,148 @@ class Keymode {
1520
1616
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
1521
1617
  return v1;
1522
1618
  }
1619
+ }
1620
+ if (Symbol.dispose) Keymode.prototype[Symbol.dispose] = Keymode.prototype.free;
1621
+ exports.Keymode = Keymode;
1622
+
1623
+ class MainMenu {
1624
+ static __wrap(ptr) {
1625
+ ptr = ptr >>> 0;
1626
+ const obj = Object.create(MainMenu.prototype);
1627
+ obj.__wbg_ptr = ptr;
1628
+ MainMenuFinalization.register(obj, obj.__wbg_ptr, obj);
1629
+ return obj;
1630
+ }
1631
+ __destroy_into_raw() {
1632
+ const ptr = this.__wbg_ptr;
1633
+ this.__wbg_ptr = 0;
1634
+ MainMenuFinalization.unregister(this);
1635
+ return ptr;
1636
+ }
1637
+ free() {
1638
+ const ptr = this.__destroy_into_raw();
1639
+ wasm.__wbg_mainmenu_free(ptr, 0);
1640
+ }
1523
1641
  /**
1524
1642
  * @returns {number}
1525
1643
  */
1526
- get keymode() {
1527
- const ret = wasm.__wbg_get_keymode_keymode(this.__wbg_ptr);
1644
+ get navigation_button_hovered_alpha() {
1645
+ const ret = wasm.__wbg_get_mainmenu_navigation_button_hovered_alpha(this.__wbg_ptr);
1528
1646
  return ret;
1529
1647
  }
1530
1648
  /**
1531
1649
  * @param {number} arg0
1532
1650
  */
1533
- set keymode(arg0) {
1534
- wasm.__wbg_set_keymode_keymode(this.__wbg_ptr, arg0);
1651
+ set navigation_button_hovered_alpha(arg0) {
1652
+ wasm.__wbg_set_mainmenu_navigation_button_hovered_alpha(this.__wbg_ptr, arg0);
1653
+ }
1654
+ /**
1655
+ * @returns {number}
1656
+ */
1657
+ get audio_visualizer_opacity() {
1658
+ const ret = wasm.__wbg_get_mainmenu_audio_visualizer_opacity(this.__wbg_ptr);
1659
+ return ret;
1660
+ }
1661
+ /**
1662
+ * @param {number} arg0
1663
+ */
1664
+ set audio_visualizer_opacity(arg0) {
1665
+ wasm.__wbg_set_mainmenu_audio_visualizer_opacity(this.__wbg_ptr, arg0);
1666
+ }
1667
+ /**
1668
+ * @returns {number}
1669
+ */
1670
+ get note_visualizer_opacity() {
1671
+ const ret = wasm.__wbg_get_mainmenu_note_visualizer_opacity(this.__wbg_ptr);
1672
+ return ret;
1673
+ }
1674
+ /**
1675
+ * @param {number} arg0
1676
+ */
1677
+ set note_visualizer_opacity(arg0) {
1678
+ wasm.__wbg_set_mainmenu_note_visualizer_opacity(this.__wbg_ptr, arg0);
1679
+ }
1680
+ /**
1681
+ * @param {string} content
1682
+ * @returns {MainMenu}
1683
+ */
1684
+ static fromStr(content) {
1685
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1686
+ const len0 = WASM_VECTOR_LEN;
1687
+ const ret = wasm.mainmenu_fromStr(ptr0, len0);
1688
+ if (ret[2]) {
1689
+ throw takeFromExternrefTable0(ret[1]);
1690
+ }
1691
+ return MainMenu.__wrap(ret[0]);
1692
+ }
1693
+ /**
1694
+ * @returns {string}
1695
+ */
1696
+ toString() {
1697
+ let deferred1_0;
1698
+ let deferred1_1;
1699
+ try {
1700
+ const ret = wasm.mainmenu_toString(this.__wbg_ptr);
1701
+ deferred1_0 = ret[0];
1702
+ deferred1_1 = ret[1];
1703
+ return getStringFromWasm0(ret[0], ret[1]);
1704
+ } finally {
1705
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1706
+ }
1535
1707
  }
1536
1708
  }
1537
- if (Symbol.dispose) Keymode.prototype[Symbol.dispose] = Keymode.prototype.free;
1538
- exports.Keymode = Keymode;
1709
+ if (Symbol.dispose) MainMenu.prototype[Symbol.dispose] = MainMenu.prototype.free;
1710
+ exports.MainMenu = MainMenu;
1711
+
1712
+ class MenuBorder {
1713
+ static __wrap(ptr) {
1714
+ ptr = ptr >>> 0;
1715
+ const obj = Object.create(MenuBorder.prototype);
1716
+ obj.__wbg_ptr = ptr;
1717
+ MenuBorderFinalization.register(obj, obj.__wbg_ptr, obj);
1718
+ return obj;
1719
+ }
1720
+ __destroy_into_raw() {
1721
+ const ptr = this.__wbg_ptr;
1722
+ this.__wbg_ptr = 0;
1723
+ MenuBorderFinalization.unregister(this);
1724
+ return ptr;
1725
+ }
1726
+ free() {
1727
+ const ptr = this.__destroy_into_raw();
1728
+ wasm.__wbg_menuborder_free(ptr, 0);
1729
+ }
1730
+ /**
1731
+ * @param {string} content
1732
+ * @returns {MenuBorder}
1733
+ */
1734
+ static fromStr(content) {
1735
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1736
+ const len0 = WASM_VECTOR_LEN;
1737
+ const ret = wasm.menuborder_fromStr(ptr0, len0);
1738
+ if (ret[2]) {
1739
+ throw takeFromExternrefTable0(ret[1]);
1740
+ }
1741
+ return MenuBorder.__wrap(ret[0]);
1742
+ }
1743
+ /**
1744
+ * @returns {string}
1745
+ */
1746
+ toString() {
1747
+ let deferred1_0;
1748
+ let deferred1_1;
1749
+ try {
1750
+ const ret = wasm.menuborder_toString(this.__wbg_ptr);
1751
+ deferred1_0 = ret[0];
1752
+ deferred1_1 = ret[1];
1753
+ return getStringFromWasm0(ret[0], ret[1]);
1754
+ } finally {
1755
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1756
+ }
1757
+ }
1758
+ }
1759
+ if (Symbol.dispose) MenuBorder.prototype[Symbol.dispose] = MenuBorder.prototype.free;
1760
+ exports.MenuBorder = MenuBorder;
1539
1761
 
1540
1762
  class OsuKeymode {
1541
1763
  static __wrap(ptr) {
@@ -2388,7 +2610,7 @@ class OsuSkin {
2388
2610
  * @returns {TextureStore}
2389
2611
  */
2390
2612
  get textures() {
2391
- const ret = wasm.__wbg_get_osuskin_textures(this.__wbg_ptr);
2613
+ const ret = wasm.__wbg_get_genericmaniaskin_textures(this.__wbg_ptr);
2392
2614
  return TextureStore.__wrap(ret);
2393
2615
  }
2394
2616
  /**
@@ -2397,13 +2619,13 @@ class OsuSkin {
2397
2619
  set textures(arg0) {
2398
2620
  _assertClass(arg0, TextureStore);
2399
2621
  var ptr0 = arg0.__destroy_into_raw();
2400
- wasm.__wbg_set_osuskin_textures(this.__wbg_ptr, ptr0);
2622
+ wasm.__wbg_set_genericmaniaskin_textures(this.__wbg_ptr, ptr0);
2401
2623
  }
2402
2624
  /**
2403
2625
  * @returns {BinaryStore}
2404
2626
  */
2405
2627
  get samples() {
2406
- const ret = wasm.__wbg_get_osuskin_samples(this.__wbg_ptr);
2628
+ const ret = wasm.__wbg_get_genericmaniaskin_samples(this.__wbg_ptr);
2407
2629
  return BinaryStore.__wrap(ret);
2408
2630
  }
2409
2631
  /**
@@ -2412,7 +2634,7 @@ class OsuSkin {
2412
2634
  set samples(arg0) {
2413
2635
  _assertClass(arg0, BinaryStore);
2414
2636
  var ptr0 = arg0.__destroy_into_raw();
2415
- wasm.__wbg_set_osuskin_samples(this.__wbg_ptr, ptr0);
2637
+ wasm.__wbg_set_genericmaniaskin_samples(this.__wbg_ptr, ptr0);
2416
2638
  }
2417
2639
  /**
2418
2640
  * @param {OsuSkinIni} skin_ini
@@ -2437,6 +2659,14 @@ class OsuSkin {
2437
2659
  OsuSkinFinalization.register(this, this.__wbg_ptr, this);
2438
2660
  return this;
2439
2661
  }
2662
+ /**
2663
+ * @param {number} keymode
2664
+ * @returns {OsuKeymode | undefined}
2665
+ */
2666
+ getKeymode(keymode) {
2667
+ const ret = wasm.osuskin_getKeymode(this.__wbg_ptr, keymode);
2668
+ return ret === 0 ? undefined : OsuKeymode.__wrap(ret);
2669
+ }
2440
2670
  /**
2441
2671
  * @returns {GenericManiaSkin}
2442
2672
  */
@@ -2459,19 +2689,11 @@ class OsuSkin {
2459
2689
  }
2460
2690
  return OsuSkin.__wrap(ret[0]);
2461
2691
  }
2462
- /**
2463
- * @param {number} keymode
2464
- * @returns {OsuKeymode | undefined}
2465
- */
2466
- getKeymode(keymode) {
2467
- const ret = wasm.osuskin_getKeymode(this.__wbg_ptr, keymode);
2468
- return ret === 0 ? undefined : OsuKeymode.__wrap(ret);
2469
- }
2470
2692
  /**
2471
2693
  * @returns {string[]}
2472
2694
  */
2473
- getRequiredTexturePaths() {
2474
- const ret = wasm.osuskin_getRequiredTexturePaths(this.__wbg_ptr);
2695
+ getRequiredSamplePaths() {
2696
+ const ret = wasm.osuskin_getRequiredSamplePaths(this.__wbg_ptr);
2475
2697
  var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2476
2698
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2477
2699
  return v1;
@@ -2479,8 +2701,8 @@ class OsuSkin {
2479
2701
  /**
2480
2702
  * @returns {string[]}
2481
2703
  */
2482
- getRequiredSamplePaths() {
2483
- const ret = wasm.osuskin_getRequiredSamplePaths(this.__wbg_ptr);
2704
+ getRequiredTexturePaths() {
2705
+ const ret = wasm.osuskin_getRequiredTexturePaths(this.__wbg_ptr);
2484
2706
  var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2485
2707
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2486
2708
  return v1;
@@ -2539,12 +2761,6 @@ class OsuSkinIni {
2539
2761
  const len0 = WASM_VECTOR_LEN;
2540
2762
  wasm.__wbg_set_osuskinini_keymodes(this.__wbg_ptr, ptr0, len0);
2541
2763
  }
2542
- constructor() {
2543
- const ret = wasm.osuskinini_new();
2544
- this.__wbg_ptr = ret >>> 0;
2545
- OsuSkinIniFinalization.register(this, this.__wbg_ptr, this);
2546
- return this;
2547
- }
2548
2764
  /**
2549
2765
  * @param {string} json_str
2550
2766
  * @returns {OsuSkinIni}
@@ -2574,13 +2790,12 @@ class OsuSkinIni {
2574
2790
  }
2575
2791
  }
2576
2792
  /**
2577
- * @returns {string[]}
2793
+ * @param {number} keymode
2794
+ * @returns {OsuKeymode | undefined}
2578
2795
  */
2579
- getRequiredTexturePaths() {
2580
- const ret = wasm.osuskinini_getRequiredTexturePaths(this.__wbg_ptr);
2581
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2582
- wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2583
- return v1;
2796
+ getKeymode(keymode) {
2797
+ const ret = wasm.osuskinini_getKeymode(this.__wbg_ptr, keymode);
2798
+ return ret === 0 ? undefined : OsuKeymode.__wrap(ret);
2584
2799
  }
2585
2800
  /**
2586
2801
  * @returns {string[]}
@@ -2592,43 +2807,50 @@ class OsuSkinIni {
2592
2807
  return v1;
2593
2808
  }
2594
2809
  /**
2595
- * @param {number} keymode
2596
- * @returns {OsuKeymode | undefined}
2810
+ * @returns {string[]}
2597
2811
  */
2598
- getKeymode(keymode) {
2599
- const ret = wasm.osuskinini_getKeymode(this.__wbg_ptr, keymode);
2600
- return ret === 0 ? undefined : OsuKeymode.__wrap(ret);
2812
+ getRequiredTexturePaths() {
2813
+ const ret = wasm.osuskinini_getRequiredTexturePaths(this.__wbg_ptr);
2814
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2815
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2816
+ return v1;
2817
+ }
2818
+ constructor() {
2819
+ const ret = wasm.osuskinini_new();
2820
+ this.__wbg_ptr = ret >>> 0;
2821
+ OsuSkinIniFinalization.register(this, this.__wbg_ptr, this);
2822
+ return this;
2601
2823
  }
2602
2824
  }
2603
2825
  if (Symbol.dispose) OsuSkinIni.prototype[Symbol.dispose] = OsuSkinIni.prototype.free;
2604
2826
  exports.OsuSkinIni = OsuSkinIni;
2605
2827
 
2606
- class RawBytes {
2828
+ class QuaGeneral {
2607
2829
  static __wrap(ptr) {
2608
2830
  ptr = ptr >>> 0;
2609
- const obj = Object.create(RawBytes.prototype);
2831
+ const obj = Object.create(QuaGeneral.prototype);
2610
2832
  obj.__wbg_ptr = ptr;
2611
- RawBytesFinalization.register(obj, obj.__wbg_ptr, obj);
2833
+ QuaGeneralFinalization.register(obj, obj.__wbg_ptr, obj);
2612
2834
  return obj;
2613
2835
  }
2614
2836
  __destroy_into_raw() {
2615
2837
  const ptr = this.__wbg_ptr;
2616
2838
  this.__wbg_ptr = 0;
2617
- RawBytesFinalization.unregister(this);
2839
+ QuaGeneralFinalization.unregister(this);
2618
2840
  return ptr;
2619
2841
  }
2620
2842
  free() {
2621
2843
  const ptr = this.__destroy_into_raw();
2622
- wasm.__wbg_rawbytes_free(ptr, 0);
2844
+ wasm.__wbg_quageneral_free(ptr, 0);
2623
2845
  }
2624
2846
  /**
2625
2847
  * @returns {string}
2626
2848
  */
2627
- get path() {
2849
+ get name() {
2628
2850
  let deferred1_0;
2629
2851
  let deferred1_1;
2630
2852
  try {
2631
- const ret = wasm.__wbg_get_rawbytes_path(this.__wbg_ptr);
2853
+ const ret = wasm.__wbg_get_quageneral_name(this.__wbg_ptr);
2632
2854
  deferred1_0 = ret[0];
2633
2855
  deferred1_1 = ret[1];
2634
2856
  return getStringFromWasm0(ret[0], ret[1]);
@@ -2639,34 +2861,1693 @@ class RawBytes {
2639
2861
  /**
2640
2862
  * @param {string} arg0
2641
2863
  */
2642
- set path(arg0) {
2864
+ set name(arg0) {
2643
2865
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2644
2866
  const len0 = WASM_VECTOR_LEN;
2645
- wasm.__wbg_set_rawbytes_path(this.__wbg_ptr, ptr0, len0);
2867
+ wasm.__wbg_set_general_name(this.__wbg_ptr, ptr0, len0);
2646
2868
  }
2647
2869
  /**
2648
- * @param {string} path
2870
+ * @returns {string}
2649
2871
  */
2650
- constructor(path) {
2651
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2652
- const len0 = WASM_VECTOR_LEN;
2653
- const ret = wasm.rawbytes_new(ptr0, len0);
2654
- this.__wbg_ptr = ret >>> 0;
2655
- RawBytesFinalization.register(this, this.__wbg_ptr, this);
2656
- return this;
2872
+ get author() {
2873
+ let deferred1_0;
2874
+ let deferred1_1;
2875
+ try {
2876
+ const ret = wasm.__wbg_get_quageneral_author(this.__wbg_ptr);
2877
+ deferred1_0 = ret[0];
2878
+ deferred1_1 = ret[1];
2879
+ return getStringFromWasm0(ret[0], ret[1]);
2880
+ } finally {
2881
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2882
+ }
2657
2883
  }
2658
2884
  /**
2659
- * @param {string} path
2660
- * @param {Uint8Array} bytes
2661
- * @returns {RawBytes}
2885
+ * @param {string} arg0
2662
2886
  */
2663
- static fromBytes(path, bytes) {
2664
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2665
- const len0 = WASM_VECTOR_LEN;
2666
- const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
2667
- const len1 = WASM_VECTOR_LEN;
2668
- const ret = wasm.rawbytes_fromBytes(ptr0, len0, ptr1, len1);
2669
- return RawBytes.__wrap(ret);
2887
+ set author(arg0) {
2888
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2889
+ const len0 = WASM_VECTOR_LEN;
2890
+ wasm.__wbg_set_general_author(this.__wbg_ptr, ptr0, len0);
2891
+ }
2892
+ /**
2893
+ * @returns {string}
2894
+ */
2895
+ get version() {
2896
+ let deferred1_0;
2897
+ let deferred1_1;
2898
+ try {
2899
+ const ret = wasm.__wbg_get_quageneral_version(this.__wbg_ptr);
2900
+ deferred1_0 = ret[0];
2901
+ deferred1_1 = ret[1];
2902
+ return getStringFromWasm0(ret[0], ret[1]);
2903
+ } finally {
2904
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2905
+ }
2906
+ }
2907
+ /**
2908
+ * @param {string} arg0
2909
+ */
2910
+ set version(arg0) {
2911
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2912
+ const len0 = WASM_VECTOR_LEN;
2913
+ wasm.__wbg_set_general_version(this.__wbg_ptr, ptr0, len0);
2914
+ }
2915
+ /**
2916
+ * @returns {boolean}
2917
+ */
2918
+ get center_cursor() {
2919
+ const ret = wasm.__wbg_get_quageneral_center_cursor(this.__wbg_ptr);
2920
+ return ret !== 0;
2921
+ }
2922
+ /**
2923
+ * @param {boolean} arg0
2924
+ */
2925
+ set center_cursor(arg0) {
2926
+ wasm.__wbg_set_quageneral_center_cursor(this.__wbg_ptr, arg0);
2927
+ }
2928
+ /**
2929
+ * @returns {boolean}
2930
+ */
2931
+ get use_skin_backgrounds() {
2932
+ const ret = wasm.__wbg_get_quageneral_use_skin_backgrounds(this.__wbg_ptr);
2933
+ return ret !== 0;
2934
+ }
2935
+ /**
2936
+ * @param {boolean} arg0
2937
+ */
2938
+ set use_skin_backgrounds(arg0) {
2939
+ wasm.__wbg_set_quageneral_use_skin_backgrounds(this.__wbg_ptr, arg0);
2940
+ }
2941
+ /**
2942
+ * @param {string} content
2943
+ * @returns {QuaGeneral}
2944
+ */
2945
+ static fromStr(content) {
2946
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2947
+ const len0 = WASM_VECTOR_LEN;
2948
+ const ret = wasm.quageneral_fromStr(ptr0, len0);
2949
+ if (ret[2]) {
2950
+ throw takeFromExternrefTable0(ret[1]);
2951
+ }
2952
+ return QuaGeneral.__wrap(ret[0]);
2953
+ }
2954
+ /**
2955
+ * @returns {string}
2956
+ */
2957
+ toString() {
2958
+ let deferred1_0;
2959
+ let deferred1_1;
2960
+ try {
2961
+ const ret = wasm.quageneral_toString(this.__wbg_ptr);
2962
+ deferred1_0 = ret[0];
2963
+ deferred1_1 = ret[1];
2964
+ return getStringFromWasm0(ret[0], ret[1]);
2965
+ } finally {
2966
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2967
+ }
2968
+ }
2969
+ }
2970
+ if (Symbol.dispose) QuaGeneral.prototype[Symbol.dispose] = QuaGeneral.prototype.free;
2971
+ exports.QuaGeneral = QuaGeneral;
2972
+
2973
+ class QuaKeymode {
2974
+ static __wrap(ptr) {
2975
+ ptr = ptr >>> 0;
2976
+ const obj = Object.create(QuaKeymode.prototype);
2977
+ obj.__wbg_ptr = ptr;
2978
+ QuaKeymodeFinalization.register(obj, obj.__wbg_ptr, obj);
2979
+ return obj;
2980
+ }
2981
+ static __unwrap(jsValue) {
2982
+ if (!(jsValue instanceof QuaKeymode)) {
2983
+ return 0;
2984
+ }
2985
+ return jsValue.__destroy_into_raw();
2986
+ }
2987
+ __destroy_into_raw() {
2988
+ const ptr = this.__wbg_ptr;
2989
+ this.__wbg_ptr = 0;
2990
+ QuaKeymodeFinalization.unregister(this);
2991
+ return ptr;
2992
+ }
2993
+ free() {
2994
+ const ptr = this.__destroy_into_raw();
2995
+ wasm.__wbg_quakeymode_free(ptr, 0);
2996
+ }
2997
+ /**
2998
+ * @returns {number}
2999
+ */
3000
+ get keymode() {
3001
+ const ret = wasm.__wbg_get_quakeymode_keymode(this.__wbg_ptr);
3002
+ return ret;
3003
+ }
3004
+ /**
3005
+ * @param {number} arg0
3006
+ */
3007
+ set keymode(arg0) {
3008
+ wasm.__wbg_set_quakeymode_keymode(this.__wbg_ptr, arg0);
3009
+ }
3010
+ /**
3011
+ * @returns {DefaultSkin}
3012
+ */
3013
+ get default_skin() {
3014
+ const ret = wasm.__wbg_get_quakeymode_default_skin(this.__wbg_ptr);
3015
+ return ret;
3016
+ }
3017
+ /**
3018
+ * @param {DefaultSkin} arg0
3019
+ */
3020
+ set default_skin(arg0) {
3021
+ wasm.__wbg_set_quakeymode_default_skin(this.__wbg_ptr, arg0);
3022
+ }
3023
+ /**
3024
+ * @returns {boolean}
3025
+ */
3026
+ get color_objects_by_snap_distance() {
3027
+ const ret = wasm.__wbg_get_quakeymode_color_objects_by_snap_distance(this.__wbg_ptr);
3028
+ return ret !== 0;
3029
+ }
3030
+ /**
3031
+ * @param {boolean} arg0
3032
+ */
3033
+ set color_objects_by_snap_distance(arg0) {
3034
+ wasm.__wbg_set_quakeymode_color_objects_by_snap_distance(this.__wbg_ptr, arg0);
3035
+ }
3036
+ /**
3037
+ * @returns {boolean}
3038
+ */
3039
+ get use_hit_object_sheet() {
3040
+ const ret = wasm.__wbg_get_quakeymode_use_hit_object_sheet(this.__wbg_ptr);
3041
+ return ret !== 0;
3042
+ }
3043
+ /**
3044
+ * @param {boolean} arg0
3045
+ */
3046
+ set use_hit_object_sheet(arg0) {
3047
+ wasm.__wbg_set_quakeymode_use_hit_object_sheet(this.__wbg_ptr, arg0);
3048
+ }
3049
+ /**
3050
+ * @returns {boolean}
3051
+ */
3052
+ get rotate_hit_objects_by_column() {
3053
+ const ret = wasm.__wbg_get_quakeymode_rotate_hit_objects_by_column(this.__wbg_ptr);
3054
+ return ret !== 0;
3055
+ }
3056
+ /**
3057
+ * @param {boolean} arg0
3058
+ */
3059
+ set rotate_hit_objects_by_column(arg0) {
3060
+ wasm.__wbg_set_quakeymode_rotate_hit_objects_by_column(this.__wbg_ptr, arg0);
3061
+ }
3062
+ /**
3063
+ * @returns {boolean}
3064
+ */
3065
+ get flip_note_images_on_upscroll() {
3066
+ const ret = wasm.__wbg_get_quakeymode_flip_note_images_on_upscroll(this.__wbg_ptr);
3067
+ return ret !== 0;
3068
+ }
3069
+ /**
3070
+ * @param {boolean} arg0
3071
+ */
3072
+ set flip_note_images_on_upscroll(arg0) {
3073
+ wasm.__wbg_set_quakeymode_flip_note_images_on_upscroll(this.__wbg_ptr, arg0);
3074
+ }
3075
+ /**
3076
+ * @returns {boolean}
3077
+ */
3078
+ get flip_note_end_images_on_upscroll() {
3079
+ const ret = wasm.__wbg_get_quakeymode_flip_note_end_images_on_upscroll(this.__wbg_ptr);
3080
+ return ret !== 0;
3081
+ }
3082
+ /**
3083
+ * @param {boolean} arg0
3084
+ */
3085
+ set flip_note_end_images_on_upscroll(arg0) {
3086
+ wasm.__wbg_set_quakeymode_flip_note_end_images_on_upscroll(this.__wbg_ptr, arg0);
3087
+ }
3088
+ /**
3089
+ * @returns {boolean}
3090
+ */
3091
+ get draw_long_note_end() {
3092
+ const ret = wasm.__wbg_get_quakeymode_draw_long_note_end(this.__wbg_ptr);
3093
+ return ret !== 0;
3094
+ }
3095
+ /**
3096
+ * @param {boolean} arg0
3097
+ */
3098
+ set draw_long_note_end(arg0) {
3099
+ wasm.__wbg_set_quakeymode_draw_long_note_end(this.__wbg_ptr, arg0);
3100
+ }
3101
+ /**
3102
+ * @returns {number}
3103
+ */
3104
+ get note_padding() {
3105
+ const ret = wasm.__wbg_get_quakeymode_note_padding(this.__wbg_ptr);
3106
+ return ret;
3107
+ }
3108
+ /**
3109
+ * @param {number} arg0
3110
+ */
3111
+ set note_padding(arg0) {
3112
+ wasm.__wbg_set_quakeymode_note_padding(this.__wbg_ptr, arg0);
3113
+ }
3114
+ /**
3115
+ * @returns {number}
3116
+ */
3117
+ get width_for_note_height_scale() {
3118
+ const ret = wasm.__wbg_get_quakeymode_width_for_note_height_scale(this.__wbg_ptr);
3119
+ return ret;
3120
+ }
3121
+ /**
3122
+ * @param {number} arg0
3123
+ */
3124
+ set width_for_note_height_scale(arg0) {
3125
+ wasm.__wbg_set_quakeymode_width_for_note_height_scale(this.__wbg_ptr, arg0);
3126
+ }
3127
+ /**
3128
+ * @returns {number}
3129
+ */
3130
+ get bg_mask_alpha() {
3131
+ const ret = wasm.__wbg_get_quakeymode_bg_mask_alpha(this.__wbg_ptr);
3132
+ return ret;
3133
+ }
3134
+ /**
3135
+ * @param {number} arg0
3136
+ */
3137
+ set bg_mask_alpha(arg0) {
3138
+ wasm.__wbg_set_quakeymode_bg_mask_alpha(this.__wbg_ptr, arg0);
3139
+ }
3140
+ /**
3141
+ * @returns {number}
3142
+ */
3143
+ get bg_mask_padding() {
3144
+ const ret = wasm.__wbg_get_quakeymode_bg_mask_padding(this.__wbg_ptr);
3145
+ return ret;
3146
+ }
3147
+ /**
3148
+ * @param {number} arg0
3149
+ */
3150
+ set bg_mask_padding(arg0) {
3151
+ wasm.__wbg_set_quakeymode_bg_mask_padding(this.__wbg_ptr, arg0);
3152
+ }
3153
+ /**
3154
+ * @returns {number}
3155
+ */
3156
+ get column_alignment() {
3157
+ const ret = wasm.__wbg_get_quakeymode_column_alignment(this.__wbg_ptr);
3158
+ return ret;
3159
+ }
3160
+ /**
3161
+ * @param {number} arg0
3162
+ */
3163
+ set column_alignment(arg0) {
3164
+ wasm.__wbg_set_quakeymode_column_alignment(this.__wbg_ptr, arg0);
3165
+ }
3166
+ /**
3167
+ * @returns {number}
3168
+ */
3169
+ get column_size() {
3170
+ const ret = wasm.__wbg_get_quakeymode_column_size(this.__wbg_ptr);
3171
+ return ret;
3172
+ }
3173
+ /**
3174
+ * @param {number} arg0
3175
+ */
3176
+ set column_size(arg0) {
3177
+ wasm.__wbg_set_quakeymode_column_size(this.__wbg_ptr, arg0);
3178
+ }
3179
+ /**
3180
+ * @returns {number}
3181
+ */
3182
+ get column_lighting_offset_y() {
3183
+ const ret = wasm.__wbg_get_quakeymode_column_lighting_offset_y(this.__wbg_ptr);
3184
+ return ret;
3185
+ }
3186
+ /**
3187
+ * @param {number} arg0
3188
+ */
3189
+ set column_lighting_offset_y(arg0) {
3190
+ wasm.__wbg_set_quakeymode_column_lighting_offset_y(this.__wbg_ptr, arg0);
3191
+ }
3192
+ /**
3193
+ * @returns {number}
3194
+ */
3195
+ get column_lighting_scale() {
3196
+ const ret = wasm.__wbg_get_quakeymode_column_lighting_scale(this.__wbg_ptr);
3197
+ return ret;
3198
+ }
3199
+ /**
3200
+ * @param {number} arg0
3201
+ */
3202
+ set column_lighting_scale(arg0) {
3203
+ wasm.__wbg_set_quakeymode_column_lighting_scale(this.__wbg_ptr, arg0);
3204
+ }
3205
+ /**
3206
+ * @returns {number}
3207
+ */
3208
+ get hit_pos_offset_y() {
3209
+ const ret = wasm.__wbg_get_quakeymode_hit_pos_offset_y(this.__wbg_ptr);
3210
+ return ret;
3211
+ }
3212
+ /**
3213
+ * @param {number} arg0
3214
+ */
3215
+ set hit_pos_offset_y(arg0) {
3216
+ wasm.__wbg_set_quakeymode_hit_pos_offset_y(this.__wbg_ptr, arg0);
3217
+ }
3218
+ /**
3219
+ * @returns {number}
3220
+ */
3221
+ get receptor_pos_offset_y() {
3222
+ const ret = wasm.__wbg_get_quakeymode_receptor_pos_offset_y(this.__wbg_ptr);
3223
+ return ret;
3224
+ }
3225
+ /**
3226
+ * @param {number} arg0
3227
+ */
3228
+ set receptor_pos_offset_y(arg0) {
3229
+ wasm.__wbg_set_quakeymode_receptor_pos_offset_y(this.__wbg_ptr, arg0);
3230
+ }
3231
+ /**
3232
+ * @returns {boolean}
3233
+ */
3234
+ get receptors_over_hit_objects() {
3235
+ const ret = wasm.__wbg_get_quakeymode_receptors_over_hit_objects(this.__wbg_ptr);
3236
+ return ret !== 0;
3237
+ }
3238
+ /**
3239
+ * @param {boolean} arg0
3240
+ */
3241
+ set receptors_over_hit_objects(arg0) {
3242
+ wasm.__wbg_set_quakeymode_receptors_over_hit_objects(this.__wbg_ptr, arg0);
3243
+ }
3244
+ /**
3245
+ * @returns {number}
3246
+ */
3247
+ get stage_receptor_padding() {
3248
+ const ret = wasm.__wbg_get_quakeymode_stage_receptor_padding(this.__wbg_ptr);
3249
+ return ret;
3250
+ }
3251
+ /**
3252
+ * @param {number} arg0
3253
+ */
3254
+ set stage_receptor_padding(arg0) {
3255
+ wasm.__wbg_set_quakeymode_stage_receptor_padding(this.__wbg_ptr, arg0);
3256
+ }
3257
+ /**
3258
+ * @returns {number}
3259
+ */
3260
+ get coop_playfield_padding() {
3261
+ const ret = wasm.__wbg_get_quakeymode_coop_playfield_padding(this.__wbg_ptr);
3262
+ return ret;
3263
+ }
3264
+ /**
3265
+ * @param {number} arg0
3266
+ */
3267
+ set coop_playfield_padding(arg0) {
3268
+ wasm.__wbg_set_quakeymode_coop_playfield_padding(this.__wbg_ptr, arg0);
3269
+ }
3270
+ /**
3271
+ * @returns {number}
3272
+ */
3273
+ get hit_error_chevron_size() {
3274
+ const ret = wasm.__wbg_get_quakeymode_hit_error_chevron_size(this.__wbg_ptr);
3275
+ return ret;
3276
+ }
3277
+ /**
3278
+ * @param {number} arg0
3279
+ */
3280
+ set hit_error_chevron_size(arg0) {
3281
+ wasm.__wbg_set_quakeymode_hit_error_chevron_size(this.__wbg_ptr, arg0);
3282
+ }
3283
+ /**
3284
+ * @returns {number}
3285
+ */
3286
+ get hit_error_height() {
3287
+ const ret = wasm.__wbg_get_quakeymode_hit_error_height(this.__wbg_ptr);
3288
+ return ret;
3289
+ }
3290
+ /**
3291
+ * @param {number} arg0
3292
+ */
3293
+ set hit_error_height(arg0) {
3294
+ wasm.__wbg_set_quakeymode_hit_error_height(this.__wbg_ptr, arg0);
3295
+ }
3296
+ /**
3297
+ * @returns {number}
3298
+ */
3299
+ get hit_error_pos_x() {
3300
+ const ret = wasm.__wbg_get_quakeymode_hit_error_pos_x(this.__wbg_ptr);
3301
+ return ret;
3302
+ }
3303
+ /**
3304
+ * @param {number} arg0
3305
+ */
3306
+ set hit_error_pos_x(arg0) {
3307
+ wasm.__wbg_set_quakeymode_hit_error_pos_x(this.__wbg_ptr, arg0);
3308
+ }
3309
+ /**
3310
+ * @returns {number}
3311
+ */
3312
+ get hit_error_pos_y() {
3313
+ const ret = wasm.__wbg_get_quakeymode_hit_error_pos_y(this.__wbg_ptr);
3314
+ return ret;
3315
+ }
3316
+ /**
3317
+ * @param {number} arg0
3318
+ */
3319
+ set hit_error_pos_y(arg0) {
3320
+ wasm.__wbg_set_quakeymode_hit_error_pos_y(this.__wbg_ptr, arg0);
3321
+ }
3322
+ /**
3323
+ * @returns {number}
3324
+ */
3325
+ get hit_error_alpha() {
3326
+ const ret = wasm.__wbg_get_quakeymode_hit_error_alpha(this.__wbg_ptr);
3327
+ return ret;
3328
+ }
3329
+ /**
3330
+ * @param {number} arg0
3331
+ */
3332
+ set hit_error_alpha(arg0) {
3333
+ wasm.__wbg_set_quakeymode_hit_error_alpha(this.__wbg_ptr, arg0);
3334
+ }
3335
+ /**
3336
+ * @returns {number}
3337
+ */
3338
+ get judgement_hit_burst_fps() {
3339
+ const ret = wasm.__wbg_get_quakeymode_judgement_hit_burst_fps(this.__wbg_ptr);
3340
+ return ret;
3341
+ }
3342
+ /**
3343
+ * @param {number} arg0
3344
+ */
3345
+ set judgement_hit_burst_fps(arg0) {
3346
+ wasm.__wbg_set_quakeymode_judgement_hit_burst_fps(this.__wbg_ptr, arg0);
3347
+ }
3348
+ /**
3349
+ * @returns {number}
3350
+ */
3351
+ get judgement_burst_pos_y() {
3352
+ const ret = wasm.__wbg_get_quakeymode_judgement_burst_pos_y(this.__wbg_ptr);
3353
+ return ret;
3354
+ }
3355
+ /**
3356
+ * @param {number} arg0
3357
+ */
3358
+ set judgement_burst_pos_y(arg0) {
3359
+ wasm.__wbg_set_quakeymode_judgement_burst_pos_y(this.__wbg_ptr, arg0);
3360
+ }
3361
+ /**
3362
+ * @returns {number}
3363
+ */
3364
+ get judgement_hit_burst_bump_y() {
3365
+ const ret = wasm.__wbg_get_quakeymode_judgement_hit_burst_bump_y(this.__wbg_ptr);
3366
+ return ret;
3367
+ }
3368
+ /**
3369
+ * @param {number} arg0
3370
+ */
3371
+ set judgement_hit_burst_bump_y(arg0) {
3372
+ wasm.__wbg_set_quakeymode_judgement_hit_burst_bump_y(this.__wbg_ptr, arg0);
3373
+ }
3374
+ /**
3375
+ * @returns {number}
3376
+ */
3377
+ get judgement_hit_burst_bump_time() {
3378
+ const ret = wasm.__wbg_get_quakeymode_judgement_hit_burst_bump_time(this.__wbg_ptr);
3379
+ return ret;
3380
+ }
3381
+ /**
3382
+ * @param {number} arg0
3383
+ */
3384
+ set judgement_hit_burst_bump_time(arg0) {
3385
+ wasm.__wbg_set_quakeymode_judgement_hit_burst_bump_time(this.__wbg_ptr, arg0);
3386
+ }
3387
+ /**
3388
+ * @returns {number}
3389
+ */
3390
+ get judgement_hit_burst_scale() {
3391
+ const ret = wasm.__wbg_get_quakeymode_judgement_hit_burst_scale(this.__wbg_ptr);
3392
+ return ret;
3393
+ }
3394
+ /**
3395
+ * @param {number} arg0
3396
+ */
3397
+ set judgement_hit_burst_scale(arg0) {
3398
+ wasm.__wbg_set_quakeymode_judgement_hit_burst_scale(this.__wbg_ptr, arg0);
3399
+ }
3400
+ /**
3401
+ * @returns {number}
3402
+ */
3403
+ get hit_lighting_x() {
3404
+ const ret = wasm.__wbg_get_quakeymode_hit_lighting_x(this.__wbg_ptr);
3405
+ return ret;
3406
+ }
3407
+ /**
3408
+ * @param {number} arg0
3409
+ */
3410
+ set hit_lighting_x(arg0) {
3411
+ wasm.__wbg_set_quakeymode_hit_lighting_x(this.__wbg_ptr, arg0);
3412
+ }
3413
+ /**
3414
+ * @returns {number}
3415
+ */
3416
+ get hit_lighting_y() {
3417
+ const ret = wasm.__wbg_get_quakeymode_hit_lighting_y(this.__wbg_ptr);
3418
+ return ret;
3419
+ }
3420
+ /**
3421
+ * @param {number} arg0
3422
+ */
3423
+ set hit_lighting_y(arg0) {
3424
+ wasm.__wbg_set_quakeymode_hit_lighting_y(this.__wbg_ptr, arg0);
3425
+ }
3426
+ /**
3427
+ * @returns {number}
3428
+ */
3429
+ get hit_lighting_fps() {
3430
+ const ret = wasm.__wbg_get_quakeymode_hit_lighting_fps(this.__wbg_ptr);
3431
+ return ret;
3432
+ }
3433
+ /**
3434
+ * @param {number} arg0
3435
+ */
3436
+ set hit_lighting_fps(arg0) {
3437
+ wasm.__wbg_set_quakeymode_hit_lighting_fps(this.__wbg_ptr, arg0);
3438
+ }
3439
+ /**
3440
+ * @returns {number}
3441
+ */
3442
+ get hit_lighting_scale() {
3443
+ const ret = wasm.__wbg_get_quakeymode_hit_lighting_scale(this.__wbg_ptr);
3444
+ return ret;
3445
+ }
3446
+ /**
3447
+ * @param {number} arg0
3448
+ */
3449
+ set hit_lighting_scale(arg0) {
3450
+ wasm.__wbg_set_quakeymode_hit_lighting_scale(this.__wbg_ptr, arg0);
3451
+ }
3452
+ /**
3453
+ * @returns {boolean}
3454
+ */
3455
+ get hit_lighting_column_rotation() {
3456
+ const ret = wasm.__wbg_get_quakeymode_hit_lighting_column_rotation(this.__wbg_ptr);
3457
+ return ret !== 0;
3458
+ }
3459
+ /**
3460
+ * @param {boolean} arg0
3461
+ */
3462
+ set hit_lighting_column_rotation(arg0) {
3463
+ wasm.__wbg_set_quakeymode_hit_lighting_column_rotation(this.__wbg_ptr, arg0);
3464
+ }
3465
+ /**
3466
+ * @returns {number}
3467
+ */
3468
+ get hold_lighting_fps() {
3469
+ const ret = wasm.__wbg_get_quakeymode_hold_lighting_fps(this.__wbg_ptr);
3470
+ return ret;
3471
+ }
3472
+ /**
3473
+ * @param {number} arg0
3474
+ */
3475
+ set hold_lighting_fps(arg0) {
3476
+ wasm.__wbg_set_quakeymode_hold_lighting_fps(this.__wbg_ptr, arg0);
3477
+ }
3478
+ /**
3479
+ * @returns {number}
3480
+ */
3481
+ get hold_lighting_scale() {
3482
+ const ret = wasm.__wbg_get_quakeymode_hold_lighting_scale(this.__wbg_ptr);
3483
+ return ret;
3484
+ }
3485
+ /**
3486
+ * @param {number} arg0
3487
+ */
3488
+ set hold_lighting_scale(arg0) {
3489
+ wasm.__wbg_set_quakeymode_hold_lighting_scale(this.__wbg_ptr, arg0);
3490
+ }
3491
+ /**
3492
+ * @returns {boolean}
3493
+ */
3494
+ get hold_lighting_column_rotation() {
3495
+ const ret = wasm.__wbg_get_quakeymode_hold_lighting_column_rotation(this.__wbg_ptr);
3496
+ return ret !== 0;
3497
+ }
3498
+ /**
3499
+ * @param {boolean} arg0
3500
+ */
3501
+ set hold_lighting_column_rotation(arg0) {
3502
+ wasm.__wbg_set_quakeymode_hold_lighting_column_rotation(this.__wbg_ptr, arg0);
3503
+ }
3504
+ /**
3505
+ * @returns {HealthBarKeysAlignment}
3506
+ */
3507
+ get health_bar_keys_alignment() {
3508
+ const ret = wasm.__wbg_get_quakeymode_health_bar_keys_alignment(this.__wbg_ptr);
3509
+ return ret;
3510
+ }
3511
+ /**
3512
+ * @param {HealthBarKeysAlignment} arg0
3513
+ */
3514
+ set health_bar_keys_alignment(arg0) {
3515
+ wasm.__wbg_set_quakeymode_health_bar_keys_alignment(this.__wbg_ptr, arg0);
3516
+ }
3517
+ /**
3518
+ * @returns {HealthBarType}
3519
+ */
3520
+ get health_bar_type() {
3521
+ const ret = wasm.__wbg_get_quakeymode_health_bar_type(this.__wbg_ptr);
3522
+ return ret;
3523
+ }
3524
+ /**
3525
+ * @param {HealthBarType} arg0
3526
+ */
3527
+ set health_bar_type(arg0) {
3528
+ wasm.__wbg_set_quakeymode_health_bar_type(this.__wbg_ptr, arg0);
3529
+ }
3530
+ /**
3531
+ * @returns {number}
3532
+ */
3533
+ get health_bar_pos_offset_x() {
3534
+ const ret = wasm.__wbg_get_quakeymode_health_bar_pos_offset_x(this.__wbg_ptr);
3535
+ return ret;
3536
+ }
3537
+ /**
3538
+ * @param {number} arg0
3539
+ */
3540
+ set health_bar_pos_offset_x(arg0) {
3541
+ wasm.__wbg_set_quakeymode_health_bar_pos_offset_x(this.__wbg_ptr, arg0);
3542
+ }
3543
+ /**
3544
+ * @returns {number}
3545
+ */
3546
+ get health_bar_pos_offset_y() {
3547
+ const ret = wasm.__wbg_get_quakeymode_health_bar_pos_offset_y(this.__wbg_ptr);
3548
+ return ret;
3549
+ }
3550
+ /**
3551
+ * @param {number} arg0
3552
+ */
3553
+ set health_bar_pos_offset_y(arg0) {
3554
+ wasm.__wbg_set_quakeymode_health_bar_pos_offset_y(this.__wbg_ptr, arg0);
3555
+ }
3556
+ /**
3557
+ * @returns {number}
3558
+ */
3559
+ get health_bar_scale() {
3560
+ const ret = wasm.__wbg_get_quakeymode_health_bar_scale(this.__wbg_ptr);
3561
+ return ret;
3562
+ }
3563
+ /**
3564
+ * @param {number} arg0
3565
+ */
3566
+ set health_bar_scale(arg0) {
3567
+ wasm.__wbg_set_quakeymode_health_bar_scale(this.__wbg_ptr, arg0);
3568
+ }
3569
+ /**
3570
+ * @returns {HitBubblesAlignment}
3571
+ */
3572
+ get hit_bubbles_alignment() {
3573
+ const ret = wasm.__wbg_get_quakeymode_hit_bubbles_alignment(this.__wbg_ptr);
3574
+ return ret;
3575
+ }
3576
+ /**
3577
+ * @param {HitBubblesAlignment} arg0
3578
+ */
3579
+ set hit_bubbles_alignment(arg0) {
3580
+ wasm.__wbg_set_quakeymode_hit_bubbles_alignment(this.__wbg_ptr, arg0);
3581
+ }
3582
+ /**
3583
+ * @returns {HitBubblesType}
3584
+ */
3585
+ get hit_bubbles_type() {
3586
+ const ret = wasm.__wbg_get_quakeymode_hit_bubbles_type(this.__wbg_ptr);
3587
+ return ret;
3588
+ }
3589
+ /**
3590
+ * @param {HitBubblesType} arg0
3591
+ */
3592
+ set hit_bubbles_type(arg0) {
3593
+ wasm.__wbg_set_quakeymode_hit_bubbles_type(this.__wbg_ptr, arg0);
3594
+ }
3595
+ /**
3596
+ * @returns {number}
3597
+ */
3598
+ get hit_bubbles_pos_x() {
3599
+ const ret = wasm.__wbg_get_quakeymode_hit_bubbles_pos_x(this.__wbg_ptr);
3600
+ return ret;
3601
+ }
3602
+ /**
3603
+ * @param {number} arg0
3604
+ */
3605
+ set hit_bubbles_pos_x(arg0) {
3606
+ wasm.__wbg_set_quakeymode_hit_bubbles_pos_x(this.__wbg_ptr, arg0);
3607
+ }
3608
+ /**
3609
+ * @returns {number}
3610
+ */
3611
+ get hit_bubbles_pos_y() {
3612
+ const ret = wasm.__wbg_get_quakeymode_hit_bubbles_pos_y(this.__wbg_ptr);
3613
+ return ret;
3614
+ }
3615
+ /**
3616
+ * @param {number} arg0
3617
+ */
3618
+ set hit_bubbles_pos_y(arg0) {
3619
+ wasm.__wbg_set_quakeymode_hit_bubbles_pos_y(this.__wbg_ptr, arg0);
3620
+ }
3621
+ /**
3622
+ * @returns {number}
3623
+ */
3624
+ get hit_bubbles_scale() {
3625
+ const ret = wasm.__wbg_get_quakeymode_hit_bubbles_scale(this.__wbg_ptr);
3626
+ return ret;
3627
+ }
3628
+ /**
3629
+ * @param {number} arg0
3630
+ */
3631
+ set hit_bubbles_scale(arg0) {
3632
+ wasm.__wbg_set_quakeymode_hit_bubbles_scale(this.__wbg_ptr, arg0);
3633
+ }
3634
+ /**
3635
+ * @returns {number}
3636
+ */
3637
+ get hit_bubble_scale() {
3638
+ const ret = wasm.__wbg_get_quakeymode_hit_bubble_scale(this.__wbg_ptr);
3639
+ return ret;
3640
+ }
3641
+ /**
3642
+ * @param {number} arg0
3643
+ */
3644
+ set hit_bubble_scale(arg0) {
3645
+ wasm.__wbg_set_quakeymode_hit_bubble_scale(this.__wbg_ptr, arg0);
3646
+ }
3647
+ /**
3648
+ * @returns {number}
3649
+ */
3650
+ get hit_bubble_border_padding() {
3651
+ const ret = wasm.__wbg_get_quakeymode_hit_bubble_border_padding(this.__wbg_ptr);
3652
+ return ret;
3653
+ }
3654
+ /**
3655
+ * @param {number} arg0
3656
+ */
3657
+ set hit_bubble_border_padding(arg0) {
3658
+ wasm.__wbg_set_quakeymode_hit_bubble_border_padding(this.__wbg_ptr, arg0);
3659
+ }
3660
+ /**
3661
+ * @returns {number}
3662
+ */
3663
+ get hit_bubble_padding() {
3664
+ const ret = wasm.__wbg_get_quakeymode_hit_bubble_padding(this.__wbg_ptr);
3665
+ return ret;
3666
+ }
3667
+ /**
3668
+ * @param {number} arg0
3669
+ */
3670
+ set hit_bubble_padding(arg0) {
3671
+ wasm.__wbg_set_quakeymode_hit_bubble_padding(this.__wbg_ptr, arg0);
3672
+ }
3673
+ /**
3674
+ * @returns {number}
3675
+ */
3676
+ get combo_display_scale() {
3677
+ const ret = wasm.__wbg_get_quakeymode_combo_display_scale(this.__wbg_ptr);
3678
+ return ret;
3679
+ }
3680
+ /**
3681
+ * @param {number} arg0
3682
+ */
3683
+ set combo_display_scale(arg0) {
3684
+ wasm.__wbg_set_quakeymode_combo_display_scale(this.__wbg_ptr, arg0);
3685
+ }
3686
+ /**
3687
+ * @returns {number}
3688
+ */
3689
+ get combo_pos_x() {
3690
+ const ret = wasm.__wbg_get_quakeymode_combo_pos_x(this.__wbg_ptr);
3691
+ return ret;
3692
+ }
3693
+ /**
3694
+ * @param {number} arg0
3695
+ */
3696
+ set combo_pos_x(arg0) {
3697
+ wasm.__wbg_set_quakeymode_combo_pos_x(this.__wbg_ptr, arg0);
3698
+ }
3699
+ /**
3700
+ * @returns {number}
3701
+ */
3702
+ get combo_pos_y() {
3703
+ const ret = wasm.__wbg_get_quakeymode_combo_pos_y(this.__wbg_ptr);
3704
+ return ret;
3705
+ }
3706
+ /**
3707
+ * @param {number} arg0
3708
+ */
3709
+ set combo_pos_y(arg0) {
3710
+ wasm.__wbg_set_quakeymode_combo_pos_y(this.__wbg_ptr, arg0);
3711
+ }
3712
+ /**
3713
+ * @returns {number}
3714
+ */
3715
+ get combo_display_bump_y() {
3716
+ const ret = wasm.__wbg_get_quakeymode_combo_display_bump_y(this.__wbg_ptr);
3717
+ return ret;
3718
+ }
3719
+ /**
3720
+ * @param {number} arg0
3721
+ */
3722
+ set combo_display_bump_y(arg0) {
3723
+ wasm.__wbg_set_quakeymode_combo_display_bump_y(this.__wbg_ptr, arg0);
3724
+ }
3725
+ /**
3726
+ * @returns {number}
3727
+ */
3728
+ get combo_display_bump_time() {
3729
+ const ret = wasm.__wbg_get_quakeymode_combo_display_bump_time(this.__wbg_ptr);
3730
+ return ret;
3731
+ }
3732
+ /**
3733
+ * @param {number} arg0
3734
+ */
3735
+ set combo_display_bump_time(arg0) {
3736
+ wasm.__wbg_set_quakeymode_combo_display_bump_time(this.__wbg_ptr, arg0);
3737
+ }
3738
+ /**
3739
+ * @returns {number}
3740
+ */
3741
+ get rating_display_scale() {
3742
+ const ret = wasm.__wbg_get_quakeymode_rating_display_scale(this.__wbg_ptr);
3743
+ return ret;
3744
+ }
3745
+ /**
3746
+ * @param {number} arg0
3747
+ */
3748
+ set rating_display_scale(arg0) {
3749
+ wasm.__wbg_set_quakeymode_rating_display_scale(this.__wbg_ptr, arg0);
3750
+ }
3751
+ /**
3752
+ * @returns {number}
3753
+ */
3754
+ get rating_display_pos_x() {
3755
+ const ret = wasm.__wbg_get_quakeymode_rating_display_pos_x(this.__wbg_ptr);
3756
+ return ret;
3757
+ }
3758
+ /**
3759
+ * @param {number} arg0
3760
+ */
3761
+ set rating_display_pos_x(arg0) {
3762
+ wasm.__wbg_set_quakeymode_rating_display_pos_x(this.__wbg_ptr, arg0);
3763
+ }
3764
+ /**
3765
+ * @returns {number}
3766
+ */
3767
+ get rating_display_pos_y() {
3768
+ const ret = wasm.__wbg_get_quakeymode_rating_display_pos_y(this.__wbg_ptr);
3769
+ return ret;
3770
+ }
3771
+ /**
3772
+ * @param {number} arg0
3773
+ */
3774
+ set rating_display_pos_y(arg0) {
3775
+ wasm.__wbg_set_quakeymode_rating_display_pos_y(this.__wbg_ptr, arg0);
3776
+ }
3777
+ /**
3778
+ * @returns {number}
3779
+ */
3780
+ get accuracy_display_scale() {
3781
+ const ret = wasm.__wbg_get_quakeymode_accuracy_display_scale(this.__wbg_ptr);
3782
+ return ret;
3783
+ }
3784
+ /**
3785
+ * @param {number} arg0
3786
+ */
3787
+ set accuracy_display_scale(arg0) {
3788
+ wasm.__wbg_set_quakeymode_accuracy_display_scale(this.__wbg_ptr, arg0);
3789
+ }
3790
+ /**
3791
+ * @returns {number}
3792
+ */
3793
+ get accuracy_display_pos_x() {
3794
+ const ret = wasm.__wbg_get_quakeymode_accuracy_display_pos_x(this.__wbg_ptr);
3795
+ return ret;
3796
+ }
3797
+ /**
3798
+ * @param {number} arg0
3799
+ */
3800
+ set accuracy_display_pos_x(arg0) {
3801
+ wasm.__wbg_set_quakeymode_accuracy_display_pos_x(this.__wbg_ptr, arg0);
3802
+ }
3803
+ /**
3804
+ * @returns {number}
3805
+ */
3806
+ get accuracy_display_pos_y() {
3807
+ const ret = wasm.__wbg_get_quakeymode_accuracy_display_pos_y(this.__wbg_ptr);
3808
+ return ret;
3809
+ }
3810
+ /**
3811
+ * @param {number} arg0
3812
+ */
3813
+ set accuracy_display_pos_y(arg0) {
3814
+ wasm.__wbg_set_quakeymode_accuracy_display_pos_y(this.__wbg_ptr, arg0);
3815
+ }
3816
+ /**
3817
+ * @returns {number}
3818
+ */
3819
+ get kps_display_scale() {
3820
+ const ret = wasm.__wbg_get_quakeymode_kps_display_scale(this.__wbg_ptr);
3821
+ return ret;
3822
+ }
3823
+ /**
3824
+ * @param {number} arg0
3825
+ */
3826
+ set kps_display_scale(arg0) {
3827
+ wasm.__wbg_set_quakeymode_kps_display_scale(this.__wbg_ptr, arg0);
3828
+ }
3829
+ /**
3830
+ * @returns {number}
3831
+ */
3832
+ get kps_display_pos_x() {
3833
+ const ret = wasm.__wbg_get_quakeymode_kps_display_pos_x(this.__wbg_ptr);
3834
+ return ret;
3835
+ }
3836
+ /**
3837
+ * @param {number} arg0
3838
+ */
3839
+ set kps_display_pos_x(arg0) {
3840
+ wasm.__wbg_set_quakeymode_kps_display_pos_x(this.__wbg_ptr, arg0);
3841
+ }
3842
+ /**
3843
+ * @returns {number}
3844
+ */
3845
+ get kps_display_pos_y() {
3846
+ const ret = wasm.__wbg_get_quakeymode_kps_display_pos_y(this.__wbg_ptr);
3847
+ return ret;
3848
+ }
3849
+ /**
3850
+ * @param {number} arg0
3851
+ */
3852
+ set kps_display_pos_y(arg0) {
3853
+ wasm.__wbg_set_quakeymode_kps_display_pos_y(this.__wbg_ptr, arg0);
3854
+ }
3855
+ /**
3856
+ * @returns {number}
3857
+ */
3858
+ get score_display_scale() {
3859
+ const ret = wasm.__wbg_get_quakeymode_score_display_scale(this.__wbg_ptr);
3860
+ return ret;
3861
+ }
3862
+ /**
3863
+ * @param {number} arg0
3864
+ */
3865
+ set score_display_scale(arg0) {
3866
+ wasm.__wbg_set_quakeymode_score_display_scale(this.__wbg_ptr, arg0);
3867
+ }
3868
+ /**
3869
+ * @returns {number}
3870
+ */
3871
+ get score_display_pos_x() {
3872
+ const ret = wasm.__wbg_get_quakeymode_score_display_pos_x(this.__wbg_ptr);
3873
+ return ret;
3874
+ }
3875
+ /**
3876
+ * @param {number} arg0
3877
+ */
3878
+ set score_display_pos_x(arg0) {
3879
+ wasm.__wbg_set_quakeymode_score_display_pos_x(this.__wbg_ptr, arg0);
3880
+ }
3881
+ /**
3882
+ * @returns {number}
3883
+ */
3884
+ get score_display_pos_y() {
3885
+ const ret = wasm.__wbg_get_quakeymode_score_display_pos_y(this.__wbg_ptr);
3886
+ return ret;
3887
+ }
3888
+ /**
3889
+ * @param {number} arg0
3890
+ */
3891
+ set score_display_pos_y(arg0) {
3892
+ wasm.__wbg_set_quakeymode_score_display_pos_y(this.__wbg_ptr, arg0);
3893
+ }
3894
+ /**
3895
+ * @returns {number}
3896
+ */
3897
+ get battle_royale_alert_pos_x() {
3898
+ const ret = wasm.__wbg_get_quakeymode_battle_royale_alert_pos_x(this.__wbg_ptr);
3899
+ return ret;
3900
+ }
3901
+ /**
3902
+ * @param {number} arg0
3903
+ */
3904
+ set battle_royale_alert_pos_x(arg0) {
3905
+ wasm.__wbg_set_quakeymode_battle_royale_alert_pos_x(this.__wbg_ptr, arg0);
3906
+ }
3907
+ /**
3908
+ * @returns {number}
3909
+ */
3910
+ get battle_royale_alert_pos_y() {
3911
+ const ret = wasm.__wbg_get_quakeymode_battle_royale_alert_pos_y(this.__wbg_ptr);
3912
+ return ret;
3913
+ }
3914
+ /**
3915
+ * @param {number} arg0
3916
+ */
3917
+ set battle_royale_alert_pos_y(arg0) {
3918
+ wasm.__wbg_set_quakeymode_battle_royale_alert_pos_y(this.__wbg_ptr, arg0);
3919
+ }
3920
+ /**
3921
+ * @returns {number}
3922
+ */
3923
+ get battle_royale_alert_scale() {
3924
+ const ret = wasm.__wbg_get_quakeymode_battle_royale_alert_scale(this.__wbg_ptr);
3925
+ return ret;
3926
+ }
3927
+ /**
3928
+ * @param {number} arg0
3929
+ */
3930
+ set battle_royale_alert_scale(arg0) {
3931
+ wasm.__wbg_set_quakeymode_battle_royale_alert_scale(this.__wbg_ptr, arg0);
3932
+ }
3933
+ /**
3934
+ * @returns {number}
3935
+ */
3936
+ get battle_royale_eliminated_pos_x() {
3937
+ const ret = wasm.__wbg_get_quakeymode_battle_royale_eliminated_pos_x(this.__wbg_ptr);
3938
+ return ret;
3939
+ }
3940
+ /**
3941
+ * @param {number} arg0
3942
+ */
3943
+ set battle_royale_eliminated_pos_x(arg0) {
3944
+ wasm.__wbg_set_quakeymode_battle_royale_eliminated_pos_x(this.__wbg_ptr, arg0);
3945
+ }
3946
+ /**
3947
+ * @returns {number}
3948
+ */
3949
+ get battle_royale_eliminated_pos_y() {
3950
+ const ret = wasm.__wbg_get_quakeymode_battle_royale_eliminated_pos_y(this.__wbg_ptr);
3951
+ return ret;
3952
+ }
3953
+ /**
3954
+ * @param {number} arg0
3955
+ */
3956
+ set battle_royale_eliminated_pos_y(arg0) {
3957
+ wasm.__wbg_set_quakeymode_battle_royale_eliminated_pos_y(this.__wbg_ptr, arg0);
3958
+ }
3959
+ /**
3960
+ * @returns {number}
3961
+ */
3962
+ get judgement_counter_alpha() {
3963
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_alpha(this.__wbg_ptr);
3964
+ return ret;
3965
+ }
3966
+ /**
3967
+ * @param {number} arg0
3968
+ */
3969
+ set judgement_counter_alpha(arg0) {
3970
+ wasm.__wbg_set_quakeymode_judgement_counter_alpha(this.__wbg_ptr, arg0);
3971
+ }
3972
+ /**
3973
+ * @returns {number}
3974
+ */
3975
+ get judgement_counter_size() {
3976
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_size(this.__wbg_ptr);
3977
+ return ret;
3978
+ }
3979
+ /**
3980
+ * @param {number} arg0
3981
+ */
3982
+ set judgement_counter_size(arg0) {
3983
+ wasm.__wbg_set_quakeymode_judgement_counter_size(this.__wbg_ptr, arg0);
3984
+ }
3985
+ /**
3986
+ * @returns {number}
3987
+ */
3988
+ get judgement_counter_pos_x() {
3989
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_pos_x(this.__wbg_ptr);
3990
+ return ret;
3991
+ }
3992
+ /**
3993
+ * @param {number} arg0
3994
+ */
3995
+ set judgement_counter_pos_x(arg0) {
3996
+ wasm.__wbg_set_quakeymode_judgement_counter_pos_x(this.__wbg_ptr, arg0);
3997
+ }
3998
+ /**
3999
+ * @returns {number}
4000
+ */
4001
+ get judgement_counter_pos_y() {
4002
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_pos_y(this.__wbg_ptr);
4003
+ return ret;
4004
+ }
4005
+ /**
4006
+ * @param {number} arg0
4007
+ */
4008
+ set judgement_counter_pos_y(arg0) {
4009
+ wasm.__wbg_set_quakeymode_judgement_counter_pos_y(this.__wbg_ptr, arg0);
4010
+ }
4011
+ /**
4012
+ * @returns {number}
4013
+ */
4014
+ get judgement_counter_padding() {
4015
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_padding(this.__wbg_ptr);
4016
+ return ret;
4017
+ }
4018
+ /**
4019
+ * @param {number} arg0
4020
+ */
4021
+ set judgement_counter_padding(arg0) {
4022
+ wasm.__wbg_set_quakeymode_judgement_counter_padding(this.__wbg_ptr, arg0);
4023
+ }
4024
+ /**
4025
+ * @returns {boolean}
4026
+ */
4027
+ get judgement_counter_horizontal() {
4028
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_horizontal(this.__wbg_ptr);
4029
+ return ret !== 0;
4030
+ }
4031
+ /**
4032
+ * @param {boolean} arg0
4033
+ */
4034
+ set judgement_counter_horizontal(arg0) {
4035
+ wasm.__wbg_set_quakeymode_judgement_counter_horizontal(this.__wbg_ptr, arg0);
4036
+ }
4037
+ /**
4038
+ * @returns {boolean}
4039
+ */
4040
+ get judgement_counter_fade_to_alpha() {
4041
+ const ret = wasm.__wbg_get_quakeymode_judgement_counter_fade_to_alpha(this.__wbg_ptr);
4042
+ return ret !== 0;
4043
+ }
4044
+ /**
4045
+ * @param {boolean} arg0
4046
+ */
4047
+ set judgement_counter_fade_to_alpha(arg0) {
4048
+ wasm.__wbg_set_quakeymode_judgement_counter_fade_to_alpha(this.__wbg_ptr, arg0);
4049
+ }
4050
+ /**
4051
+ * @returns {boolean}
4052
+ */
4053
+ get use_judgement_color_for_numbers() {
4054
+ const ret = wasm.__wbg_get_quakeymode_use_judgement_color_for_numbers(this.__wbg_ptr);
4055
+ return ret !== 0;
4056
+ }
4057
+ /**
4058
+ * @param {boolean} arg0
4059
+ */
4060
+ set use_judgement_color_for_numbers(arg0) {
4061
+ wasm.__wbg_set_quakeymode_use_judgement_color_for_numbers(this.__wbg_ptr, arg0);
4062
+ }
4063
+ /**
4064
+ * @returns {number}
4065
+ */
4066
+ get song_time_progress_scale() {
4067
+ const ret = wasm.__wbg_get_quakeymode_song_time_progress_scale(this.__wbg_ptr);
4068
+ return ret;
4069
+ }
4070
+ /**
4071
+ * @param {number} arg0
4072
+ */
4073
+ set song_time_progress_scale(arg0) {
4074
+ wasm.__wbg_set_quakeymode_song_time_progress_scale(this.__wbg_ptr, arg0);
4075
+ }
4076
+ /**
4077
+ * @returns {boolean}
4078
+ */
4079
+ get song_time_progress_position_at_top() {
4080
+ const ret = wasm.__wbg_get_quakeymode_song_time_progress_position_at_top(this.__wbg_ptr);
4081
+ return ret !== 0;
4082
+ }
4083
+ /**
4084
+ * @param {boolean} arg0
4085
+ */
4086
+ set song_time_progress_position_at_top(arg0) {
4087
+ wasm.__wbg_set_quakeymode_song_time_progress_position_at_top(this.__wbg_ptr, arg0);
4088
+ }
4089
+ /**
4090
+ * @returns {boolean}
4091
+ */
4092
+ get show_mini_song_bar() {
4093
+ const ret = wasm.__wbg_get_quakeymode_show_mini_song_bar(this.__wbg_ptr);
4094
+ return ret !== 0;
4095
+ }
4096
+ /**
4097
+ * @param {boolean} arg0
4098
+ */
4099
+ set show_mini_song_bar(arg0) {
4100
+ wasm.__wbg_set_quakeymode_show_mini_song_bar(this.__wbg_ptr, arg0);
4101
+ }
4102
+ /**
4103
+ * @returns {number}
4104
+ */
4105
+ get mini_song_bar_display_pos_x() {
4106
+ const ret = wasm.__wbg_get_quakeymode_mini_song_bar_display_pos_x(this.__wbg_ptr);
4107
+ return ret;
4108
+ }
4109
+ /**
4110
+ * @param {number} arg0
4111
+ */
4112
+ set mini_song_bar_display_pos_x(arg0) {
4113
+ wasm.__wbg_set_quakeymode_mini_song_bar_display_pos_x(this.__wbg_ptr, arg0);
4114
+ }
4115
+ /**
4116
+ * @returns {number}
4117
+ */
4118
+ get mini_song_bar_display_pos_y() {
4119
+ const ret = wasm.__wbg_get_quakeymode_mini_song_bar_display_pos_y(this.__wbg_ptr);
4120
+ return ret;
4121
+ }
4122
+ /**
4123
+ * @param {number} arg0
4124
+ */
4125
+ set mini_song_bar_display_pos_y(arg0) {
4126
+ wasm.__wbg_set_quakeymode_mini_song_bar_display_pos_y(this.__wbg_ptr, arg0);
4127
+ }
4128
+ /**
4129
+ * @returns {number}
4130
+ */
4131
+ get mini_song_bar_display_width_factor() {
4132
+ const ret = wasm.__wbg_get_quakeymode_mini_song_bar_display_width_factor(this.__wbg_ptr);
4133
+ return ret;
4134
+ }
4135
+ /**
4136
+ * @param {number} arg0
4137
+ */
4138
+ set mini_song_bar_display_width_factor(arg0) {
4139
+ wasm.__wbg_set_quakeymode_mini_song_bar_display_width_factor(this.__wbg_ptr, arg0);
4140
+ }
4141
+ /**
4142
+ * @returns {number}
4143
+ */
4144
+ get mini_song_bar_display_height() {
4145
+ const ret = wasm.__wbg_get_quakeymode_mini_song_bar_display_height(this.__wbg_ptr);
4146
+ return ret;
4147
+ }
4148
+ /**
4149
+ * @param {number} arg0
4150
+ */
4151
+ set mini_song_bar_display_height(arg0) {
4152
+ wasm.__wbg_set_quakeymode_mini_song_bar_display_height(this.__wbg_ptr, arg0);
4153
+ }
4154
+ /**
4155
+ * @returns {boolean}
4156
+ */
4157
+ get use_fallback() {
4158
+ const ret = wasm.__wbg_get_quakeymode_use_fallback(this.__wbg_ptr);
4159
+ return ret !== 0;
4160
+ }
4161
+ /**
4162
+ * @param {boolean} arg0
4163
+ */
4164
+ set use_fallback(arg0) {
4165
+ wasm.__wbg_set_quakeymode_use_fallback(this.__wbg_ptr, arg0);
4166
+ }
4167
+ /**
4168
+ * @returns {string}
4169
+ */
4170
+ toStr() {
4171
+ let deferred1_0;
4172
+ let deferred1_1;
4173
+ try {
4174
+ const ret = wasm.quakeymode_toStr(this.__wbg_ptr);
4175
+ deferred1_0 = ret[0];
4176
+ deferred1_1 = ret[1];
4177
+ return getStringFromWasm0(ret[0], ret[1]);
4178
+ } finally {
4179
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4180
+ }
4181
+ }
4182
+ /**
4183
+ * @param {string} content
4184
+ * @returns {QuaKeymode}
4185
+ */
4186
+ static fromStr(content) {
4187
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4188
+ const len0 = WASM_VECTOR_LEN;
4189
+ const ret = wasm.quakeymode_fromStr(ptr0, len0);
4190
+ if (ret[2]) {
4191
+ throw takeFromExternrefTable0(ret[1]);
4192
+ }
4193
+ return QuaKeymode.__wrap(ret[0]);
4194
+ }
4195
+ }
4196
+ if (Symbol.dispose) QuaKeymode.prototype[Symbol.dispose] = QuaKeymode.prototype.free;
4197
+ exports.QuaKeymode = QuaKeymode;
4198
+
4199
+ class QuaSkin {
4200
+ static __wrap(ptr) {
4201
+ ptr = ptr >>> 0;
4202
+ const obj = Object.create(QuaSkin.prototype);
4203
+ obj.__wbg_ptr = ptr;
4204
+ QuaSkinFinalization.register(obj, obj.__wbg_ptr, obj);
4205
+ return obj;
4206
+ }
4207
+ __destroy_into_raw() {
4208
+ const ptr = this.__wbg_ptr;
4209
+ this.__wbg_ptr = 0;
4210
+ QuaSkinFinalization.unregister(this);
4211
+ return ptr;
4212
+ }
4213
+ free() {
4214
+ const ptr = this.__destroy_into_raw();
4215
+ wasm.__wbg_quaskin_free(ptr, 0);
4216
+ }
4217
+ /**
4218
+ * @returns {QuaSkinIni}
4219
+ */
4220
+ get skin_ini() {
4221
+ const ret = wasm.__wbg_get_quaskin_skin_ini(this.__wbg_ptr);
4222
+ return QuaSkinIni.__wrap(ret);
4223
+ }
4224
+ /**
4225
+ * @param {QuaSkinIni} arg0
4226
+ */
4227
+ set skin_ini(arg0) {
4228
+ _assertClass(arg0, QuaSkinIni);
4229
+ var ptr0 = arg0.__destroy_into_raw();
4230
+ wasm.__wbg_set_quaskin_skin_ini(this.__wbg_ptr, ptr0);
4231
+ }
4232
+ /**
4233
+ * @returns {TextureStore}
4234
+ */
4235
+ get textures() {
4236
+ const ret = wasm.__wbg_get_genericmaniaskin_textures(this.__wbg_ptr);
4237
+ return TextureStore.__wrap(ret);
4238
+ }
4239
+ /**
4240
+ * @param {TextureStore} arg0
4241
+ */
4242
+ set textures(arg0) {
4243
+ _assertClass(arg0, TextureStore);
4244
+ var ptr0 = arg0.__destroy_into_raw();
4245
+ wasm.__wbg_set_genericmaniaskin_textures(this.__wbg_ptr, ptr0);
4246
+ }
4247
+ /**
4248
+ * @returns {BinaryStore}
4249
+ */
4250
+ get samples() {
4251
+ const ret = wasm.__wbg_get_genericmaniaskin_samples(this.__wbg_ptr);
4252
+ return BinaryStore.__wrap(ret);
4253
+ }
4254
+ /**
4255
+ * @param {BinaryStore} arg0
4256
+ */
4257
+ set samples(arg0) {
4258
+ _assertClass(arg0, BinaryStore);
4259
+ var ptr0 = arg0.__destroy_into_raw();
4260
+ wasm.__wbg_set_genericmaniaskin_samples(this.__wbg_ptr, ptr0);
4261
+ }
4262
+ /**
4263
+ * @param {QuaSkinIni} skin_ini
4264
+ * @param {TextureStore | null} [textures]
4265
+ * @param {BinaryStore | null} [samples]
4266
+ */
4267
+ constructor(skin_ini, textures, samples) {
4268
+ _assertClass(skin_ini, QuaSkinIni);
4269
+ var ptr0 = skin_ini.__destroy_into_raw();
4270
+ let ptr1 = 0;
4271
+ if (!isLikeNone(textures)) {
4272
+ _assertClass(textures, TextureStore);
4273
+ ptr1 = textures.__destroy_into_raw();
4274
+ }
4275
+ let ptr2 = 0;
4276
+ if (!isLikeNone(samples)) {
4277
+ _assertClass(samples, BinaryStore);
4278
+ ptr2 = samples.__destroy_into_raw();
4279
+ }
4280
+ const ret = wasm.quaskin_new(ptr0, ptr1, ptr2);
4281
+ this.__wbg_ptr = ret >>> 0;
4282
+ QuaSkinFinalization.register(this, this.__wbg_ptr, this);
4283
+ return this;
4284
+ }
4285
+ /**
4286
+ * @param {number} keymode
4287
+ * @returns {QuaKeymode | undefined}
4288
+ */
4289
+ getKeymode(keymode) {
4290
+ const ret = wasm.quaskin_getKeymode(this.__wbg_ptr, keymode);
4291
+ return ret === 0 ? undefined : QuaKeymode.__wrap(ret);
4292
+ }
4293
+ /**
4294
+ * @returns {GenericManiaSkin}
4295
+ */
4296
+ toGenericMania() {
4297
+ const ret = wasm.quaskin_toGenericMania(this.__wbg_ptr);
4298
+ if (ret[2]) {
4299
+ throw takeFromExternrefTable0(ret[1]);
4300
+ }
4301
+ return GenericManiaSkin.__wrap(ret[0]);
4302
+ }
4303
+ /**
4304
+ * @param {GenericManiaSkin} skin
4305
+ * @returns {QuaSkin}
4306
+ */
4307
+ static fromGenericMania(skin) {
4308
+ _assertClass(skin, GenericManiaSkin);
4309
+ const ret = wasm.quaskin_fromGenericMania(skin.__wbg_ptr);
4310
+ if (ret[2]) {
4311
+ throw takeFromExternrefTable0(ret[1]);
4312
+ }
4313
+ return QuaSkin.__wrap(ret[0]);
4314
+ }
4315
+ /**
4316
+ * @returns {string[]}
4317
+ */
4318
+ getRequiredSamplePaths() {
4319
+ const ret = wasm.quaskin_getRequiredSamplePaths(this.__wbg_ptr);
4320
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4321
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4322
+ return v1;
4323
+ }
4324
+ /**
4325
+ * @returns {string[]}
4326
+ */
4327
+ getRequiredTexturePaths() {
4328
+ const ret = wasm.quaskin_getRequiredTexturePaths(this.__wbg_ptr);
4329
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4330
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4331
+ return v1;
4332
+ }
4333
+ }
4334
+ if (Symbol.dispose) QuaSkin.prototype[Symbol.dispose] = QuaSkin.prototype.free;
4335
+ exports.QuaSkin = QuaSkin;
4336
+
4337
+ class QuaSkinIni {
4338
+ static __wrap(ptr) {
4339
+ ptr = ptr >>> 0;
4340
+ const obj = Object.create(QuaSkinIni.prototype);
4341
+ obj.__wbg_ptr = ptr;
4342
+ QuaSkinIniFinalization.register(obj, obj.__wbg_ptr, obj);
4343
+ return obj;
4344
+ }
4345
+ __destroy_into_raw() {
4346
+ const ptr = this.__wbg_ptr;
4347
+ this.__wbg_ptr = 0;
4348
+ QuaSkinIniFinalization.unregister(this);
4349
+ return ptr;
4350
+ }
4351
+ free() {
4352
+ const ptr = this.__destroy_into_raw();
4353
+ wasm.__wbg_quaskinini_free(ptr, 0);
4354
+ }
4355
+ /**
4356
+ * @returns {QuaGeneral}
4357
+ */
4358
+ get general() {
4359
+ const ret = wasm.__wbg_get_quaskinini_general(this.__wbg_ptr);
4360
+ return QuaGeneral.__wrap(ret);
4361
+ }
4362
+ /**
4363
+ * @param {QuaGeneral} arg0
4364
+ */
4365
+ set general(arg0) {
4366
+ _assertClass(arg0, QuaGeneral);
4367
+ var ptr0 = arg0.__destroy_into_raw();
4368
+ wasm.__wbg_set_quaskinini_general(this.__wbg_ptr, ptr0);
4369
+ }
4370
+ /**
4371
+ * @returns {MainMenu}
4372
+ */
4373
+ get main_menu() {
4374
+ const ret = wasm.__wbg_get_quaskinini_main_menu(this.__wbg_ptr);
4375
+ return MainMenu.__wrap(ret);
4376
+ }
4377
+ /**
4378
+ * @param {MainMenu} arg0
4379
+ */
4380
+ set main_menu(arg0) {
4381
+ _assertClass(arg0, MainMenu);
4382
+ var ptr0 = arg0.__destroy_into_raw();
4383
+ wasm.__wbg_set_quaskinini_main_menu(this.__wbg_ptr, ptr0);
4384
+ }
4385
+ /**
4386
+ * @returns {MenuBorder}
4387
+ */
4388
+ get menu_border() {
4389
+ const ret = wasm.__wbg_get_quaskinini_menu_border(this.__wbg_ptr);
4390
+ return MenuBorder.__wrap(ret);
4391
+ }
4392
+ /**
4393
+ * @param {MenuBorder} arg0
4394
+ */
4395
+ set menu_border(arg0) {
4396
+ _assertClass(arg0, MenuBorder);
4397
+ var ptr0 = arg0.__destroy_into_raw();
4398
+ wasm.__wbg_set_quaskinini_menu_border(this.__wbg_ptr, ptr0);
4399
+ }
4400
+ /**
4401
+ * @returns {SongSelect}
4402
+ */
4403
+ get song_select() {
4404
+ const ret = wasm.__wbg_get_quaskinini_song_select(this.__wbg_ptr);
4405
+ return SongSelect.__wrap(ret);
4406
+ }
4407
+ /**
4408
+ * @param {SongSelect} arg0
4409
+ */
4410
+ set song_select(arg0) {
4411
+ _assertClass(arg0, SongSelect);
4412
+ var ptr0 = arg0.__destroy_into_raw();
4413
+ wasm.__wbg_set_quaskinini_song_select(this.__wbg_ptr, ptr0);
4414
+ }
4415
+ /**
4416
+ * @returns {Results}
4417
+ */
4418
+ get results() {
4419
+ const ret = wasm.__wbg_get_quaskinini_results(this.__wbg_ptr);
4420
+ return Results.__wrap(ret);
4421
+ }
4422
+ /**
4423
+ * @param {Results} arg0
4424
+ */
4425
+ set results(arg0) {
4426
+ _assertClass(arg0, Results);
4427
+ var ptr0 = arg0.__destroy_into_raw();
4428
+ wasm.__wbg_set_quaskinini_results(this.__wbg_ptr, ptr0);
4429
+ }
4430
+ /**
4431
+ * @returns {QuaKeymode[]}
4432
+ */
4433
+ get keymodes() {
4434
+ const ret = wasm.__wbg_get_quaskinini_keymodes(this.__wbg_ptr);
4435
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4436
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4437
+ return v1;
4438
+ }
4439
+ /**
4440
+ * @param {QuaKeymode[]} arg0
4441
+ */
4442
+ set keymodes(arg0) {
4443
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
4444
+ const len0 = WASM_VECTOR_LEN;
4445
+ wasm.__wbg_set_quaskinini_keymodes(this.__wbg_ptr, ptr0, len0);
4446
+ }
4447
+ /**
4448
+ * @returns {QuaKeymode | undefined}
4449
+ */
4450
+ get shared_keymode() {
4451
+ const ret = wasm.__wbg_get_quaskinini_shared_keymode(this.__wbg_ptr);
4452
+ return ret === 0 ? undefined : QuaKeymode.__wrap(ret);
4453
+ }
4454
+ /**
4455
+ * @param {QuaKeymode | null} [arg0]
4456
+ */
4457
+ set shared_keymode(arg0) {
4458
+ let ptr0 = 0;
4459
+ if (!isLikeNone(arg0)) {
4460
+ _assertClass(arg0, QuaKeymode);
4461
+ ptr0 = arg0.__destroy_into_raw();
4462
+ }
4463
+ wasm.__wbg_set_quaskinini_shared_keymode(this.__wbg_ptr, ptr0);
4464
+ }
4465
+ /**
4466
+ * @param {string} ini_str
4467
+ * @returns {QuaSkinIni}
4468
+ */
4469
+ static fromStr(ini_str) {
4470
+ const ptr0 = passStringToWasm0(ini_str, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4471
+ const len0 = WASM_VECTOR_LEN;
4472
+ const ret = wasm.quaskinini_fromStr(ptr0, len0);
4473
+ if (ret[2]) {
4474
+ throw takeFromExternrefTable0(ret[1]);
4475
+ }
4476
+ return QuaSkinIni.__wrap(ret[0]);
4477
+ }
4478
+ /**
4479
+ * @returns {string}
4480
+ */
4481
+ toString() {
4482
+ let deferred1_0;
4483
+ let deferred1_1;
4484
+ try {
4485
+ const ret = wasm.quaskinini_toString(this.__wbg_ptr);
4486
+ deferred1_0 = ret[0];
4487
+ deferred1_1 = ret[1];
4488
+ return getStringFromWasm0(ret[0], ret[1]);
4489
+ } finally {
4490
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4491
+ }
4492
+ }
4493
+ /**
4494
+ * @param {number} keymode
4495
+ * @returns {QuaKeymode | undefined}
4496
+ */
4497
+ getKeymode(keymode) {
4498
+ const ret = wasm.quaskinini_getKeymode(this.__wbg_ptr, keymode);
4499
+ return ret === 0 ? undefined : QuaKeymode.__wrap(ret);
4500
+ }
4501
+ constructor() {
4502
+ const ret = wasm.quaskinini_new();
4503
+ this.__wbg_ptr = ret >>> 0;
4504
+ QuaSkinIniFinalization.register(this, this.__wbg_ptr, this);
4505
+ return this;
4506
+ }
4507
+ }
4508
+ if (Symbol.dispose) QuaSkinIni.prototype[Symbol.dispose] = QuaSkinIni.prototype.free;
4509
+ exports.QuaSkinIni = QuaSkinIni;
4510
+
4511
+ class RawBytes {
4512
+ static __wrap(ptr) {
4513
+ ptr = ptr >>> 0;
4514
+ const obj = Object.create(RawBytes.prototype);
4515
+ obj.__wbg_ptr = ptr;
4516
+ RawBytesFinalization.register(obj, obj.__wbg_ptr, obj);
4517
+ return obj;
4518
+ }
4519
+ __destroy_into_raw() {
4520
+ const ptr = this.__wbg_ptr;
4521
+ this.__wbg_ptr = 0;
4522
+ RawBytesFinalization.unregister(this);
4523
+ return ptr;
4524
+ }
4525
+ free() {
4526
+ const ptr = this.__destroy_into_raw();
4527
+ wasm.__wbg_rawbytes_free(ptr, 0);
4528
+ }
4529
+ /**
4530
+ * @returns {string}
4531
+ */
4532
+ get path() {
4533
+ let deferred1_0;
4534
+ let deferred1_1;
4535
+ try {
4536
+ const ret = wasm.__wbg_get_rawbytes_path(this.__wbg_ptr);
4537
+ deferred1_0 = ret[0];
4538
+ deferred1_1 = ret[1];
4539
+ return getStringFromWasm0(ret[0], ret[1]);
4540
+ } finally {
4541
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4542
+ }
4543
+ }
4544
+ /**
4545
+ * @param {string} arg0
4546
+ */
4547
+ set path(arg0) {
4548
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4549
+ const len0 = WASM_VECTOR_LEN;
4550
+ wasm.__wbg_set_fluxislayout_name(this.__wbg_ptr, ptr0, len0);
2670
4551
  }
2671
4552
  /**
2672
4553
  * @returns {Uint8Array | undefined}
@@ -2675,6 +4556,100 @@ class RawBytes {
2675
4556
  const ret = wasm.rawbytes_getData(this.__wbg_ptr);
2676
4557
  return ret;
2677
4558
  }
4559
+ /**
4560
+ * @returns {bigint | undefined}
4561
+ */
4562
+ getHash() {
4563
+ const ret = wasm.rawbytes_getHash(this.__wbg_ptr);
4564
+ return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
4565
+ }
4566
+ /**
4567
+ * @param {string} path
4568
+ * @param {Uint8Array} bytes
4569
+ * @returns {RawBytes}
4570
+ */
4571
+ static fromBytes(path, bytes) {
4572
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4573
+ const len0 = WASM_VECTOR_LEN;
4574
+ const ptr1 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
4575
+ const len1 = WASM_VECTOR_LEN;
4576
+ const ret = wasm.rawbytes_fromBytes(ptr0, len0, ptr1, len1);
4577
+ return RawBytes.__wrap(ret);
4578
+ }
4579
+ /**
4580
+ * @param {string} path
4581
+ */
4582
+ constructor(path) {
4583
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4584
+ const len0 = WASM_VECTOR_LEN;
4585
+ const ret = wasm.rawbytes_new(ptr0, len0);
4586
+ this.__wbg_ptr = ret >>> 0;
4587
+ RawBytesFinalization.register(this, this.__wbg_ptr, this);
4588
+ return this;
4589
+ }
4590
+ unload() {
4591
+ const ret = wasm.rawbytes_unload(this.__wbg_ptr);
4592
+ if (ret[1]) {
4593
+ throw takeFromExternrefTable0(ret[0]);
4594
+ }
4595
+ }
4596
+ /**
4597
+ * @returns {string}
4598
+ */
4599
+ getPath() {
4600
+ let deferred1_0;
4601
+ let deferred1_1;
4602
+ try {
4603
+ const ret = wasm.rawbytes_getPath(this.__wbg_ptr);
4604
+ deferred1_0 = ret[0];
4605
+ deferred1_1 = ret[1];
4606
+ return getStringFromWasm0(ret[0], ret[1]);
4607
+ } finally {
4608
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4609
+ }
4610
+ }
4611
+ /**
4612
+ * @returns {boolean}
4613
+ */
4614
+ hasData() {
4615
+ const ret = wasm.rawbytes_hasData(this.__wbg_ptr);
4616
+ return ret !== 0;
4617
+ }
4618
+ /**
4619
+ * @returns {boolean}
4620
+ */
4621
+ isEmpty() {
4622
+ const ret = wasm.rawbytes_isEmpty(this.__wbg_ptr);
4623
+ return ret !== 0;
4624
+ }
4625
+ /**
4626
+ * @returns {boolean}
4627
+ */
4628
+ isLoaded() {
4629
+ const ret = wasm.rawbytes_isLoaded(this.__wbg_ptr);
4630
+ return ret !== 0;
4631
+ }
4632
+ /**
4633
+ * @returns {boolean}
4634
+ */
4635
+ isUnloaded() {
4636
+ const ret = wasm.rawbytes_isUnloaded(this.__wbg_ptr);
4637
+ return ret !== 0;
4638
+ }
4639
+ /**
4640
+ * @param {string} path
4641
+ * @param {Uint8Array} array
4642
+ * @returns {RawBytes}
4643
+ */
4644
+ static fromUint8Array(path, array) {
4645
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4646
+ const len0 = WASM_VECTOR_LEN;
4647
+ const ret = wasm.rawbytes_fromUint8Array(ptr0, len0, array);
4648
+ if (ret[2]) {
4649
+ throw takeFromExternrefTable0(ret[1]);
4650
+ }
4651
+ return RawBytes.__wrap(ret[0]);
4652
+ }
2678
4653
  /**
2679
4654
  * @param {string} path
2680
4655
  * @param {ArrayBuffer} buffer
@@ -2691,13 +4666,13 @@ class RawBytes {
2691
4666
  }
2692
4667
  /**
2693
4668
  * @param {string} path
2694
- * @param {ArrayBuffer} buffer
4669
+ * @param {Uint8Array} array
2695
4670
  * @returns {RawBytes}
2696
4671
  */
2697
- static fromArrayBufferUnloaded(path, buffer) {
4672
+ static fromUint8ArrayUnloaded(path, array) {
2698
4673
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2699
4674
  const len0 = WASM_VECTOR_LEN;
2700
- const ret = wasm.rawbytes_fromArrayBufferUnloaded(ptr0, len0, buffer);
4675
+ const ret = wasm.rawbytes_fromUint8ArrayUnloaded(ptr0, len0, array);
2701
4676
  if (ret[2]) {
2702
4677
  throw takeFromExternrefTable0(ret[1]);
2703
4678
  }
@@ -2705,40 +4680,93 @@ class RawBytes {
2705
4680
  }
2706
4681
  /**
2707
4682
  * @param {string} path
2708
- * @param {Uint8Array} array
4683
+ * @param {ArrayBuffer} buffer
2709
4684
  * @returns {RawBytes}
2710
4685
  */
2711
- static fromUint8Array(path, array) {
4686
+ static fromArrayBufferUnloaded(path, buffer) {
2712
4687
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2713
4688
  const len0 = WASM_VECTOR_LEN;
2714
- const ret = wasm.rawbytes_fromUint8Array(ptr0, len0, array);
4689
+ const ret = wasm.rawbytes_fromArrayBufferUnloaded(ptr0, len0, buffer);
2715
4690
  if (ret[2]) {
2716
4691
  throw takeFromExternrefTable0(ret[1]);
2717
4692
  }
2718
4693
  return RawBytes.__wrap(ret[0]);
2719
4694
  }
4695
+ load() {
4696
+ const ret = wasm.rawbytes_load(this.__wbg_ptr);
4697
+ if (ret[1]) {
4698
+ throw takeFromExternrefTable0(ret[0]);
4699
+ }
4700
+ }
4701
+ }
4702
+ if (Symbol.dispose) RawBytes.prototype[Symbol.dispose] = RawBytes.prototype.free;
4703
+ exports.RawBytes = RawBytes;
4704
+
4705
+ class Results {
4706
+ static __wrap(ptr) {
4707
+ ptr = ptr >>> 0;
4708
+ const obj = Object.create(Results.prototype);
4709
+ obj.__wbg_ptr = ptr;
4710
+ ResultsFinalization.register(obj, obj.__wbg_ptr, obj);
4711
+ return obj;
4712
+ }
4713
+ __destroy_into_raw() {
4714
+ const ptr = this.__wbg_ptr;
4715
+ this.__wbg_ptr = 0;
4716
+ ResultsFinalization.unregister(this);
4717
+ return ptr;
4718
+ }
4719
+ free() {
4720
+ const ptr = this.__destroy_into_raw();
4721
+ wasm.__wbg_results_free(ptr, 0);
4722
+ }
4723
+ /**
4724
+ * @returns {ResultsBackgroundType}
4725
+ */
4726
+ get results_background_type() {
4727
+ const ret = wasm.__wbg_get_results_results_background_type(this.__wbg_ptr);
4728
+ return ret;
4729
+ }
4730
+ /**
4731
+ * @param {ResultsBackgroundType} arg0
4732
+ */
4733
+ set results_background_type(arg0) {
4734
+ wasm.__wbg_set_results_results_background_type(this.__wbg_ptr, arg0);
4735
+ }
4736
+ /**
4737
+ * @returns {number}
4738
+ */
4739
+ get results_background_filter_alpha() {
4740
+ const ret = wasm.__wbg_get_results_results_background_filter_alpha(this.__wbg_ptr);
4741
+ return ret;
4742
+ }
2720
4743
  /**
2721
- * @param {string} path
2722
- * @param {Uint8Array} array
2723
- * @returns {RawBytes}
4744
+ * @param {number} arg0
2724
4745
  */
2725
- static fromUint8ArrayUnloaded(path, array) {
2726
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4746
+ set results_background_filter_alpha(arg0) {
4747
+ wasm.__wbg_set_results_results_background_filter_alpha(this.__wbg_ptr, arg0);
4748
+ }
4749
+ /**
4750
+ * @param {string} content
4751
+ * @returns {Results}
4752
+ */
4753
+ static fromStr(content) {
4754
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2727
4755
  const len0 = WASM_VECTOR_LEN;
2728
- const ret = wasm.rawbytes_fromUint8ArrayUnloaded(ptr0, len0, array);
4756
+ const ret = wasm.results_fromStr(ptr0, len0);
2729
4757
  if (ret[2]) {
2730
4758
  throw takeFromExternrefTable0(ret[1]);
2731
4759
  }
2732
- return RawBytes.__wrap(ret[0]);
4760
+ return Results.__wrap(ret[0]);
2733
4761
  }
2734
4762
  /**
2735
4763
  * @returns {string}
2736
4764
  */
2737
- getPath() {
4765
+ toString() {
2738
4766
  let deferred1_0;
2739
4767
  let deferred1_1;
2740
4768
  try {
2741
- const ret = wasm.rawbytes_getPath(this.__wbg_ptr);
4769
+ const ret = wasm.results_toString(this.__wbg_ptr);
2742
4770
  deferred1_0 = ret[0];
2743
4771
  deferred1_1 = ret[1];
2744
4772
  return getStringFromWasm0(ret[0], ret[1]);
@@ -2746,49 +4774,19 @@ class RawBytes {
2746
4774
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2747
4775
  }
2748
4776
  }
2749
- /**
2750
- * @returns {boolean}
2751
- */
2752
- hasData() {
2753
- const ret = wasm.rawbytes_hasData(this.__wbg_ptr);
2754
- return ret !== 0;
2755
- }
2756
- /**
2757
- * @returns {boolean}
2758
- */
2759
- isLoaded() {
2760
- const ret = wasm.rawbytes_isLoaded(this.__wbg_ptr);
2761
- return ret !== 0;
2762
- }
2763
- /**
2764
- * @returns {boolean}
2765
- */
2766
- isUnloaded() {
2767
- const ret = wasm.rawbytes_isUnloaded(this.__wbg_ptr);
2768
- return ret !== 0;
2769
- }
2770
- /**
2771
- * @returns {boolean}
2772
- */
2773
- isEmpty() {
2774
- const ret = wasm.rawbytes_isEmpty(this.__wbg_ptr);
2775
- return ret !== 0;
2776
- }
2777
- load() {
2778
- const ret = wasm.rawbytes_load(this.__wbg_ptr);
2779
- if (ret[1]) {
2780
- throw takeFromExternrefTable0(ret[0]);
2781
- }
2782
- }
2783
- unload() {
2784
- const ret = wasm.rawbytes_unload(this.__wbg_ptr);
2785
- if (ret[1]) {
2786
- throw takeFromExternrefTable0(ret[0]);
2787
- }
2788
- }
2789
4777
  }
2790
- if (Symbol.dispose) RawBytes.prototype[Symbol.dispose] = RawBytes.prototype.free;
2791
- exports.RawBytes = RawBytes;
4778
+ if (Symbol.dispose) Results.prototype[Symbol.dispose] = Results.prototype.free;
4779
+ exports.Results = Results;
4780
+
4781
+ /**
4782
+ * @enum {0 | 1 | 2}
4783
+ */
4784
+ const ResultsBackgroundType = Object.freeze({
4785
+ Header: 0, "0": "Header",
4786
+ Background: 1, "1": "Background",
4787
+ None: 2, "2": "None",
4788
+ });
4789
+ exports.ResultsBackgroundType = ResultsBackgroundType;
2792
4790
 
2793
4791
  class SkinJson {
2794
4792
  static __wrap(ptr) {
@@ -2840,12 +4838,6 @@ class SkinJson {
2840
4838
  const len0 = WASM_VECTOR_LEN;
2841
4839
  wasm.__wbg_set_skinjson_keymodes(this.__wbg_ptr, ptr0, len0);
2842
4840
  }
2843
- constructor() {
2844
- const ret = wasm.skinjson_new();
2845
- this.__wbg_ptr = ret >>> 0;
2846
- SkinJsonFinalization.register(this, this.__wbg_ptr, this);
2847
- return this;
2848
- }
2849
4841
  /**
2850
4842
  * @param {string} json_str
2851
4843
  * @returns {SkinJson}
@@ -2874,10 +4866,105 @@ class SkinJson {
2874
4866
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2875
4867
  }
2876
4868
  }
4869
+ constructor() {
4870
+ const ret = wasm.skinjson_new();
4871
+ this.__wbg_ptr = ret >>> 0;
4872
+ SkinJsonFinalization.register(this, this.__wbg_ptr, this);
4873
+ return this;
4874
+ }
2877
4875
  }
2878
4876
  if (Symbol.dispose) SkinJson.prototype[Symbol.dispose] = SkinJson.prototype.free;
2879
4877
  exports.SkinJson = SkinJson;
2880
4878
 
4879
+ class SongSelect {
4880
+ static __wrap(ptr) {
4881
+ ptr = ptr >>> 0;
4882
+ const obj = Object.create(SongSelect.prototype);
4883
+ obj.__wbg_ptr = ptr;
4884
+ SongSelectFinalization.register(obj, obj.__wbg_ptr, obj);
4885
+ return obj;
4886
+ }
4887
+ __destroy_into_raw() {
4888
+ const ptr = this.__wbg_ptr;
4889
+ this.__wbg_ptr = 0;
4890
+ SongSelectFinalization.unregister(this);
4891
+ return ptr;
4892
+ }
4893
+ free() {
4894
+ const ptr = this.__destroy_into_raw();
4895
+ wasm.__wbg_songselect_free(ptr, 0);
4896
+ }
4897
+ /**
4898
+ * @returns {number}
4899
+ */
4900
+ get mapset_panel_hovering_alpha() {
4901
+ const ret = wasm.__wbg_get_songselect_mapset_panel_hovering_alpha(this.__wbg_ptr);
4902
+ return ret;
4903
+ }
4904
+ /**
4905
+ * @param {number} arg0
4906
+ */
4907
+ set mapset_panel_hovering_alpha(arg0) {
4908
+ wasm.__wbg_set_songselect_mapset_panel_hovering_alpha(this.__wbg_ptr, arg0);
4909
+ }
4910
+ /**
4911
+ * @returns {number}
4912
+ */
4913
+ get map_background_brightness() {
4914
+ const ret = wasm.__wbg_get_songselect_map_background_brightness(this.__wbg_ptr);
4915
+ return ret;
4916
+ }
4917
+ /**
4918
+ * @param {number} arg0
4919
+ */
4920
+ set map_background_brightness(arg0) {
4921
+ wasm.__wbg_set_songselect_map_background_brightness(this.__wbg_ptr, arg0);
4922
+ }
4923
+ /**
4924
+ * @returns {boolean}
4925
+ */
4926
+ get display_map_background() {
4927
+ const ret = wasm.__wbg_get_songselect_display_map_background(this.__wbg_ptr);
4928
+ return ret !== 0;
4929
+ }
4930
+ /**
4931
+ * @param {boolean} arg0
4932
+ */
4933
+ set display_map_background(arg0) {
4934
+ wasm.__wbg_set_songselect_display_map_background(this.__wbg_ptr, arg0);
4935
+ }
4936
+ /**
4937
+ * @param {string} content
4938
+ * @returns {SongSelect}
4939
+ */
4940
+ static fromStr(content) {
4941
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
4942
+ const len0 = WASM_VECTOR_LEN;
4943
+ const ret = wasm.songselect_fromStr(ptr0, len0);
4944
+ if (ret[2]) {
4945
+ throw takeFromExternrefTable0(ret[1]);
4946
+ }
4947
+ return SongSelect.__wrap(ret[0]);
4948
+ }
4949
+ /**
4950
+ * @returns {string}
4951
+ */
4952
+ toString() {
4953
+ let deferred1_0;
4954
+ let deferred1_1;
4955
+ try {
4956
+ const ret = wasm.songselect_toString(this.__wbg_ptr);
4957
+ deferred1_0 = ret[0];
4958
+ deferred1_1 = ret[1];
4959
+ return getStringFromWasm0(ret[0], ret[1]);
4960
+ } finally {
4961
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4962
+ }
4963
+ }
4964
+ }
4965
+ if (Symbol.dispose) SongSelect.prototype[Symbol.dispose] = SongSelect.prototype.free;
4966
+ exports.SongSelect = SongSelect;
4967
+
2881
4968
  class Texture {
2882
4969
  static __wrap(ptr) {
2883
4970
  ptr = ptr >>> 0;
@@ -2919,17 +5006,6 @@ class Texture {
2919
5006
  const len0 = WASM_VECTOR_LEN;
2920
5007
  wasm.__wbg_set_texture_path(this.__wbg_ptr, ptr0, len0);
2921
5008
  }
2922
- /**
2923
- * @param {string} path
2924
- */
2925
- constructor(path) {
2926
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2927
- const len0 = WASM_VECTOR_LEN;
2928
- const ret = wasm.texture_new(ptr0, len0);
2929
- this.__wbg_ptr = ret >>> 0;
2930
- TextureFinalization.register(this, this.__wbg_ptr, this);
2931
- return this;
2932
- }
2933
5009
  /**
2934
5010
  * @param {string} path
2935
5011
  * @returns {Texture}
@@ -2941,60 +5017,28 @@ class Texture {
2941
5017
  return Texture.__wrap(ret);
2942
5018
  }
2943
5019
  /**
2944
- * @param {string} path
2945
- * @param {ArrayBuffer} buffer
2946
- * @returns {Texture}
2947
- */
2948
- static fromArrayBuffer(path, buffer) {
2949
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2950
- const len0 = WASM_VECTOR_LEN;
2951
- const ret = wasm.texture_fromArrayBuffer(ptr0, len0, buffer);
2952
- if (ret[2]) {
2953
- throw takeFromExternrefTable0(ret[1]);
2954
- }
2955
- return Texture.__wrap(ret[0]);
2956
- }
2957
- /**
2958
- * @param {string} path
2959
- * @param {ArrayBuffer} buffer
2960
- * @returns {Texture}
5020
+ * @returns {bigint | undefined}
2961
5021
  */
2962
- static fromArrayBufferUnloaded(path, buffer) {
2963
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2964
- const len0 = WASM_VECTOR_LEN;
2965
- const ret = wasm.texture_fromArrayBufferUnloaded(ptr0, len0, buffer);
2966
- if (ret[2]) {
2967
- throw takeFromExternrefTable0(ret[1]);
2968
- }
2969
- return Texture.__wrap(ret[0]);
5022
+ getHash() {
5023
+ const ret = wasm.texture_getHash(this.__wbg_ptr);
5024
+ return ret[0] === 0 ? undefined : BigInt.asUintN(64, ret[1]);
2970
5025
  }
2971
5026
  /**
2972
5027
  * @param {string} path
2973
- * @param {Uint8Array} array
2974
- * @returns {Texture}
2975
5028
  */
2976
- static fromUint8Array(path, array) {
5029
+ constructor(path) {
2977
5030
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2978
5031
  const len0 = WASM_VECTOR_LEN;
2979
- const ret = wasm.texture_fromUint8Array(ptr0, len0, array);
2980
- if (ret[2]) {
2981
- throw takeFromExternrefTable0(ret[1]);
2982
- }
2983
- return Texture.__wrap(ret[0]);
5032
+ const ret = wasm.texture_new(ptr0, len0);
5033
+ this.__wbg_ptr = ret >>> 0;
5034
+ TextureFinalization.register(this, this.__wbg_ptr, this);
5035
+ return this;
2984
5036
  }
2985
- /**
2986
- * @param {string} path
2987
- * @param {Uint8Array} array
2988
- * @returns {Texture}
2989
- */
2990
- static fromUint8ArrayUnloaded(path, array) {
2991
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2992
- const len0 = WASM_VECTOR_LEN;
2993
- const ret = wasm.texture_fromUint8ArrayUnloaded(ptr0, len0, array);
2994
- if (ret[2]) {
2995
- throw takeFromExternrefTable0(ret[1]);
5037
+ unload() {
5038
+ const ret = wasm.texture_unload(this.__wbg_ptr);
5039
+ if (ret[1]) {
5040
+ throw takeFromExternrefTable0(ret[0]);
2996
5041
  }
2997
- return Texture.__wrap(ret[0]);
2998
5042
  }
2999
5043
  /**
3000
5044
  * @returns {string}
@@ -3018,6 +5062,13 @@ class Texture {
3018
5062
  const ret = wasm.texture_hasData(this.__wbg_ptr);
3019
5063
  return ret !== 0;
3020
5064
  }
5065
+ /**
5066
+ * @returns {boolean}
5067
+ */
5068
+ isEmpty() {
5069
+ const ret = wasm.texture_isEmpty(this.__wbg_ptr);
5070
+ return ret !== 0;
5071
+ }
3021
5072
  /**
3022
5073
  * @returns {boolean}
3023
5074
  */
@@ -3033,11 +5084,60 @@ class Texture {
3033
5084
  return ret !== 0;
3034
5085
  }
3035
5086
  /**
3036
- * @returns {boolean}
5087
+ * @param {string} path
5088
+ * @param {Uint8Array} array
5089
+ * @returns {Texture}
5090
+ */
5091
+ static fromUint8Array(path, array) {
5092
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5093
+ const len0 = WASM_VECTOR_LEN;
5094
+ const ret = wasm.texture_fromUint8Array(ptr0, len0, array);
5095
+ if (ret[2]) {
5096
+ throw takeFromExternrefTable0(ret[1]);
5097
+ }
5098
+ return Texture.__wrap(ret[0]);
5099
+ }
5100
+ /**
5101
+ * @param {string} path
5102
+ * @param {ArrayBuffer} buffer
5103
+ * @returns {Texture}
5104
+ */
5105
+ static fromArrayBuffer(path, buffer) {
5106
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5107
+ const len0 = WASM_VECTOR_LEN;
5108
+ const ret = wasm.texture_fromArrayBuffer(ptr0, len0, buffer);
5109
+ if (ret[2]) {
5110
+ throw takeFromExternrefTable0(ret[1]);
5111
+ }
5112
+ return Texture.__wrap(ret[0]);
5113
+ }
5114
+ /**
5115
+ * @param {string} path
5116
+ * @param {Uint8Array} array
5117
+ * @returns {Texture}
5118
+ */
5119
+ static fromUint8ArrayUnloaded(path, array) {
5120
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5121
+ const len0 = WASM_VECTOR_LEN;
5122
+ const ret = wasm.texture_fromUint8ArrayUnloaded(ptr0, len0, array);
5123
+ if (ret[2]) {
5124
+ throw takeFromExternrefTable0(ret[1]);
5125
+ }
5126
+ return Texture.__wrap(ret[0]);
5127
+ }
5128
+ /**
5129
+ * @param {string} path
5130
+ * @param {ArrayBuffer} buffer
5131
+ * @returns {Texture}
3037
5132
  */
3038
- isEmpty() {
3039
- const ret = wasm.texture_isEmpty(this.__wbg_ptr);
3040
- return ret !== 0;
5133
+ static fromArrayBufferUnloaded(path, buffer) {
5134
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5135
+ const len0 = WASM_VECTOR_LEN;
5136
+ const ret = wasm.texture_fromArrayBufferUnloaded(ptr0, len0, buffer);
5137
+ if (ret[2]) {
5138
+ throw takeFromExternrefTable0(ret[1]);
5139
+ }
5140
+ return Texture.__wrap(ret[0]);
3041
5141
  }
3042
5142
  load() {
3043
5143
  const ret = wasm.texture_load(this.__wbg_ptr);
@@ -3045,12 +5145,6 @@ class Texture {
3045
5145
  throw takeFromExternrefTable0(ret[0]);
3046
5146
  }
3047
5147
  }
3048
- unload() {
3049
- const ret = wasm.texture_unload(this.__wbg_ptr);
3050
- if (ret[1]) {
3051
- throw takeFromExternrefTable0(ret[0]);
3052
- }
3053
- }
3054
5148
  }
3055
5149
  if (Symbol.dispose) Texture.prototype[Symbol.dispose] = Texture.prototype.free;
3056
5150
  exports.Texture = Texture;
@@ -3073,19 +5167,22 @@ class TextureStore {
3073
5167
  const ptr = this.__destroy_into_raw();
3074
5168
  wasm.__wbg_texturestore_free(ptr, 0);
3075
5169
  }
3076
- constructor() {
3077
- const ret = wasm.texturestore_new_wasm();
3078
- this.__wbg_ptr = ret >>> 0;
3079
- TextureStoreFinalization.register(this, this.__wbg_ptr, this);
3080
- return this;
5170
+ /**
5171
+ * @returns {boolean}
5172
+ */
5173
+ allLoaded() {
5174
+ const ret = wasm.texturestore_allLoaded(this.__wbg_ptr);
5175
+ return ret !== 0;
3081
5176
  }
3082
5177
  /**
3083
- * @param {Texture} texture
5178
+ * @param {string} path
5179
+ * @returns {boolean}
3084
5180
  */
3085
- insertTexture(texture) {
3086
- _assertClass(texture, Texture);
3087
- var ptr0 = texture.__destroy_into_raw();
3088
- wasm.texturestore_insertTexture(this.__wbg_ptr, ptr0);
5181
+ hasTexture(path) {
5182
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5183
+ const len0 = WASM_VECTOR_LEN;
5184
+ const ret = wasm.texturestore_contains(this.__wbg_ptr, ptr0, len0);
5185
+ return ret !== 0;
3089
5186
  }
3090
5187
  /**
3091
5188
  * @param {string} new_path
@@ -3108,37 +5205,6 @@ class TextureStore {
3108
5205
  wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
3109
5206
  }
3110
5207
  }
3111
- /**
3112
- * @param {string} path
3113
- * @param {ArrayBuffer} buffer
3114
- */
3115
- loadFromArrayBuffer(path, buffer) {
3116
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3117
- const len0 = WASM_VECTOR_LEN;
3118
- const ret = wasm.texturestore_loadFromArrayBuffer(this.__wbg_ptr, ptr0, len0, buffer);
3119
- if (ret[1]) {
3120
- throw takeFromExternrefTable0(ret[0]);
3121
- }
3122
- }
3123
- /**
3124
- * @param {string} path
3125
- * @param {Uint8Array} array
3126
- */
3127
- loadFromUint8Array(path, array) {
3128
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3129
- const len0 = WASM_VECTOR_LEN;
3130
- const ret = wasm.texturestore_loadFromUint8Array(this.__wbg_ptr, ptr0, len0, array);
3131
- if (ret[1]) {
3132
- throw takeFromExternrefTable0(ret[0]);
3133
- }
3134
- }
3135
- /**
3136
- * @returns {boolean}
3137
- */
3138
- allLoaded() {
3139
- const ret = wasm.texturestore_allLoaded(this.__wbg_ptr);
3140
- return ret !== 0;
3141
- }
3142
5208
  /**
3143
5209
  * @returns {number}
3144
5210
  */
@@ -3146,6 +5212,14 @@ class TextureStore {
3146
5212
  const ret = wasm.texturestore_loadedCount(this.__wbg_ptr);
3147
5213
  return ret >>> 0;
3148
5214
  }
5215
+ /**
5216
+ * @param {Texture} texture
5217
+ */
5218
+ insertTexture(texture) {
5219
+ _assertClass(texture, Texture);
5220
+ var ptr0 = texture.__destroy_into_raw();
5221
+ wasm.texturestore_insertTexture(this.__wbg_ptr, ptr0);
5222
+ }
3149
5223
  /**
3150
5224
  * @returns {Array<any>}
3151
5225
  */
@@ -3153,16 +5227,6 @@ class TextureStore {
3153
5227
  const ret = wasm.texturestore_unloadedPaths(this.__wbg_ptr);
3154
5228
  return ret;
3155
5229
  }
3156
- /**
3157
- * @param {string} path
3158
- * @returns {boolean}
3159
- */
3160
- hasTexture(path) {
3161
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3162
- const len0 = WASM_VECTOR_LEN;
3163
- const ret = wasm.texturestore_contains(this.__wbg_ptr, ptr0, len0);
3164
- return ret !== 0;
3165
- }
3166
5230
  /**
3167
5231
  * @param {string} path
3168
5232
  * @returns {string | undefined}
@@ -3190,23 +5254,36 @@ class TextureStore {
3190
5254
  }
3191
5255
  /**
3192
5256
  * @param {string} path
3193
- * @returns {boolean}
5257
+ * @param {Uint8Array} array
3194
5258
  */
3195
- contains(path) {
5259
+ loadFromUint8Array(path, array) {
3196
5260
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3197
5261
  const len0 = WASM_VECTOR_LEN;
3198
- const ret = wasm.texturestore_contains(this.__wbg_ptr, ptr0, len0);
3199
- return ret !== 0;
5262
+ const ret = wasm.texturestore_loadFromUint8Array(this.__wbg_ptr, ptr0, len0, array);
5263
+ if (ret[1]) {
5264
+ throw takeFromExternrefTable0(ret[0]);
5265
+ }
3200
5266
  }
3201
5267
  /**
3202
5268
  * @param {string} path
3203
- * @returns {boolean}
5269
+ * @param {ArrayBuffer} buffer
3204
5270
  */
3205
- remove(path) {
5271
+ loadFromArrayBuffer(path, buffer) {
3206
5272
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3207
5273
  const len0 = WASM_VECTOR_LEN;
3208
- const ret = wasm.texturestore_remove(this.__wbg_ptr, ptr0, len0);
3209
- return ret !== 0;
5274
+ const ret = wasm.texturestore_loadFromArrayBuffer(this.__wbg_ptr, ptr0, len0, buffer);
5275
+ if (ret[1]) {
5276
+ throw takeFromExternrefTable0(ret[0]);
5277
+ }
5278
+ }
5279
+ constructor() {
5280
+ const ret = wasm.texturestore_new_wasm();
5281
+ this.__wbg_ptr = ret >>> 0;
5282
+ TextureStoreFinalization.register(this, this.__wbg_ptr, this);
5283
+ return this;
5284
+ }
5285
+ clear() {
5286
+ wasm.texturestore_clear(this.__wbg_ptr);
3210
5287
  }
3211
5288
  /**
3212
5289
  * @returns {number}
@@ -3215,6 +5292,33 @@ class TextureStore {
3215
5292
  const ret = wasm.texturestore_getLength(this.__wbg_ptr);
3216
5293
  return ret >>> 0;
3217
5294
  }
5295
+ /**
5296
+ * @param {TextureStore} other
5297
+ */
5298
+ extend(other) {
5299
+ _assertClass(other, TextureStore);
5300
+ wasm.texturestore_extend(this.__wbg_ptr, other.__wbg_ptr);
5301
+ }
5302
+ /**
5303
+ * @param {string} path
5304
+ * @returns {boolean}
5305
+ */
5306
+ remove(path) {
5307
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5308
+ const len0 = WASM_VECTOR_LEN;
5309
+ const ret = wasm.texturestore_remove(this.__wbg_ptr, ptr0, len0);
5310
+ return ret !== 0;
5311
+ }
5312
+ /**
5313
+ * @param {string} path
5314
+ * @returns {boolean}
5315
+ */
5316
+ contains(path) {
5317
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5318
+ const len0 = WASM_VECTOR_LEN;
5319
+ const ret = wasm.texturestore_contains(this.__wbg_ptr, ptr0, len0);
5320
+ return ret !== 0;
5321
+ }
3218
5322
  /**
3219
5323
  * @returns {boolean}
3220
5324
  */
@@ -3229,20 +5333,17 @@ class TextureStore {
3229
5333
  const ret = wasm.texturestore_getPaths(this.__wbg_ptr);
3230
5334
  return ret;
3231
5335
  }
3232
- clear() {
3233
- wasm.texturestore_clear(this.__wbg_ptr);
3234
- }
3235
5336
  /**
3236
5337
  * @param {string} original_path
3237
- * @param {string} new_path
5338
+ * @param {string} new_base_path
3238
5339
  * @returns {string | undefined}
3239
5340
  */
3240
- copy(original_path, new_path) {
5341
+ makeUniqueCopy(original_path, new_base_path) {
3241
5342
  const ptr0 = passStringToWasm0(original_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3242
5343
  const len0 = WASM_VECTOR_LEN;
3243
- const ptr1 = passStringToWasm0(new_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5344
+ const ptr1 = passStringToWasm0(new_base_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3244
5345
  const len1 = WASM_VECTOR_LEN;
3245
- const ret = wasm.texturestore_copy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
5346
+ const ret = wasm.texturestore_makeUniqueCopy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
3246
5347
  let v3;
3247
5348
  if (ret[0] !== 0) {
3248
5349
  v3 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -3252,15 +5353,15 @@ class TextureStore {
3252
5353
  }
3253
5354
  /**
3254
5355
  * @param {string} original_path
3255
- * @param {string} new_base_path
5356
+ * @param {string} new_path
3256
5357
  * @returns {string | undefined}
3257
5358
  */
3258
- makeUniqueCopy(original_path, new_base_path) {
5359
+ copy(original_path, new_path) {
3259
5360
  const ptr0 = passStringToWasm0(original_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3260
5361
  const len0 = WASM_VECTOR_LEN;
3261
- const ptr1 = passStringToWasm0(new_base_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5362
+ const ptr1 = passStringToWasm0(new_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3262
5363
  const len1 = WASM_VECTOR_LEN;
3263
- const ret = wasm.texturestore_makeUniqueCopy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
5364
+ const ret = wasm.texturestore_copy(this.__wbg_ptr, ptr0, len0, ptr1, len1);
3264
5365
  let v3;
3265
5366
  if (ret[0] !== 0) {
3266
5367
  v3 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -3268,13 +5369,6 @@ class TextureStore {
3268
5369
  }
3269
5370
  return v3;
3270
5371
  }
3271
- /**
3272
- * @param {TextureStore} other
3273
- */
3274
- extend(other) {
3275
- _assertClass(other, TextureStore);
3276
- wasm.texturestore_extend(this.__wbg_ptr, other.__wbg_ptr);
3277
- }
3278
5372
  }
3279
5373
  if (Symbol.dispose) TextureStore.prototype[Symbol.dispose] = TextureStore.prototype.free;
3280
5374
  exports.TextureStore = TextureStore;
@@ -3296,12 +5390,15 @@ exports.allSamplesFromDir = allSamplesFromDir;
3296
5390
 
3297
5391
  /**
3298
5392
  * @param {string} path
5393
+ * @param {string[] | null} [load_only]
3299
5394
  * @returns {TextureStore}
3300
5395
  */
3301
- function allTexturesFromDir(path) {
5396
+ function allTexturesFromDir(path, load_only) {
3302
5397
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3303
5398
  const len0 = WASM_VECTOR_LEN;
3304
- const ret = wasm.allTexturesFromDir(ptr0, len0);
5399
+ var ptr1 = isLikeNone(load_only) ? 0 : passArrayJsValueToWasm0(load_only, wasm.__wbindgen_malloc);
5400
+ var len1 = WASM_VECTOR_LEN;
5401
+ const ret = wasm.allTexturesFromDir(ptr0, len0, ptr1, len1);
3305
5402
  if (ret[2]) {
3306
5403
  throw takeFromExternrefTable0(ret[1]);
3307
5404
  }
@@ -3311,12 +5408,13 @@ exports.allTexturesFromDir = allTexturesFromDir;
3311
5408
 
3312
5409
  /**
3313
5410
  * @param {string} path
5411
+ * @param {boolean | null} [import_all]
3314
5412
  * @returns {FluXisSkin}
3315
5413
  */
3316
- function fluXisSkinFromDir(path) {
5414
+ function fluXisSkinFromDir(path, import_all) {
3317
5415
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3318
5416
  const len0 = WASM_VECTOR_LEN;
3319
- const ret = wasm.fluXisSkinFromDir(ptr0, len0);
5417
+ const ret = wasm.fluXisSkinFromDir(ptr0, len0, isLikeNone(import_all) ? 0xFFFFFF : import_all ? 1 : 0);
3320
5418
  if (ret[2]) {
3321
5419
  throw takeFromExternrefTable0(ret[1]);
3322
5420
  }
@@ -3343,13 +5441,13 @@ exports.fluXisSkinToDir = fluXisSkinToDir;
3343
5441
  * @param {string} path
3344
5442
  * @returns {string}
3345
5443
  */
3346
- function iniStrFromDir(path) {
5444
+ function fluxisJsonStrFromDir(path) {
3347
5445
  let deferred2_0;
3348
5446
  let deferred2_1;
3349
5447
  try {
3350
5448
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3351
5449
  const len0 = WASM_VECTOR_LEN;
3352
- const ret = wasm.iniStrFromDir(ptr0, len0);
5450
+ const ret = wasm.fluxisJsonStrFromDir(ptr0, len0);
3353
5451
  deferred2_0 = ret[0];
3354
5452
  deferred2_1 = ret[1];
3355
5453
  return getStringFromWasm0(ret[0], ret[1]);
@@ -3357,34 +5455,49 @@ function iniStrFromDir(path) {
3357
5455
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
3358
5456
  }
3359
5457
  }
3360
- exports.iniStrFromDir = iniStrFromDir;
5458
+ exports.fluxisJsonStrFromDir = fluxisJsonStrFromDir;
3361
5459
 
3362
5460
  /**
3363
- * @param {OsuSkinIni} skin_ini
5461
+ * @param {SkinJson} skin_json
3364
5462
  * @param {string} path
3365
5463
  */
3366
- function iniToDir(skin_ini, path) {
3367
- _assertClass(skin_ini, OsuSkinIni);
5464
+ function fluxisJsonToDir(skin_json, path) {
5465
+ _assertClass(skin_json, SkinJson);
5466
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5467
+ const len0 = WASM_VECTOR_LEN;
5468
+ const ret = wasm.fluxisJsonToDir(skin_json.__wbg_ptr, ptr0, len0);
5469
+ if (ret[1]) {
5470
+ throw takeFromExternrefTable0(ret[0]);
5471
+ }
5472
+ }
5473
+ exports.fluxisJsonToDir = fluxisJsonToDir;
5474
+
5475
+ /**
5476
+ * @param {FluXisLayout} layout_json
5477
+ * @param {string} path
5478
+ */
5479
+ function fluxisLayoutToDir(layout_json, path) {
5480
+ _assertClass(layout_json, FluXisLayout);
3368
5481
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3369
5482
  const len0 = WASM_VECTOR_LEN;
3370
- const ret = wasm.iniToDir(skin_ini.__wbg_ptr, ptr0, len0);
5483
+ const ret = wasm.fluxisLayoutToDir(layout_json.__wbg_ptr, ptr0, len0);
3371
5484
  if (ret[1]) {
3372
5485
  throw takeFromExternrefTable0(ret[0]);
3373
5486
  }
3374
5487
  }
3375
- exports.iniToDir = iniToDir;
5488
+ exports.fluxisLayoutToDir = fluxisLayoutToDir;
3376
5489
 
3377
5490
  /**
3378
5491
  * @param {string} path
3379
5492
  * @returns {string}
3380
5493
  */
3381
- function jsonStrFromDir(path) {
5494
+ function osuIniStrFromDir(path) {
3382
5495
  let deferred2_0;
3383
5496
  let deferred2_1;
3384
5497
  try {
3385
5498
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3386
5499
  const len0 = WASM_VECTOR_LEN;
3387
- const ret = wasm.jsonStrFromDir(ptr0, len0);
5500
+ const ret = wasm.osuIniStrFromDir(ptr0, len0);
3388
5501
  deferred2_0 = ret[0];
3389
5502
  deferred2_1 = ret[1];
3390
5503
  return getStringFromWasm0(ret[0], ret[1]);
@@ -3392,67 +5505,119 @@ function jsonStrFromDir(path) {
3392
5505
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
3393
5506
  }
3394
5507
  }
3395
- exports.jsonStrFromDir = jsonStrFromDir;
5508
+ exports.osuIniStrFromDir = osuIniStrFromDir;
3396
5509
 
3397
5510
  /**
3398
- * @param {SkinJson} skin_json
5511
+ * @param {OsuSkinIni} skin_ini
3399
5512
  * @param {string} path
3400
5513
  */
3401
- function jsonToDir(skin_json, path) {
3402
- _assertClass(skin_json, SkinJson);
5514
+ function osuIniToDir(skin_ini, path) {
5515
+ _assertClass(skin_ini, OsuSkinIni);
3403
5516
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3404
5517
  const len0 = WASM_VECTOR_LEN;
3405
- const ret = wasm.jsonToDir(skin_json.__wbg_ptr, ptr0, len0);
5518
+ const ret = wasm.osuIniToDir(skin_ini.__wbg_ptr, ptr0, len0);
3406
5519
  if (ret[1]) {
3407
5520
  throw takeFromExternrefTable0(ret[0]);
3408
5521
  }
3409
5522
  }
3410
- exports.jsonToDir = jsonToDir;
5523
+ exports.osuIniToDir = osuIniToDir;
3411
5524
 
3412
5525
  /**
3413
- * @param {FluXisLayout} layout_json
3414
5526
  * @param {string} path
5527
+ * @param {boolean | null} [import_all]
5528
+ * @returns {OsuSkin}
3415
5529
  */
3416
- function layoutToDir(layout_json, path) {
3417
- _assertClass(layout_json, FluXisLayout);
5530
+ function osuSkinFromDir(path, import_all) {
5531
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5532
+ const len0 = WASM_VECTOR_LEN;
5533
+ const ret = wasm.osuSkinFromDir(ptr0, len0, isLikeNone(import_all) ? 0xFFFFFF : import_all ? 1 : 0);
5534
+ if (ret[2]) {
5535
+ throw takeFromExternrefTable0(ret[1]);
5536
+ }
5537
+ return OsuSkin.__wrap(ret[0]);
5538
+ }
5539
+ exports.osuSkinFromDir = osuSkinFromDir;
5540
+
5541
+ /**
5542
+ * @param {OsuSkin} skin
5543
+ * @param {string} path
5544
+ */
5545
+ function osuSkinToDir(skin, path) {
5546
+ _assertClass(skin, OsuSkin);
3418
5547
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3419
5548
  const len0 = WASM_VECTOR_LEN;
3420
- const ret = wasm.layoutToDir(layout_json.__wbg_ptr, ptr0, len0);
5549
+ const ret = wasm.osuSkinToDir(skin.__wbg_ptr, ptr0, len0);
3421
5550
  if (ret[1]) {
3422
5551
  throw takeFromExternrefTable0(ret[0]);
3423
5552
  }
3424
5553
  }
3425
- exports.layoutToDir = layoutToDir;
5554
+ exports.osuSkinToDir = osuSkinToDir;
3426
5555
 
3427
5556
  /**
3428
5557
  * @param {string} path
3429
- * @returns {OsuSkin}
5558
+ * @returns {string}
5559
+ */
5560
+ function quaverIniStrFromDir(path) {
5561
+ let deferred2_0;
5562
+ let deferred2_1;
5563
+ try {
5564
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5565
+ const len0 = WASM_VECTOR_LEN;
5566
+ const ret = wasm.quaverIniStrFromDir(ptr0, len0);
5567
+ deferred2_0 = ret[0];
5568
+ deferred2_1 = ret[1];
5569
+ return getStringFromWasm0(ret[0], ret[1]);
5570
+ } finally {
5571
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
5572
+ }
5573
+ }
5574
+ exports.quaverIniStrFromDir = quaverIniStrFromDir;
5575
+
5576
+ /**
5577
+ * @param {QuaSkinIni} skin_ini
5578
+ * @param {string} path
5579
+ */
5580
+ function quaverIniToDir(skin_ini, path) {
5581
+ _assertClass(skin_ini, QuaSkinIni);
5582
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5583
+ const len0 = WASM_VECTOR_LEN;
5584
+ const ret = wasm.quaverIniToDir(skin_ini.__wbg_ptr, ptr0, len0);
5585
+ if (ret[1]) {
5586
+ throw takeFromExternrefTable0(ret[0]);
5587
+ }
5588
+ }
5589
+ exports.quaverIniToDir = quaverIniToDir;
5590
+
5591
+ /**
5592
+ * @param {string} path
5593
+ * @param {boolean | null} [import_all]
5594
+ * @returns {QuaSkin}
3430
5595
  */
3431
- function osuSkinFromDir(path) {
5596
+ function quaverSkinFromDir(path, import_all) {
3432
5597
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3433
5598
  const len0 = WASM_VECTOR_LEN;
3434
- const ret = wasm.osuSkinFromDir(ptr0, len0);
5599
+ const ret = wasm.quaverSkinFromDir(ptr0, len0, isLikeNone(import_all) ? 0xFFFFFF : import_all ? 1 : 0);
3435
5600
  if (ret[2]) {
3436
5601
  throw takeFromExternrefTable0(ret[1]);
3437
5602
  }
3438
- return OsuSkin.__wrap(ret[0]);
5603
+ return QuaSkin.__wrap(ret[0]);
3439
5604
  }
3440
- exports.osuSkinFromDir = osuSkinFromDir;
5605
+ exports.quaverSkinFromDir = quaverSkinFromDir;
3441
5606
 
3442
5607
  /**
3443
- * @param {OsuSkin} skin
5608
+ * @param {QuaSkin} skin
3444
5609
  * @param {string} path
3445
5610
  */
3446
- function osuSkinToDir(skin, path) {
3447
- _assertClass(skin, OsuSkin);
5611
+ function quaverSkinToDir(skin, path) {
5612
+ _assertClass(skin, QuaSkin);
3448
5613
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3449
5614
  const len0 = WASM_VECTOR_LEN;
3450
- const ret = wasm.osuSkinToDir(skin.__wbg_ptr, ptr0, len0);
5615
+ const ret = wasm.quaverSkinToDir(skin.__wbg_ptr, ptr0, len0);
3451
5616
  if (ret[1]) {
3452
5617
  throw takeFromExternrefTable0(ret[0]);
3453
5618
  }
3454
5619
  }
3455
- exports.osuSkinToDir = osuSkinToDir;
5620
+ exports.quaverSkinToDir = quaverSkinToDir;
3456
5621
 
3457
5622
  /**
3458
5623
  * @param {string} path
@@ -3542,7 +5707,7 @@ exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
3542
5707
  throw new Error(getStringFromWasm0(arg0, arg1));
3543
5708
  };
3544
5709
 
3545
- exports.__wbg_createDirAll_b4ab3f4be6b815d3 = function() { return handleError(function (arg0, arg1) {
5710
+ exports.__wbg_createDirAll_170575e19256a2d4 = function() { return handleError(function (arg0, arg1) {
3546
5711
  createDirAll(getStringFromWasm0(arg0, arg1));
3547
5712
  }, arguments) };
3548
5713
 
@@ -3561,12 +5726,12 @@ exports.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
3561
5726
  return ret;
3562
5727
  };
3563
5728
 
3564
- exports.__wbg_isDirectory_b8396ef27601feb9 = function() { return handleError(function (arg0, arg1) {
5729
+ exports.__wbg_isDirectory_05f3d3d916186588 = function() { return handleError(function (arg0, arg1) {
3565
5730
  const ret = isDirectory(getStringFromWasm0(arg0, arg1));
3566
5731
  return ret;
3567
5732
  }, arguments) };
3568
5733
 
3569
- exports.__wbg_joinPath_56fee88db03b855c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
5734
+ exports.__wbg_joinPath_9dc05c716a1dd5e6 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3570
5735
  const ret = joinPath(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3571
5736
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3572
5737
  const len1 = WASM_VECTOR_LEN;
@@ -3618,17 +5783,27 @@ exports.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
3618
5783
  return ret;
3619
5784
  };
3620
5785
 
3621
- exports.__wbg_readDir_cb6d41e9444bdebf = function() { return handleError(function (arg0, arg1) {
5786
+ exports.__wbg_quakeymode_new = function(arg0) {
5787
+ const ret = QuaKeymode.__wrap(arg0);
5788
+ return ret;
5789
+ };
5790
+
5791
+ exports.__wbg_quakeymode_unwrap = function(arg0) {
5792
+ const ret = QuaKeymode.__unwrap(arg0);
5793
+ return ret;
5794
+ };
5795
+
5796
+ exports.__wbg_readDir_a354ae11474d6793 = function() { return handleError(function (arg0, arg1) {
3622
5797
  const ret = readDir(getStringFromWasm0(arg0, arg1));
3623
5798
  return ret;
3624
5799
  }, arguments) };
3625
5800
 
3626
- exports.__wbg_readFileBytes_4ed95deb280a788e = function() { return handleError(function (arg0, arg1) {
5801
+ exports.__wbg_readFileBytes_c0e41f15cab20875 = function() { return handleError(function (arg0, arg1) {
3627
5802
  const ret = readFileBytes(getStringFromWasm0(arg0, arg1));
3628
5803
  return ret;
3629
5804
  }, arguments) };
3630
5805
 
3631
- exports.__wbg_readFileString_e878ad0e1ac6272c = function() { return handleError(function (arg0, arg1, arg2) {
5806
+ exports.__wbg_readFileString_5fc6abd83b694120 = function() { return handleError(function (arg0, arg1, arg2) {
3632
5807
  const ret = readFileString(getStringFromWasm0(arg1, arg2));
3633
5808
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3634
5809
  const len1 = WASM_VECTOR_LEN;
@@ -3636,7 +5811,7 @@ exports.__wbg_readFileString_e878ad0e1ac6272c = function() { return handleError(
3636
5811
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3637
5812
  }, arguments) };
3638
5813
 
3639
- exports.__wbg_writeFile_f73926b68eea6ec7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5814
+ exports.__wbg_writeFile_0884471a7d47b37b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3640
5815
  writeFile(getStringFromWasm0(arg0, arg1), getArrayU8FromWasm0(arg2, arg3));
3641
5816
  }, arguments) };
3642
5817
 
@@ -3656,6 +5831,8 @@ exports.__wbindgen_init_externref_table = function() {
3656
5831
  table.set(offset + 3, false);
3657
5832
  };
3658
5833
 
5834
+ exports.memory = new WebAssembly.Memory({initial:20,maximum:16384,shared:true});
5835
+
3659
5836
  const wasmPath = `${__dirname}/rgskin_bg.wasm`;
3660
5837
  const wasmBytes = require('fs').readFileSync(wasmPath);
3661
5838
  const wasmModule = new WebAssembly.Module(wasmBytes);