fleethub-core 1.7.1 → 1.7.2

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.
@@ -12,12 +12,12 @@ function getObject(idx) { return heap[idx]; }
12
12
 
13
13
  let WASM_VECTOR_LEN = 0;
14
14
 
15
- let cachegetUint8Memory0 = null;
15
+ let cachedUint8Memory0;
16
16
  function getUint8Memory0() {
17
- if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
18
- cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
17
+ if (cachedUint8Memory0.byteLength === 0) {
18
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
19
19
  }
20
- return cachegetUint8Memory0;
20
+ return cachedUint8Memory0;
21
21
  }
22
22
 
23
23
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -73,12 +73,12 @@ function passStringToWasm0(arg, malloc, realloc) {
73
73
  return ptr;
74
74
  }
75
75
 
76
- let cachegetInt32Memory0 = null;
76
+ let cachedInt32Memory0;
77
77
  function getInt32Memory0() {
78
- if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
79
- cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
78
+ if (cachedInt32Memory0.byteLength === 0) {
79
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
80
80
  }
81
- return cachegetInt32Memory0;
81
+ return cachedInt32Memory0;
82
82
  }
83
83
 
84
84
  let heap_next = heap.length;
@@ -123,24 +123,24 @@ function _assertClass(instance, klass) {
123
123
  return instance.ptr;
124
124
  }
125
125
 
126
- let cachegetFloat64Memory0 = null;
126
+ let cachedFloat64Memory0;
127
127
  function getFloat64Memory0() {
128
- if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
129
- cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
128
+ if (cachedFloat64Memory0.byteLength === 0) {
129
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
130
130
  }
131
- return cachegetFloat64Memory0;
131
+ return cachedFloat64Memory0;
132
132
  }
133
133
 
134
134
  function isLikeNone(x) {
135
135
  return x === undefined || x === null;
136
136
  }
137
137
 
138
- let cachegetUint32Memory0 = null;
138
+ let cachedUint32Memory0;
139
139
  function getUint32Memory0() {
140
- if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {
141
- cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);
140
+ if (cachedUint32Memory0.byteLength === 0) {
141
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
142
142
  }
143
- return cachegetUint32Memory0;
143
+ return cachedUint32Memory0;
144
144
  }
145
145
 
146
146
  function getArrayJsValueFromWasm0(ptr, len) {
@@ -153,12 +153,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
153
153
  return result;
154
154
  }
155
155
 
156
- let cachegetUint16Memory0 = null;
156
+ let cachedUint16Memory0;
157
157
  function getUint16Memory0() {
158
- if (cachegetUint16Memory0 === null || cachegetUint16Memory0.buffer !== wasm.memory.buffer) {
159
- cachegetUint16Memory0 = new Uint16Array(wasm.memory.buffer);
158
+ if (cachedUint16Memory0.byteLength === 0) {
159
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
160
160
  }
161
- return cachegetUint16Memory0;
161
+ return cachedUint16Memory0;
162
162
  }
163
163
 
164
164
  function getArrayU16FromWasm0(ptr, len) {
@@ -234,7 +234,6 @@ class AirSquadron {
234
234
  }
235
235
  }
236
236
  /**
237
- * @param {string} arg0
238
237
  */
239
238
  set id(arg0) {
240
239
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -258,7 +257,6 @@ class AirSquadron {
258
257
  }
259
258
  }
260
259
  /**
261
- * @param {BigInt} arg0
262
260
  */
263
261
  set xxh3(arg0) {
264
262
  uint64CvtShim[0] = arg0;
@@ -273,7 +271,6 @@ class AirSquadron {
273
271
  return takeObject(ret);
274
272
  }
275
273
  /**
276
- * @param {AirSquadronMode} arg0
277
274
  */
278
275
  set mode(arg0) {
279
276
  wasm.__wbg_set_airsquadron_mode(this.ptr, addHeapObject(arg0));
@@ -471,7 +468,6 @@ class Comp {
471
468
  return takeObject(ret);
472
469
  }
473
470
  /**
474
- * @param {OrgType} arg0
475
471
  */
476
472
  set org_type(arg0) {
477
473
  wasm.__wbg_set_comp_org_type(this.ptr, addHeapObject(arg0));
@@ -483,7 +479,6 @@ class Comp {
483
479
  return ret;
484
480
  }
485
481
  /**
486
- * @param {number} arg0
487
482
  */
488
483
  set hq_level(arg0) {
489
484
  wasm.__wbg_set_comp_hq_level(this.ptr, arg0);
@@ -495,7 +490,6 @@ class Comp {
495
490
  return Fleet.__wrap(ret);
496
491
  }
497
492
  /**
498
- * @param {Fleet} arg0
499
493
  */
500
494
  set main(arg0) {
501
495
  _assertClass(arg0, Fleet);
@@ -510,7 +504,6 @@ class Comp {
510
504
  return ret === 0 ? undefined : Fleet.__wrap(ret);
511
505
  }
512
506
  /**
513
- * @param {Fleet | undefined} arg0
514
507
  */
515
508
  set escort(arg0) {
516
509
  let ptr0 = 0;
@@ -528,7 +521,6 @@ class Comp {
528
521
  return ret === 0 ? undefined : Fleet.__wrap(ret);
529
522
  }
530
523
  /**
531
- * @param {Fleet | undefined} arg0
532
524
  */
533
525
  set route_sup(arg0) {
534
526
  let ptr0 = 0;
@@ -546,7 +538,6 @@ class Comp {
546
538
  return ret === 0 ? undefined : Fleet.__wrap(ret);
547
539
  }
548
540
  /**
549
- * @param {Fleet | undefined} arg0
550
541
  */
551
542
  set boss_sup(arg0) {
552
543
  let ptr0 = 0;
@@ -914,7 +905,6 @@ class Fleet {
914
905
  }
915
906
  }
916
907
  /**
917
- * @param {string} arg0
918
908
  */
919
909
  set id(arg0) {
920
910
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -938,7 +928,6 @@ class Fleet {
938
928
  }
939
929
  }
940
930
  /**
941
- * @param {BigInt} arg0
942
931
  */
943
932
  set xxh3(arg0) {
944
933
  uint64CvtShim[0] = arg0;
@@ -953,7 +942,6 @@ class Fleet {
953
942
  return ret >>> 0;
954
943
  }
955
944
  /**
956
- * @param {number} arg0
957
945
  */
958
946
  set len(arg0) {
959
947
  wasm.__wbg_set_fleet_len(this.ptr, arg0);
@@ -1082,7 +1070,6 @@ class Fleet {
1082
1070
  return ret === 0 ? undefined : Ship.__wrap(ret);
1083
1071
  }
1084
1072
  /**
1085
- * @returns {number | undefined}
1086
1073
  */
1087
1074
  get fleet_los_mod() {
1088
1075
  try {
@@ -1213,7 +1200,6 @@ class Gear {
1213
1200
  }
1214
1201
  }
1215
1202
  /**
1216
- * @param {string} arg0
1217
1203
  */
1218
1204
  set id(arg0) {
1219
1205
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1237,7 +1223,6 @@ class Gear {
1237
1223
  }
1238
1224
  }
1239
1225
  /**
1240
- * @param {BigInt} arg0
1241
1226
  */
1242
1227
  set xxh3(arg0) {
1243
1228
  uint64CvtShim[0] = arg0;
@@ -1252,7 +1237,6 @@ class Gear {
1252
1237
  return ret;
1253
1238
  }
1254
1239
  /**
1255
- * @param {number} arg0
1256
1240
  */
1257
1241
  set gear_id(arg0) {
1258
1242
  wasm.__wbg_set_gear_gear_id(this.ptr, arg0);
@@ -1264,7 +1248,6 @@ class Gear {
1264
1248
  return ret;
1265
1249
  }
1266
1250
  /**
1267
- * @param {number} arg0
1268
1251
  */
1269
1252
  set stars(arg0) {
1270
1253
  wasm.__wbg_set_gear_stars(this.ptr, arg0);
@@ -1276,7 +1259,6 @@ class Gear {
1276
1259
  return ret;
1277
1260
  }
1278
1261
  /**
1279
- * @param {number} arg0
1280
1262
  */
1281
1263
  set exp(arg0) {
1282
1264
  wasm.__wbg_set_gear_exp(this.ptr, arg0);
@@ -1288,7 +1270,6 @@ class Gear {
1288
1270
  return ret;
1289
1271
  }
1290
1272
  /**
1291
- * @param {number} arg0
1292
1273
  */
1293
1274
  set default_exp(arg0) {
1294
1275
  wasm.__wbg_set_gear_default_exp(this.ptr, arg0);
@@ -1308,7 +1289,6 @@ class Gear {
1308
1289
  }
1309
1290
  }
1310
1291
  /**
1311
- * @param {string} arg0
1312
1292
  */
1313
1293
  set name(arg0) {
1314
1294
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1331,7 +1311,6 @@ class Gear {
1331
1311
  }
1332
1312
  }
1333
1313
  /**
1334
- * @param {Uint8Array} arg0
1335
1314
  */
1336
1315
  set types(arg0) {
1337
1316
  const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
@@ -1345,7 +1324,6 @@ class Gear {
1345
1324
  return takeObject(ret);
1346
1325
  }
1347
1326
  /**
1348
- * @param {GearType} arg0
1349
1327
  */
1350
1328
  set gear_type(arg0) {
1351
1329
  wasm.__wbg_set_gear_gear_type(this.ptr, addHeapObject(arg0));
@@ -1357,7 +1335,6 @@ class Gear {
1357
1335
  return ret;
1358
1336
  }
1359
1337
  /**
1360
- * @param {number} arg0
1361
1338
  */
1362
1339
  set max_hp(arg0) {
1363
1340
  wasm.__wbg_set_gear_max_hp(this.ptr, arg0);
@@ -1369,7 +1346,6 @@ class Gear {
1369
1346
  return ret;
1370
1347
  }
1371
1348
  /**
1372
- * @param {number} arg0
1373
1349
  */
1374
1350
  set firepower(arg0) {
1375
1351
  wasm.__wbg_set_gear_firepower(this.ptr, arg0);
@@ -1381,7 +1357,6 @@ class Gear {
1381
1357
  return ret;
1382
1358
  }
1383
1359
  /**
1384
- * @param {number} arg0
1385
1360
  */
1386
1361
  set armor(arg0) {
1387
1362
  wasm.__wbg_set_gear_armor(this.ptr, arg0);
@@ -1393,7 +1368,6 @@ class Gear {
1393
1368
  return ret;
1394
1369
  }
1395
1370
  /**
1396
- * @param {number} arg0
1397
1371
  */
1398
1372
  set torpedo(arg0) {
1399
1373
  wasm.__wbg_set_gear_torpedo(this.ptr, arg0);
@@ -1405,7 +1379,6 @@ class Gear {
1405
1379
  return ret;
1406
1380
  }
1407
1381
  /**
1408
- * @param {number} arg0
1409
1382
  */
1410
1383
  set anti_air(arg0) {
1411
1384
  wasm.__wbg_set_gear_anti_air(this.ptr, arg0);
@@ -1417,7 +1390,6 @@ class Gear {
1417
1390
  return ret;
1418
1391
  }
1419
1392
  /**
1420
- * @param {number} arg0
1421
1393
  */
1422
1394
  set speed(arg0) {
1423
1395
  wasm.__wbg_set_gear_speed(this.ptr, arg0);
@@ -1429,7 +1401,6 @@ class Gear {
1429
1401
  return ret;
1430
1402
  }
1431
1403
  /**
1432
- * @param {number} arg0
1433
1404
  */
1434
1405
  set bombing(arg0) {
1435
1406
  wasm.__wbg_set_gear_bombing(this.ptr, arg0);
@@ -1441,7 +1412,6 @@ class Gear {
1441
1412
  return ret;
1442
1413
  }
1443
1414
  /**
1444
- * @param {number} arg0
1445
1415
  */
1446
1416
  set asw(arg0) {
1447
1417
  wasm.__wbg_set_gear_asw(this.ptr, arg0);
@@ -1453,7 +1423,6 @@ class Gear {
1453
1423
  return ret;
1454
1424
  }
1455
1425
  /**
1456
- * @param {number} arg0
1457
1426
  */
1458
1427
  set los(arg0) {
1459
1428
  wasm.__wbg_set_gear_los(this.ptr, arg0);
@@ -1465,7 +1434,6 @@ class Gear {
1465
1434
  return ret;
1466
1435
  }
1467
1436
  /**
1468
- * @param {number} arg0
1469
1437
  */
1470
1438
  set luck(arg0) {
1471
1439
  wasm.__wbg_set_gear_luck(this.ptr, arg0);
@@ -1477,7 +1445,6 @@ class Gear {
1477
1445
  return ret;
1478
1446
  }
1479
1447
  /**
1480
- * @param {number} arg0
1481
1448
  */
1482
1449
  set accuracy(arg0) {
1483
1450
  wasm.__wbg_set_gear_accuracy(this.ptr, arg0);
@@ -1489,7 +1456,6 @@ class Gear {
1489
1456
  return ret;
1490
1457
  }
1491
1458
  /**
1492
- * @param {number} arg0
1493
1459
  */
1494
1460
  set evasion(arg0) {
1495
1461
  wasm.__wbg_set_gear_evasion(this.ptr, arg0);
@@ -1501,7 +1467,6 @@ class Gear {
1501
1467
  return ret;
1502
1468
  }
1503
1469
  /**
1504
- * @param {number} arg0
1505
1470
  */
1506
1471
  set range(arg0) {
1507
1472
  wasm.__wbg_set_gear_range(this.ptr, arg0);
@@ -1513,7 +1478,6 @@ class Gear {
1513
1478
  return ret;
1514
1479
  }
1515
1480
  /**
1516
- * @param {number} arg0
1517
1481
  */
1518
1482
  set radius(arg0) {
1519
1483
  wasm.__wbg_set_gear_radius(this.ptr, arg0);
@@ -1525,7 +1489,6 @@ class Gear {
1525
1489
  return ret;
1526
1490
  }
1527
1491
  /**
1528
- * @param {number} arg0
1529
1492
  */
1530
1493
  set cost(arg0) {
1531
1494
  wasm.__wbg_set_gear_cost(this.ptr, arg0);
@@ -1537,7 +1500,6 @@ class Gear {
1537
1500
  return ret !== 0;
1538
1501
  }
1539
1502
  /**
1540
- * @param {boolean} arg0
1541
1503
  */
1542
1504
  set improvable(arg0) {
1543
1505
  wasm.__wbg_set_gear_improvable(this.ptr, arg0);
@@ -1549,7 +1511,6 @@ class Gear {
1549
1511
  return ret;
1550
1512
  }
1551
1513
  /**
1552
- * @param {number} arg0
1553
1514
  */
1554
1515
  set ship_anti_air_resistance(arg0) {
1555
1516
  wasm.__wbg_set_gear_ship_anti_air_resistance(this.ptr, arg0);
@@ -1561,7 +1522,6 @@ class Gear {
1561
1522
  return ret;
1562
1523
  }
1563
1524
  /**
1564
- * @param {number} arg0
1565
1525
  */
1566
1526
  set fleet_anti_air_resistance(arg0) {
1567
1527
  wasm.__wbg_set_gear_fleet_anti_air_resistance(this.ptr, arg0);
@@ -1574,21 +1534,18 @@ class Gear {
1574
1534
  return Gear.__wrap(ret);
1575
1535
  }
1576
1536
  /**
1577
- * @returns {number}
1578
1537
  */
1579
1538
  get gear_type_id() {
1580
1539
  const ret = wasm.gear_gear_type_id(this.ptr);
1581
1540
  return ret;
1582
1541
  }
1583
1542
  /**
1584
- * @returns {number}
1585
1543
  */
1586
1544
  get special_type_id() {
1587
1545
  const ret = wasm.gear_special_type_id(this.ptr);
1588
1546
  return ret;
1589
1547
  }
1590
1548
  /**
1591
- * @returns {number}
1592
1549
  */
1593
1550
  get icon_id() {
1594
1551
  const ret = wasm.gear_icon_id(this.ptr);
@@ -1610,21 +1567,18 @@ class Gear {
1610
1567
  return takeObject(ret);
1611
1568
  }
1612
1569
  /**
1613
- * @returns {number}
1614
1570
  */
1615
1571
  get ace() {
1616
1572
  const ret = wasm.gear_ace(this.ptr);
1617
1573
  return ret;
1618
1574
  }
1619
1575
  /**
1620
- * @returns {number}
1621
1576
  */
1622
1577
  get anti_bomber() {
1623
1578
  const ret = wasm.gear_anti_bomber(this.ptr);
1624
1579
  return ret;
1625
1580
  }
1626
1581
  /**
1627
- * @returns {number}
1628
1582
  */
1629
1583
  get interception() {
1630
1584
  const ret = wasm.gear_interception(this.ptr);
@@ -1817,7 +1771,6 @@ class IBonuses {
1817
1771
  return ret;
1818
1772
  }
1819
1773
  /**
1820
- * @param {number} arg0
1821
1774
  */
1822
1775
  set shelling_power(arg0) {
1823
1776
  wasm.__wbg_set_ibonuses_shelling_power(this.ptr, arg0);
@@ -1829,7 +1782,6 @@ class IBonuses {
1829
1782
  return ret;
1830
1783
  }
1831
1784
  /**
1832
- * @param {number} arg0
1833
1785
  */
1834
1786
  set carrier_shelling_power(arg0) {
1835
1787
  wasm.__wbg_set_ibonuses_carrier_shelling_power(this.ptr, arg0);
@@ -1841,7 +1793,6 @@ class IBonuses {
1841
1793
  return ret;
1842
1794
  }
1843
1795
  /**
1844
- * @param {number} arg0
1845
1796
  */
1846
1797
  set shelling_accuracy(arg0) {
1847
1798
  wasm.__wbg_set_ibonuses_shelling_accuracy(this.ptr, arg0);
@@ -1853,7 +1804,6 @@ class IBonuses {
1853
1804
  return ret;
1854
1805
  }
1855
1806
  /**
1856
- * @param {number} arg0
1857
1807
  */
1858
1808
  set torpedo_power(arg0) {
1859
1809
  wasm.__wbg_set_ibonuses_torpedo_power(this.ptr, arg0);
@@ -1865,7 +1815,6 @@ class IBonuses {
1865
1815
  return ret;
1866
1816
  }
1867
1817
  /**
1868
- * @param {number} arg0
1869
1818
  */
1870
1819
  set torpedo_accuracy(arg0) {
1871
1820
  wasm.__wbg_set_ibonuses_torpedo_accuracy(this.ptr, arg0);
@@ -1877,7 +1826,6 @@ class IBonuses {
1877
1826
  return ret;
1878
1827
  }
1879
1828
  /**
1880
- * @param {number} arg0
1881
1829
  */
1882
1830
  set torpedo_evasion(arg0) {
1883
1831
  wasm.__wbg_set_ibonuses_torpedo_evasion(this.ptr, arg0);
@@ -1889,7 +1837,6 @@ class IBonuses {
1889
1837
  return ret;
1890
1838
  }
1891
1839
  /**
1892
- * @param {number} arg0
1893
1840
  */
1894
1841
  set asw_power(arg0) {
1895
1842
  wasm.__wbg_set_ibonuses_asw_power(this.ptr, arg0);
@@ -1901,7 +1848,6 @@ class IBonuses {
1901
1848
  return ret;
1902
1849
  }
1903
1850
  /**
1904
- * @param {number} arg0
1905
1851
  */
1906
1852
  set asw_accuracy(arg0) {
1907
1853
  wasm.__wbg_set_ibonuses_asw_accuracy(this.ptr, arg0);
@@ -1913,7 +1859,6 @@ class IBonuses {
1913
1859
  return ret;
1914
1860
  }
1915
1861
  /**
1916
- * @param {number} arg0
1917
1862
  */
1918
1863
  set night_power(arg0) {
1919
1864
  wasm.__wbg_set_ibonuses_night_power(this.ptr, arg0);
@@ -1925,7 +1870,6 @@ class IBonuses {
1925
1870
  return ret;
1926
1871
  }
1927
1872
  /**
1928
- * @param {number} arg0
1929
1873
  */
1930
1874
  set night_accuracy(arg0) {
1931
1875
  wasm.__wbg_set_ibonuses_night_accuracy(this.ptr, arg0);
@@ -1937,7 +1881,6 @@ class IBonuses {
1937
1881
  return ret;
1938
1882
  }
1939
1883
  /**
1940
- * @param {number} arg0
1941
1884
  */
1942
1885
  set defense_power(arg0) {
1943
1886
  wasm.__wbg_set_ibonuses_defense_power(this.ptr, arg0);
@@ -1949,7 +1892,6 @@ class IBonuses {
1949
1892
  return ret;
1950
1893
  }
1951
1894
  /**
1952
- * @param {number} arg0
1953
1895
  */
1954
1896
  set contact_selection(arg0) {
1955
1897
  wasm.__wbg_set_ibonuses_contact_selection(this.ptr, arg0);
@@ -1961,7 +1903,6 @@ class IBonuses {
1961
1903
  return ret;
1962
1904
  }
1963
1905
  /**
1964
- * @param {number} arg0
1965
1906
  */
1966
1907
  set fighter_power(arg0) {
1967
1908
  wasm.__wbg_set_ibonuses_fighter_power(this.ptr, arg0);
@@ -1973,7 +1914,6 @@ class IBonuses {
1973
1914
  return ret;
1974
1915
  }
1975
1916
  /**
1976
- * @param {number} arg0
1977
1917
  */
1978
1918
  set ship_anti_air(arg0) {
1979
1919
  wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
@@ -1985,7 +1925,6 @@ class IBonuses {
1985
1925
  return ret;
1986
1926
  }
1987
1927
  /**
1988
- * @param {number} arg0
1989
1928
  */
1990
1929
  set fleet_anti_air(arg0) {
1991
1930
  wasm.__wbg_set_ibonuses_fleet_anti_air(this.ptr, arg0);
@@ -1997,7 +1936,6 @@ class IBonuses {
1997
1936
  return ret;
1998
1937
  }
1999
1938
  /**
2000
- * @param {number} arg0
2001
1939
  */
2002
1940
  set elos(arg0) {
2003
1941
  wasm.__wbg_set_ibonuses_elos(this.ptr, arg0);
@@ -2043,7 +1981,6 @@ class Org {
2043
1981
  }
2044
1982
  }
2045
1983
  /**
2046
- * @param {string} arg0
2047
1984
  */
2048
1985
  set id(arg0) {
2049
1986
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2067,7 +2004,6 @@ class Org {
2067
2004
  }
2068
2005
  }
2069
2006
  /**
2070
- * @param {BigInt} arg0
2071
2007
  */
2072
2008
  set xxh3(arg0) {
2073
2009
  uint64CvtShim[0] = arg0;
@@ -2082,7 +2018,6 @@ class Org {
2082
2018
  return ret;
2083
2019
  }
2084
2020
  /**
2085
- * @param {number} arg0
2086
2021
  */
2087
2022
  set hq_level(arg0) {
2088
2023
  wasm.__wbg_set_org_hq_level(this.ptr, arg0);
@@ -2094,7 +2029,6 @@ class Org {
2094
2029
  return takeObject(ret);
2095
2030
  }
2096
2031
  /**
2097
- * @param {OrgType} arg0
2098
2032
  */
2099
2033
  set org_type(arg0) {
2100
2034
  wasm.__wbg_set_org_org_type(this.ptr, addHeapObject(arg0));
@@ -2114,7 +2048,6 @@ class Org {
2114
2048
  }
2115
2049
  }
2116
2050
  /**
2117
- * @param {string} arg0
2118
2051
  */
2119
2052
  set sortie(arg0) {
2120
2053
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2140,7 +2073,6 @@ class Org {
2140
2073
  }
2141
2074
  }
2142
2075
  /**
2143
- * @param {string | undefined} arg0
2144
2076
  */
2145
2077
  set route_sup(arg0) {
2146
2078
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2166,7 +2098,6 @@ class Org {
2166
2098
  }
2167
2099
  }
2168
2100
  /**
2169
- * @param {string | undefined} arg0
2170
2101
  */
2171
2102
  set boss_sup(arg0) {
2172
2103
  var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2493,7 +2424,6 @@ class Ship {
2493
2424
  }
2494
2425
  }
2495
2426
  /**
2496
- * @param {string} arg0
2497
2427
  */
2498
2428
  set id(arg0) {
2499
2429
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -2517,7 +2447,6 @@ class Ship {
2517
2447
  }
2518
2448
  }
2519
2449
  /**
2520
- * @param {BigInt} arg0
2521
2450
  */
2522
2451
  set xxh3(arg0) {
2523
2452
  uint64CvtShim[0] = arg0;
@@ -2532,7 +2461,6 @@ class Ship {
2532
2461
  return ret;
2533
2462
  }
2534
2463
  /**
2535
- * @param {number} arg0
2536
2464
  */
2537
2465
  set ship_id(arg0) {
2538
2466
  wasm.__wbg_set_ship_ship_id(this.ptr, arg0);
@@ -2544,7 +2472,6 @@ class Ship {
2544
2472
  return ret;
2545
2473
  }
2546
2474
  /**
2547
- * @param {number} arg0
2548
2475
  */
2549
2476
  set level(arg0) {
2550
2477
  wasm.__wbg_set_ship_level(this.ptr, arg0);
@@ -2556,7 +2483,6 @@ class Ship {
2556
2483
  return ret;
2557
2484
  }
2558
2485
  /**
2559
- * @param {number} arg0
2560
2486
  */
2561
2487
  set current_hp(arg0) {
2562
2488
  wasm.__wbg_set_ship_current_hp(this.ptr, arg0);
@@ -2568,7 +2494,6 @@ class Ship {
2568
2494
  return ret;
2569
2495
  }
2570
2496
  /**
2571
- * @param {number} arg0
2572
2497
  */
2573
2498
  set morale(arg0) {
2574
2499
  wasm.__wbg_set_ship_morale(this.ptr, arg0);
@@ -2580,7 +2505,6 @@ class Ship {
2580
2505
  return ret;
2581
2506
  }
2582
2507
  /**
2583
- * @param {number} arg0
2584
2508
  */
2585
2509
  set ammo(arg0) {
2586
2510
  wasm.__wbg_set_ship_ammo(this.ptr, arg0);
@@ -2592,7 +2516,6 @@ class Ship {
2592
2516
  return ret;
2593
2517
  }
2594
2518
  /**
2595
- * @param {number} arg0
2596
2519
  */
2597
2520
  set fuel(arg0) {
2598
2521
  wasm.__wbg_set_ship_fuel(this.ptr, arg0);
@@ -2604,7 +2527,6 @@ class Ship {
2604
2527
  return takeObject(ret);
2605
2528
  }
2606
2529
  /**
2607
- * @param {ShipType} arg0
2608
2530
  */
2609
2531
  set ship_type(arg0) {
2610
2532
  wasm.__wbg_set_ship_ship_type(this.ptr, addHeapObject(arg0));
@@ -2616,7 +2538,6 @@ class Ship {
2616
2538
  return ret;
2617
2539
  }
2618
2540
  /**
2619
- * @param {number} arg0
2620
2541
  */
2621
2542
  set ctype(arg0) {
2622
2543
  wasm.__wbg_set_ship_ctype(this.ptr, arg0);
@@ -2628,104 +2549,89 @@ class Ship {
2628
2549
  return takeObject(ret);
2629
2550
  }
2630
2551
  /**
2631
- * @param {SlotSizeVec} arg0
2632
2552
  */
2633
2553
  set slots(arg0) {
2634
2554
  wasm.__wbg_set_ship_slots(this.ptr, addHeapObject(arg0));
2635
2555
  }
2636
2556
  /**
2637
- * @returns {number | undefined}
2638
2557
  */
2639
2558
  get naked_firepower() {
2640
2559
  const ret = wasm.ship_naked_firepower(this.ptr);
2641
2560
  return ret === 0xFFFFFF ? undefined : ret;
2642
2561
  }
2643
2562
  /**
2644
- * @returns {number | undefined}
2645
2563
  */
2646
2564
  get naked_torpedo() {
2647
2565
  const ret = wasm.ship_naked_torpedo(this.ptr);
2648
2566
  return ret === 0xFFFFFF ? undefined : ret;
2649
2567
  }
2650
2568
  /**
2651
- * @returns {number | undefined}
2652
2569
  */
2653
2570
  get naked_armor() {
2654
2571
  const ret = wasm.ship_naked_armor(this.ptr);
2655
2572
  return ret === 0xFFFFFF ? undefined : ret;
2656
2573
  }
2657
2574
  /**
2658
- * @returns {number | undefined}
2659
2575
  */
2660
2576
  get naked_anti_air() {
2661
2577
  const ret = wasm.ship_naked_anti_air(this.ptr);
2662
2578
  return ret === 0xFFFFFF ? undefined : ret;
2663
2579
  }
2664
2580
  /**
2665
- * @returns {number | undefined}
2666
2581
  */
2667
2582
  get naked_evasion() {
2668
2583
  const ret = wasm.ship_naked_evasion(this.ptr);
2669
2584
  return ret === 0xFFFFFF ? undefined : ret;
2670
2585
  }
2671
2586
  /**
2672
- * @returns {number | undefined}
2673
2587
  */
2674
2588
  get naked_asw() {
2675
2589
  const ret = wasm.ship_naked_asw(this.ptr);
2676
2590
  return ret === 0xFFFFFF ? undefined : ret;
2677
2591
  }
2678
2592
  /**
2679
- * @returns {number | undefined}
2680
2593
  */
2681
2594
  get naked_los() {
2682
2595
  const ret = wasm.ship_naked_los(this.ptr);
2683
2596
  return ret === 0xFFFFFF ? undefined : ret;
2684
2597
  }
2685
2598
  /**
2686
- * @returns {number | undefined}
2687
2599
  */
2688
2600
  get firepower() {
2689
2601
  const ret = wasm.ship_firepower(this.ptr);
2690
2602
  return ret === 0xFFFFFF ? undefined : ret;
2691
2603
  }
2692
2604
  /**
2693
- * @returns {number | undefined}
2694
2605
  */
2695
2606
  get torpedo() {
2696
2607
  const ret = wasm.ship_torpedo(this.ptr);
2697
2608
  return ret === 0xFFFFFF ? undefined : ret;
2698
2609
  }
2699
2610
  /**
2700
- * @returns {number | undefined}
2701
2611
  */
2702
2612
  get armor() {
2703
2613
  const ret = wasm.ship_armor(this.ptr);
2704
2614
  return ret === 0xFFFFFF ? undefined : ret;
2705
2615
  }
2706
2616
  /**
2707
- * @returns {number | undefined}
2708
2617
  */
2709
2618
  get anti_air() {
2710
2619
  const ret = wasm.ship_anti_air(this.ptr);
2711
2620
  return ret === 0xFFFFFF ? undefined : ret;
2712
2621
  }
2713
2622
  /**
2714
- * @returns {number | undefined}
2715
2623
  */
2716
2624
  get evasion() {
2717
2625
  const ret = wasm.ship_evasion(this.ptr);
2718
2626
  return ret === 0xFFFFFF ? undefined : ret;
2719
2627
  }
2720
2628
  /**
2721
- * @returns {number | undefined}
2722
2629
  */
2723
2630
  get asw() {
2724
2631
  const ret = wasm.ship_asw(this.ptr);
2725
2632
  return ret === 0xFFFFFF ? undefined : ret;
2726
2633
  }
2727
2634
  /**
2728
- * @returns {number | undefined}
2729
2635
  */
2730
2636
  get los() {
2731
2637
  const ret = wasm.ship_los(this.ptr);
@@ -2763,7 +2669,6 @@ class Ship {
2763
2669
  return takeObject(ret);
2764
2670
  }
2765
2671
  /**
2766
- * @returns {string}
2767
2672
  */
2768
2673
  get name() {
2769
2674
  try {
@@ -2778,7 +2683,6 @@ class Ship {
2778
2683
  }
2779
2684
  }
2780
2685
  /**
2781
- * @returns {string}
2782
2686
  */
2783
2687
  get yomi() {
2784
2688
  try {
@@ -2793,14 +2697,12 @@ class Ship {
2793
2697
  }
2794
2698
  }
2795
2699
  /**
2796
- * @returns {number}
2797
2700
  */
2798
2701
  get stype() {
2799
2702
  const ret = wasm.ship_stype(this.ptr);
2800
2703
  return ret;
2801
2704
  }
2802
2705
  /**
2803
- * @returns {number}
2804
2706
  */
2805
2707
  get sort_id() {
2806
2708
  const ret = wasm.ship_sort_id(this.ptr);
@@ -2814,21 +2716,18 @@ class Ship {
2814
2716
  return ret;
2815
2717
  }
2816
2718
  /**
2817
- * @returns {number}
2818
2719
  */
2819
2720
  get slotnum() {
2820
2721
  const ret = wasm.ship_slotnum(this.ptr);
2821
2722
  return ret >>> 0;
2822
2723
  }
2823
2724
  /**
2824
- * @returns {number}
2825
2725
  */
2826
2726
  get next_id() {
2827
2727
  const ret = wasm.ship_next_id(this.ptr);
2828
2728
  return ret;
2829
2729
  }
2830
2730
  /**
2831
- * @returns {boolean}
2832
2731
  */
2833
2732
  get useful() {
2834
2733
  const ret = wasm.ship_useful(this.ptr);
@@ -3003,70 +2902,60 @@ class Ship {
3003
2902
  return ret !== 0;
3004
2903
  }
3005
2904
  /**
3006
- * @returns {number | undefined}
3007
2905
  */
3008
2906
  get max_hp() {
3009
2907
  const ret = wasm.ship_max_hp(this.ptr);
3010
2908
  return ret === 0xFFFFFF ? undefined : ret;
3011
2909
  }
3012
2910
  /**
3013
- * @returns {number}
3014
2911
  */
3015
2912
  get max_ammo() {
3016
2913
  const ret = wasm.ship_max_ammo(this.ptr);
3017
2914
  return ret;
3018
2915
  }
3019
2916
  /**
3020
- * @returns {number}
3021
2917
  */
3022
2918
  get max_fuel() {
3023
2919
  const ret = wasm.ship_max_fuel(this.ptr);
3024
2920
  return ret;
3025
2921
  }
3026
2922
  /**
3027
- * @returns {number | undefined}
3028
2923
  */
3029
2924
  get naked_range() {
3030
2925
  const ret = wasm.ship_naked_range(this.ptr);
3031
2926
  return ret === 0xFFFFFF ? undefined : ret;
3032
2927
  }
3033
2928
  /**
3034
- * @returns {number}
3035
2929
  */
3036
2930
  get naked_speed() {
3037
2931
  const ret = wasm.ship_naked_speed(this.ptr);
3038
2932
  return ret;
3039
2933
  }
3040
2934
  /**
3041
- * @returns {number | undefined}
3042
2935
  */
3043
2936
  get luck() {
3044
2937
  const ret = wasm.ship_luck(this.ptr);
3045
2938
  return ret === 0xFFFFFF ? undefined : ret;
3046
2939
  }
3047
2940
  /**
3048
- * @returns {number | undefined}
3049
2941
  */
3050
2942
  get range() {
3051
2943
  const ret = wasm.ship_range(this.ptr);
3052
2944
  return ret === 0xFFFFFF ? undefined : ret;
3053
2945
  }
3054
2946
  /**
3055
- * @returns {number}
3056
2947
  */
3057
2948
  get speed() {
3058
2949
  const ret = wasm.ship_speed(this.ptr);
3059
2950
  return ret;
3060
2951
  }
3061
2952
  /**
3062
- * @returns {number}
3063
2953
  */
3064
2954
  get accuracy() {
3065
2955
  const ret = wasm.ship_accuracy(this.ptr);
3066
2956
  return ret;
3067
2957
  }
3068
2958
  /**
3069
- * @returns {number}
3070
2959
  */
3071
2960
  get innate_torpedo_accuracy() {
3072
2961
  const ret = wasm.ship_innate_torpedo_accuracy(this.ptr);
@@ -3284,7 +3173,7 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
3284
3173
  return addHeapObject(ret);
3285
3174
  };
3286
3175
 
3287
- module.exports.__wbg_createEquipmentBonuses_2a069c9b82b680dc = function(arg0, arg1) {
3176
+ module.exports.__wbg_createEquipmentBonuses_184e78e66b9cdc65 = function(arg0, arg1) {
3288
3177
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
3289
3178
  return addHeapObject(ret);
3290
3179
  };
@@ -3374,17 +3263,17 @@ module.exports.__wbg_msCrypto_5a86d77a66230f81 = function(arg0) {
3374
3263
  return addHeapObject(ret);
3375
3264
  };
3376
3265
 
3377
- module.exports.__wbg_new_94fb1279cf6afea5 = function() {
3266
+ module.exports.__wbg_new_2ab697f1555e0dbc = function() {
3378
3267
  const ret = new Array();
3379
3268
  return addHeapObject(ret);
3380
3269
  };
3381
3270
 
3382
- module.exports.__wbg_newnoargs_e23b458e372830de = function(arg0, arg1) {
3271
+ module.exports.__wbg_newnoargs_fc5356289219b93b = function(arg0, arg1) {
3383
3272
  const ret = new Function(getStringFromWasm0(arg0, arg1));
3384
3273
  return addHeapObject(ret);
3385
3274
  };
3386
3275
 
3387
- module.exports.__wbg_call_ae78342adc33730a = function() { return handleError(function (arg0, arg1) {
3276
+ module.exports.__wbg_call_4573f605ca4b5f10 = function() { return handleError(function (arg0, arg1) {
3388
3277
  const ret = getObject(arg0).call(getObject(arg1));
3389
3278
  return addHeapObject(ret);
3390
3279
  }, arguments) };
@@ -3394,22 +3283,22 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
3394
3283
  return addHeapObject(ret);
3395
3284
  };
3396
3285
 
3397
- module.exports.__wbg_self_99737b4dcdf6f0d8 = function() { return handleError(function () {
3286
+ module.exports.__wbg_self_ba1ddafe9ea7a3a2 = function() { return handleError(function () {
3398
3287
  const ret = self.self;
3399
3288
  return addHeapObject(ret);
3400
3289
  }, arguments) };
3401
3290
 
3402
- module.exports.__wbg_window_9b61fbbf3564c4fb = function() { return handleError(function () {
3291
+ module.exports.__wbg_window_be3cc430364fd32c = function() { return handleError(function () {
3403
3292
  const ret = window.window;
3404
3293
  return addHeapObject(ret);
3405
3294
  }, arguments) };
3406
3295
 
3407
- module.exports.__wbg_globalThis_8e275ef40caea3a3 = function() { return handleError(function () {
3296
+ module.exports.__wbg_globalThis_56d9c9f814daeeee = function() { return handleError(function () {
3408
3297
  const ret = globalThis.globalThis;
3409
3298
  return addHeapObject(ret);
3410
3299
  }, arguments) };
3411
3300
 
3412
- module.exports.__wbg_global_5de1e0f82bddcd27 = function() { return handleError(function () {
3301
+ module.exports.__wbg_global_8c35aeee4ac77f2b = function() { return handleError(function () {
3413
3302
  const ret = global.global;
3414
3303
  return addHeapObject(ret);
3415
3304
  }, arguments) };
@@ -3419,36 +3308,36 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
3419
3308
  return ret;
3420
3309
  };
3421
3310
 
3422
- module.exports.__wbg_push_40c6a90f1805aa90 = function(arg0, arg1) {
3311
+ module.exports.__wbg_push_811c8b08bf4ff9d5 = function(arg0, arg1) {
3423
3312
  const ret = getObject(arg0).push(getObject(arg1));
3424
3313
  return ret;
3425
3314
  };
3426
3315
 
3427
- module.exports.__wbg_buffer_7af23f65f6c64548 = function(arg0) {
3316
+ module.exports.__wbg_buffer_de1150f91b23aa89 = function(arg0) {
3428
3317
  const ret = getObject(arg0).buffer;
3429
3318
  return addHeapObject(ret);
3430
3319
  };
3431
3320
 
3432
- module.exports.__wbg_new_cc9018bd6f283b6f = function(arg0) {
3321
+ module.exports.__wbg_new_97cf52648830a70d = function(arg0) {
3433
3322
  const ret = new Uint8Array(getObject(arg0));
3434
3323
  return addHeapObject(ret);
3435
3324
  };
3436
3325
 
3437
- module.exports.__wbg_set_f25e869e4565d2a2 = function(arg0, arg1, arg2) {
3326
+ module.exports.__wbg_set_a0172b213e2469e9 = function(arg0, arg1, arg2) {
3438
3327
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3439
3328
  };
3440
3329
 
3441
- module.exports.__wbg_length_0acb1cf9bbaf8519 = function(arg0) {
3330
+ module.exports.__wbg_length_e09c0b925ab8de5d = function(arg0) {
3442
3331
  const ret = getObject(arg0).length;
3443
3332
  return ret;
3444
3333
  };
3445
3334
 
3446
- module.exports.__wbg_newwithlength_8f0657faca9f1422 = function(arg0) {
3335
+ module.exports.__wbg_newwithlength_e833b89f9db02732 = function(arg0) {
3447
3336
  const ret = new Uint8Array(arg0 >>> 0);
3448
3337
  return addHeapObject(ret);
3449
3338
  };
3450
3339
 
3451
- module.exports.__wbg_subarray_da527dbd24eafb6b = function(arg0, arg1, arg2) {
3340
+ module.exports.__wbg_subarray_9482ae5cd5cd99d3 = function(arg0, arg1, arg2) {
3452
3341
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
3453
3342
  return addHeapObject(ret);
3454
3343
  };
@@ -3470,3 +3359,9 @@ const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
3470
3359
  wasm = wasmInstance.exports;
3471
3360
  module.exports.__wasm = wasm;
3472
3361
 
3362
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
3363
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
3364
+ cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
3365
+ cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
3366
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
3367
+