fleethub-core 1.12.5 → 1.12.7
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/node/fleethub_core.d.ts +950 -1690
- package/node/fleethub_core.js +1113 -1464
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +286 -282
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +896 -617
- package/pkg/fleethub_core_bg.js +125 -120
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +80 -80
package/pkg/fleethub_core_bg.js
CHANGED
|
@@ -19,12 +19,6 @@ function handleError(f, args) {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
23
|
-
|
|
24
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
25
|
-
|
|
26
|
-
cachedTextDecoder.decode();
|
|
27
|
-
|
|
28
22
|
let cachedUint8ArrayMemory0 = null;
|
|
29
23
|
|
|
30
24
|
function getUint8ArrayMemory0() {
|
|
@@ -34,29 +28,46 @@ function getUint8ArrayMemory0() {
|
|
|
34
28
|
return cachedUint8ArrayMemory0;
|
|
35
29
|
}
|
|
36
30
|
|
|
31
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
32
|
+
|
|
33
|
+
cachedTextDecoder.decode();
|
|
34
|
+
|
|
35
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
36
|
+
let numBytesDecoded = 0;
|
|
37
|
+
function decodeText(ptr, len) {
|
|
38
|
+
numBytesDecoded += len;
|
|
39
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
40
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
41
|
+
cachedTextDecoder.decode();
|
|
42
|
+
numBytesDecoded = len;
|
|
43
|
+
}
|
|
44
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
45
|
+
}
|
|
46
|
+
|
|
37
47
|
function getStringFromWasm0(ptr, len) {
|
|
38
48
|
ptr = ptr >>> 0;
|
|
39
|
-
return
|
|
49
|
+
return decodeText(ptr, len);
|
|
40
50
|
}
|
|
41
51
|
|
|
42
|
-
|
|
52
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
53
|
+
ptr = ptr >>> 0;
|
|
54
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
55
|
+
}
|
|
43
56
|
|
|
44
|
-
|
|
57
|
+
let WASM_VECTOR_LEN = 0;
|
|
45
58
|
|
|
46
|
-
|
|
59
|
+
const cachedTextEncoder = new TextEncoder();
|
|
47
60
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
61
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
62
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
63
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
64
|
+
view.set(buf);
|
|
65
|
+
return {
|
|
66
|
+
read: arg.length,
|
|
67
|
+
written: buf.length
|
|
68
|
+
};
|
|
69
|
+
}
|
|
51
70
|
}
|
|
52
|
-
: function (arg, view) {
|
|
53
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
54
|
-
view.set(buf);
|
|
55
|
-
return {
|
|
56
|
-
read: arg.length,
|
|
57
|
-
written: buf.length
|
|
58
|
-
};
|
|
59
|
-
});
|
|
60
71
|
|
|
61
72
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
62
73
|
|
|
@@ -87,7 +98,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
87
98
|
}
|
|
88
99
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
89
100
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
90
|
-
const ret =
|
|
101
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
91
102
|
|
|
92
103
|
offset += ret.written;
|
|
93
104
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -127,18 +138,6 @@ function _assertClass(instance, klass) {
|
|
|
127
138
|
}
|
|
128
139
|
}
|
|
129
140
|
|
|
130
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
131
|
-
ptr = ptr >>> 0;
|
|
132
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
136
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
137
|
-
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
138
|
-
WASM_VECTOR_LEN = arg.length;
|
|
139
|
-
return ptr;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
141
|
function takeFromExternrefTable0(idx) {
|
|
143
142
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
144
143
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -161,10 +160,17 @@ function passArray16ToWasm0(arg, malloc) {
|
|
|
161
160
|
return ptr;
|
|
162
161
|
}
|
|
163
162
|
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
164
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
165
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
166
|
+
WASM_VECTOR_LEN = arg.length;
|
|
167
|
+
return ptr;
|
|
166
168
|
}
|
|
167
169
|
|
|
170
|
+
function getArrayU16FromWasm0(ptr, len) {
|
|
171
|
+
ptr = ptr >>> 0;
|
|
172
|
+
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
173
|
+
}
|
|
168
174
|
/**
|
|
169
175
|
* @param {ShipConditions} value
|
|
170
176
|
* @returns {ShipConditions}
|
|
@@ -174,9 +180,8 @@ export function parse_ship_conditions(value) {
|
|
|
174
180
|
return ret;
|
|
175
181
|
}
|
|
176
182
|
|
|
177
|
-
function
|
|
178
|
-
|
|
179
|
-
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
183
|
+
export function set_panic_hook() {
|
|
184
|
+
wasm.set_panic_hook();
|
|
180
185
|
}
|
|
181
186
|
|
|
182
187
|
const AirSquadronFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -308,6 +313,7 @@ export class AirSquadron {
|
|
|
308
313
|
return ret;
|
|
309
314
|
}
|
|
310
315
|
}
|
|
316
|
+
if (Symbol.dispose) AirSquadron.prototype[Symbol.dispose] = AirSquadron.prototype.free;
|
|
311
317
|
|
|
312
318
|
const AnalyzerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
313
319
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -390,6 +396,7 @@ export class Analyzer {
|
|
|
390
396
|
return takeFromExternrefTable0(ret[0]);
|
|
391
397
|
}
|
|
392
398
|
}
|
|
399
|
+
if (Symbol.dispose) Analyzer.prototype[Symbol.dispose] = Analyzer.prototype.free;
|
|
393
400
|
|
|
394
401
|
const CompFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
395
402
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -678,6 +685,7 @@ export class Comp {
|
|
|
678
685
|
return ret >>> 0;
|
|
679
686
|
}
|
|
680
687
|
}
|
|
688
|
+
if (Symbol.dispose) Comp.prototype[Symbol.dispose] = Comp.prototype.free;
|
|
681
689
|
|
|
682
690
|
const FhCoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
683
691
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -799,6 +807,7 @@ export class FhCore {
|
|
|
799
807
|
return Analyzer.__wrap(ret);
|
|
800
808
|
}
|
|
801
809
|
}
|
|
810
|
+
if (Symbol.dispose) FhCore.prototype[Symbol.dispose] = FhCore.prototype.free;
|
|
802
811
|
|
|
803
812
|
const FleetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
804
813
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1010,6 +1019,7 @@ export class Fleet {
|
|
|
1010
1019
|
wasm.fleet_reset_battle_state(this.__wbg_ptr);
|
|
1011
1020
|
}
|
|
1012
1021
|
}
|
|
1022
|
+
if (Symbol.dispose) Fleet.prototype[Symbol.dispose] = Fleet.prototype.free;
|
|
1013
1023
|
|
|
1014
1024
|
const GearFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1015
1025
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1356,7 +1366,7 @@ export class Gear {
|
|
|
1356
1366
|
* @returns {boolean}
|
|
1357
1367
|
*/
|
|
1358
1368
|
has_proficiency() {
|
|
1359
|
-
const ret = wasm.
|
|
1369
|
+
const ret = wasm.gear_can_be_deployed_to_land_base(this.__wbg_ptr);
|
|
1360
1370
|
return ret !== 0;
|
|
1361
1371
|
}
|
|
1362
1372
|
/**
|
|
@@ -1500,6 +1510,7 @@ export class Gear {
|
|
|
1500
1510
|
return ret !== 0;
|
|
1501
1511
|
}
|
|
1502
1512
|
}
|
|
1513
|
+
if (Symbol.dispose) Gear.prototype[Symbol.dispose] = Gear.prototype.free;
|
|
1503
1514
|
|
|
1504
1515
|
const OrgFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1505
1516
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1553,7 +1564,7 @@ export class Org {
|
|
|
1553
1564
|
* @returns {bigint}
|
|
1554
1565
|
*/
|
|
1555
1566
|
get hash() {
|
|
1556
|
-
const ret = wasm.
|
|
1567
|
+
const ret = wasm.__wbg_get_gear_hash(this.__wbg_ptr);
|
|
1557
1568
|
return BigInt.asUintN(64, ret);
|
|
1558
1569
|
}
|
|
1559
1570
|
/**
|
|
@@ -1824,6 +1835,7 @@ export class Org {
|
|
|
1824
1835
|
return ret;
|
|
1825
1836
|
}
|
|
1826
1837
|
}
|
|
1838
|
+
if (Symbol.dispose) Org.prototype[Symbol.dispose] = Org.prototype.free;
|
|
1827
1839
|
|
|
1828
1840
|
const ShipFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1829
1841
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -1850,29 +1862,6 @@ export class Ship {
|
|
|
1850
1862
|
const ptr = this.__destroy_into_raw();
|
|
1851
1863
|
wasm.__wbg_ship_free(ptr, 0);
|
|
1852
1864
|
}
|
|
1853
|
-
/**
|
|
1854
|
-
* @returns {number | undefined}
|
|
1855
|
-
*/
|
|
1856
|
-
state_day_gunfit_accuracy() {
|
|
1857
|
-
const ret = wasm.ship_state_day_gunfit_accuracy(this.__wbg_ptr);
|
|
1858
|
-
return ret[0] === 0 ? undefined : ret[1];
|
|
1859
|
-
}
|
|
1860
|
-
/**
|
|
1861
|
-
* @returns {number | undefined}
|
|
1862
|
-
*/
|
|
1863
|
-
state_night_gunfit_accuracy() {
|
|
1864
|
-
const ret = wasm.ship_state_night_gunfit_accuracy(this.__wbg_ptr);
|
|
1865
|
-
return ret[0] === 0 ? undefined : ret[1];
|
|
1866
|
-
}
|
|
1867
|
-
/**
|
|
1868
|
-
* フィット砲補正
|
|
1869
|
-
* @param {boolean} is_night
|
|
1870
|
-
* @returns {number}
|
|
1871
|
-
*/
|
|
1872
|
-
gunfit_accuracy(is_night) {
|
|
1873
|
-
const ret = wasm.ship_gunfit_accuracy(this.__wbg_ptr, is_night);
|
|
1874
|
-
return ret;
|
|
1875
|
-
}
|
|
1876
1865
|
/**
|
|
1877
1866
|
* @returns {string}
|
|
1878
1867
|
*/
|
|
@@ -2579,19 +2568,38 @@ export class Ship {
|
|
|
2579
2568
|
const ret = wasm.ship_ohko_power(this.__wbg_ptr);
|
|
2580
2569
|
return ret[0] === 0 ? undefined : ret[1];
|
|
2581
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* @returns {number | undefined}
|
|
2573
|
+
*/
|
|
2574
|
+
state_day_gunfit_accuracy() {
|
|
2575
|
+
const ret = wasm.ship_state_day_gunfit_accuracy(this.__wbg_ptr);
|
|
2576
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
2577
|
+
}
|
|
2578
|
+
/**
|
|
2579
|
+
* @returns {number | undefined}
|
|
2580
|
+
*/
|
|
2581
|
+
state_night_gunfit_accuracy() {
|
|
2582
|
+
const ret = wasm.ship_state_night_gunfit_accuracy(this.__wbg_ptr);
|
|
2583
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
2584
|
+
}
|
|
2585
|
+
/**
|
|
2586
|
+
* フィット砲補正
|
|
2587
|
+
* @param {boolean} is_night
|
|
2588
|
+
* @returns {number}
|
|
2589
|
+
*/
|
|
2590
|
+
gunfit_accuracy(is_night) {
|
|
2591
|
+
const ret = wasm.ship_gunfit_accuracy(this.__wbg_ptr, is_night);
|
|
2592
|
+
return ret;
|
|
2593
|
+
}
|
|
2582
2594
|
}
|
|
2595
|
+
if (Symbol.dispose) Ship.prototype[Symbol.dispose] = Ship.prototype.free;
|
|
2583
2596
|
|
|
2584
|
-
export function
|
|
2585
|
-
const ret = arg0.buffer;
|
|
2586
|
-
return ret;
|
|
2587
|
-
};
|
|
2588
|
-
|
|
2589
|
-
export function __wbg_call_672a4d21634d4a24() { return handleError(function (arg0, arg1) {
|
|
2597
|
+
export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
|
|
2590
2598
|
const ret = arg0.call(arg1);
|
|
2591
2599
|
return ret;
|
|
2592
2600
|
}, arguments) };
|
|
2593
2601
|
|
|
2594
|
-
export function
|
|
2602
|
+
export function __wbg_call_a5400b25a865cfd8() { return handleError(function (arg0, arg1, arg2) {
|
|
2595
2603
|
const ret = arg0.call(arg1, arg2);
|
|
2596
2604
|
return ret;
|
|
2597
2605
|
}, arguments) };
|
|
@@ -2617,12 +2625,17 @@ export function __wbg_getRandomValues_bcb4912f16000dc4() { return handleError(fu
|
|
|
2617
2625
|
arg0.getRandomValues(arg1);
|
|
2618
2626
|
}, arguments) };
|
|
2619
2627
|
|
|
2628
|
+
export function __wbg_length_6bb7e81f9d7713e4(arg0) {
|
|
2629
|
+
const ret = arg0.length;
|
|
2630
|
+
return ret;
|
|
2631
|
+
};
|
|
2632
|
+
|
|
2620
2633
|
export function __wbg_msCrypto_0a36e2ec3a343d26(arg0) {
|
|
2621
2634
|
const ret = arg0.msCrypto;
|
|
2622
2635
|
return ret;
|
|
2623
2636
|
};
|
|
2624
2637
|
|
|
2625
|
-
export function
|
|
2638
|
+
export function __wbg_new_1f3a344cf3123716() {
|
|
2626
2639
|
const ret = new Array();
|
|
2627
2640
|
return ret;
|
|
2628
2641
|
};
|
|
@@ -2632,22 +2645,12 @@ export function __wbg_new_8a6f238a6ece86ea() {
|
|
|
2632
2645
|
return ret;
|
|
2633
2646
|
};
|
|
2634
2647
|
|
|
2635
|
-
export function
|
|
2636
|
-
const ret = new Uint8Array(arg0);
|
|
2637
|
-
return ret;
|
|
2638
|
-
};
|
|
2639
|
-
|
|
2640
|
-
export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
|
|
2648
|
+
export function __wbg_newnoargs_254190557c45b4ec(arg0, arg1) {
|
|
2641
2649
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2642
2650
|
return ret;
|
|
2643
2651
|
};
|
|
2644
2652
|
|
|
2645
|
-
export function
|
|
2646
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
2647
|
-
return ret;
|
|
2648
|
-
};
|
|
2649
|
-
|
|
2650
|
-
export function __wbg_newwithlength_a381634e90c276d4(arg0) {
|
|
2653
|
+
export function __wbg_newwithlength_a167dcc7aaa3ba77(arg0) {
|
|
2651
2654
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
2652
2655
|
return ret;
|
|
2653
2656
|
};
|
|
@@ -2657,7 +2660,7 @@ export function __wbg_node_02999533c4ea02e3(arg0) {
|
|
|
2657
2660
|
return ret;
|
|
2658
2661
|
};
|
|
2659
2662
|
|
|
2660
|
-
export function
|
|
2663
|
+
export function __wbg_parse_442f5ba02e5eaf8b() { return handleError(function (arg0, arg1) {
|
|
2661
2664
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
2662
2665
|
return ret;
|
|
2663
2666
|
}, arguments) };
|
|
@@ -2667,7 +2670,11 @@ export function __wbg_process_5c1d670bc53614b8(arg0) {
|
|
|
2667
2670
|
return ret;
|
|
2668
2671
|
};
|
|
2669
2672
|
|
|
2670
|
-
export function
|
|
2673
|
+
export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
|
|
2674
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
2675
|
+
};
|
|
2676
|
+
|
|
2677
|
+
export function __wbg_push_330b2eb93e4e1212(arg0, arg1) {
|
|
2671
2678
|
const ret = arg0.push(arg1);
|
|
2672
2679
|
return ret;
|
|
2673
2680
|
};
|
|
@@ -2681,10 +2688,6 @@ export function __wbg_require_79b1e9274cde3c87() { return handleError(function (
|
|
|
2681
2688
|
return ret;
|
|
2682
2689
|
}, arguments) };
|
|
2683
2690
|
|
|
2684
|
-
export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
|
|
2685
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
2686
|
-
};
|
|
2687
|
-
|
|
2688
2691
|
export function __wbg_ship_new(arg0) {
|
|
2689
2692
|
const ret = Ship.__wrap(arg0);
|
|
2690
2693
|
return ret;
|
|
@@ -2698,32 +2701,32 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
|
|
|
2698
2701
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2699
2702
|
};
|
|
2700
2703
|
|
|
2701
|
-
export function
|
|
2704
|
+
export function __wbg_static_accessor_GLOBAL_8921f820c2ce3f12() {
|
|
2702
2705
|
const ret = typeof global === 'undefined' ? null : global;
|
|
2703
2706
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2704
2707
|
};
|
|
2705
2708
|
|
|
2706
|
-
export function
|
|
2709
|
+
export function __wbg_static_accessor_GLOBAL_THIS_f0a4409105898184() {
|
|
2707
2710
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2708
2711
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2709
2712
|
};
|
|
2710
2713
|
|
|
2711
|
-
export function
|
|
2714
|
+
export function __wbg_static_accessor_SELF_995b214ae681ff99() {
|
|
2712
2715
|
const ret = typeof self === 'undefined' ? null : self;
|
|
2713
2716
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2714
2717
|
};
|
|
2715
2718
|
|
|
2716
|
-
export function
|
|
2719
|
+
export function __wbg_static_accessor_WINDOW_cde3890479c675ea() {
|
|
2717
2720
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2718
2721
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2719
2722
|
};
|
|
2720
2723
|
|
|
2721
|
-
export function
|
|
2724
|
+
export function __wbg_stringify_b98c93d0a190446a() { return handleError(function (arg0) {
|
|
2722
2725
|
const ret = JSON.stringify(arg0);
|
|
2723
2726
|
return ret;
|
|
2724
2727
|
}, arguments) };
|
|
2725
2728
|
|
|
2726
|
-
export function
|
|
2729
|
+
export function __wbg_subarray_70fd07feefe14294(arg0, arg1, arg2) {
|
|
2727
2730
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
2728
2731
|
return ret;
|
|
2729
2732
|
};
|
|
@@ -2733,44 +2736,28 @@ export function __wbg_versions_c71aa1626a93e0a1(arg0) {
|
|
|
2733
2736
|
return ret;
|
|
2734
2737
|
};
|
|
2735
2738
|
|
|
2736
|
-
export function
|
|
2737
|
-
const table = wasm.__wbindgen_export_2;
|
|
2738
|
-
const offset = table.grow(4);
|
|
2739
|
-
table.set(0, undefined);
|
|
2740
|
-
table.set(offset + 0, undefined);
|
|
2741
|
-
table.set(offset + 1, null);
|
|
2742
|
-
table.set(offset + 2, true);
|
|
2743
|
-
table.set(offset + 3, false);
|
|
2744
|
-
;
|
|
2745
|
-
};
|
|
2746
|
-
|
|
2747
|
-
export function __wbindgen_is_function(arg0) {
|
|
2739
|
+
export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
|
|
2748
2740
|
const ret = typeof(arg0) === 'function';
|
|
2749
2741
|
return ret;
|
|
2750
2742
|
};
|
|
2751
2743
|
|
|
2752
|
-
export function
|
|
2744
|
+
export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
|
|
2753
2745
|
const val = arg0;
|
|
2754
2746
|
const ret = typeof(val) === 'object' && val !== null;
|
|
2755
2747
|
return ret;
|
|
2756
2748
|
};
|
|
2757
2749
|
|
|
2758
|
-
export function
|
|
2750
|
+
export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
|
|
2759
2751
|
const ret = typeof(arg0) === 'string';
|
|
2760
2752
|
return ret;
|
|
2761
2753
|
};
|
|
2762
2754
|
|
|
2763
|
-
export function
|
|
2755
|
+
export function __wbg_wbindgenisundefined_c4b71d073b92f3c5(arg0) {
|
|
2764
2756
|
const ret = arg0 === undefined;
|
|
2765
2757
|
return ret;
|
|
2766
2758
|
};
|
|
2767
2759
|
|
|
2768
|
-
export function
|
|
2769
|
-
const ret = wasm.memory;
|
|
2770
|
-
return ret;
|
|
2771
|
-
};
|
|
2772
|
-
|
|
2773
|
-
export function __wbindgen_string_get(arg0, arg1) {
|
|
2760
|
+
export function __wbg_wbindgenstringget_0f16a6ddddef376f(arg0, arg1) {
|
|
2774
2761
|
const obj = arg1;
|
|
2775
2762
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2776
2763
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2779,12 +2766,30 @@ export function __wbindgen_string_get(arg0, arg1) {
|
|
|
2779
2766
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2780
2767
|
};
|
|
2781
2768
|
|
|
2782
|
-
export function
|
|
2769
|
+
export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
|
|
2770
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
2771
|
+
};
|
|
2772
|
+
|
|
2773
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
2774
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2783
2775
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2784
2776
|
return ret;
|
|
2785
2777
|
};
|
|
2786
2778
|
|
|
2787
|
-
export function
|
|
2788
|
-
|
|
2779
|
+
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
2780
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2781
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2782
|
+
return ret;
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
export function __wbindgen_init_externref_table() {
|
|
2786
|
+
const table = wasm.__wbindgen_export_2;
|
|
2787
|
+
const offset = table.grow(4);
|
|
2788
|
+
table.set(0, undefined);
|
|
2789
|
+
table.set(offset + 0, undefined);
|
|
2790
|
+
table.set(offset + 1, null);
|
|
2791
|
+
table.set(offset + 2, true);
|
|
2792
|
+
table.set(offset + 3, false);
|
|
2793
|
+
;
|
|
2789
2794
|
};
|
|
2790
2795
|
|
|
Binary file
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const ship_state_day_gunfit_accuracy: (a: number) => [number, number];
|
|
5
|
-
export const ship_state_night_gunfit_accuracy: (a: number) => [number, number];
|
|
6
|
-
export const ship_gunfit_accuracy: (a: number, b: number) => number;
|
|
7
4
|
export const __wbg_ship_free: (a: number, b: number) => void;
|
|
8
5
|
export const __wbg_get_ship_id: (a: number) => [number, number];
|
|
9
6
|
export const __wbg_set_ship_id: (a: number, b: number, c: number) => void;
|
|
@@ -95,6 +92,49 @@ export const ship_basic_defense_power: (a: number, b: number) => [number, number
|
|
|
95
92
|
export const ship_transport_point: (a: number) => number;
|
|
96
93
|
export const ship_elos: (a: number, b: number) => [number, number];
|
|
97
94
|
export const ship_ohko_power: (a: number) => [number, number];
|
|
95
|
+
export const __wbg_analyzer_free: (a: number, b: number) => void;
|
|
96
|
+
export const analyzer_analyze_ship_attack: (a: number, b: any, c: number, d: number, e: number) => any;
|
|
97
|
+
export const analyzer_analyze_node_attack: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
98
|
+
export const analyzer_analyze_comp: (a: number, b: number, c: any) => any;
|
|
99
|
+
export const analyzer_simulate_support_shelling: (a: number, b: number, c: number, d: any, e: number) => [number, number, number];
|
|
100
|
+
export const ship_state_day_gunfit_accuracy: (a: number) => [number, number];
|
|
101
|
+
export const ship_state_night_gunfit_accuracy: (a: number) => [number, number];
|
|
102
|
+
export const ship_gunfit_accuracy: (a: number, b: number) => number;
|
|
103
|
+
export const __wbg_fhcore_free: (a: number, b: number) => void;
|
|
104
|
+
export const fhcore_new: (a: any) => [number, number, number];
|
|
105
|
+
export const fhcore_create_gear: (a: number, b: number) => number;
|
|
106
|
+
export const fhcore_create_ship: (a: number, b: number) => number;
|
|
107
|
+
export const fhcore_create_air_squadron: (a: number, b: number) => number;
|
|
108
|
+
export const fhcore_create_fleet: (a: number, b: number) => number;
|
|
109
|
+
export const fhcore_create_org: (a: number, b: number) => number;
|
|
110
|
+
export const fhcore_create_ship_state_by_id: (a: number, b: number) => any;
|
|
111
|
+
export const fhcore_create_ship_by_id: (a: number, b: number) => number;
|
|
112
|
+
export const fhcore_create_all_ships: (a: number) => any;
|
|
113
|
+
export const fhcore_create_comp_by_map_enemy: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
114
|
+
export const fhcore_create_default_ship: (a: number) => number;
|
|
115
|
+
export const fhcore_create_analyzer: (a: number) => number;
|
|
116
|
+
export const __wbg_fleet_free: (a: number, b: number) => void;
|
|
117
|
+
export const __wbg_get_fleet_id: (a: number) => [number, number];
|
|
118
|
+
export const __wbg_set_fleet_id: (a: number, b: number, c: number) => void;
|
|
119
|
+
export const __wbg_get_fleet_hash: (a: number) => bigint;
|
|
120
|
+
export const __wbg_get_fleet_len: (a: number) => number;
|
|
121
|
+
export const fleet_meta: (a: number) => any;
|
|
122
|
+
export const fleet_ship_keys: (a: number) => [number, number];
|
|
123
|
+
export const fleet_ship_ids: (a: number) => [number, number];
|
|
124
|
+
export const fleet_get_gear_ids_by_improvable: (a: number) => [number, number];
|
|
125
|
+
export const fleet_get_gear_ids_by_proficiency: (a: number) => [number, number];
|
|
126
|
+
export const fleet_get_damage_bound: (a: number, b: number, c: number, d: any) => number;
|
|
127
|
+
export const fleet_get_remaining_fuel: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
128
|
+
export const fleet_get_remaining_ammo: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
129
|
+
export const fleet_count_ships: (a: number) => number;
|
|
130
|
+
export const fleet_get_ship: (a: number, b: any) => number;
|
|
131
|
+
export const fleet_fleet_los_mod: (a: number) => [number, number];
|
|
132
|
+
export const fleet_fighter_power: (a: number, b: any) => number;
|
|
133
|
+
export const fleet_elos: (a: number, b: number, c: number) => [number, number];
|
|
134
|
+
export const fleet_aviation_detection_score: (a: number) => [number, number];
|
|
135
|
+
export const fleet_expedition_bonus: (a: number) => number;
|
|
136
|
+
export const fleet_sum_ship_stat_by: (a: number, b: number, c: number) => [number, number];
|
|
137
|
+
export const fleet_reset_battle_state: (a: number) => void;
|
|
98
138
|
export const __wbg_gear_free: (a: number, b: number) => void;
|
|
99
139
|
export const __wbg_get_gear_id: (a: number) => [number, number];
|
|
100
140
|
export const __wbg_set_gear_id: (a: number, b: number, c: number) => void;
|
|
@@ -138,7 +178,6 @@ export const gear_interception: (a: number) => number;
|
|
|
138
178
|
export const gear_is_high_angle_mount: (a: number) => number;
|
|
139
179
|
export const gear_is_carrier_shelling_plane: (a: number) => number;
|
|
140
180
|
export const gear_is_hayabusa_20th_squadron: (a: number) => number;
|
|
141
|
-
export const gear_has_proficiency: (a: number) => number;
|
|
142
181
|
export const gear_max_exp_eq_120: (a: number) => number;
|
|
143
182
|
export const gear_calc_fighter_power: (a: number, b: number) => number;
|
|
144
183
|
export const gear_calc_interception_power: (a: number, b: number) => number;
|
|
@@ -158,20 +197,41 @@ export const gear_is_abyssal_patrolling_attack_hawk: (a: number) => number;
|
|
|
158
197
|
export const gear_expedition_bonus: (a: number) => number;
|
|
159
198
|
export const gear_can_be_deployed_to_land_base: (a: number) => number;
|
|
160
199
|
export const gear_is_balloon: (a: number) => number;
|
|
161
|
-
export const
|
|
162
|
-
export const
|
|
163
|
-
export const
|
|
164
|
-
export const
|
|
165
|
-
export const
|
|
166
|
-
export const
|
|
167
|
-
export const
|
|
168
|
-
export const
|
|
169
|
-
export const
|
|
170
|
-
export const
|
|
171
|
-
export const
|
|
172
|
-
export const
|
|
173
|
-
export const
|
|
174
|
-
export const
|
|
200
|
+
export const __wbg_org_free: (a: number, b: number) => void;
|
|
201
|
+
export const __wbg_get_org_id: (a: number) => [number, number];
|
|
202
|
+
export const __wbg_set_org_id: (a: number, b: number, c: number) => void;
|
|
203
|
+
export const __wbg_get_org_hq_level: (a: number) => number;
|
|
204
|
+
export const __wbg_get_org_org_type: (a: number) => any;
|
|
205
|
+
export const __wbg_get_org_sortie: (a: number) => any;
|
|
206
|
+
export const __wbg_get_org_route_sup: (a: number) => any;
|
|
207
|
+
export const __wbg_get_org_boss_sup: (a: number) => any;
|
|
208
|
+
export const org_first_ship_id: (a: number) => [number, number];
|
|
209
|
+
export const org_get_ship_mid: (a: number, b: any, c: any) => number;
|
|
210
|
+
export const org_get_ship_eid: (a: number, b: any, c: any) => [number, number];
|
|
211
|
+
export const org_get_fleet_id: (a: number, b: any) => [number, number];
|
|
212
|
+
export const org_air_squadron_ids: (a: number) => [number, number];
|
|
213
|
+
export const org_main_ship_ids: (a: number) => [number, number];
|
|
214
|
+
export const org_escort_ship_ids: (a: number) => [number, number];
|
|
215
|
+
export const org_clone_fleet: (a: number, b: any) => number;
|
|
216
|
+
export const org_clone_ship: (a: number, b: any, c: any) => number;
|
|
217
|
+
export const org_get_ship_by_id: (a: number, b: number, c: number) => number;
|
|
218
|
+
export const org_ship_keys: (a: number, b: any) => [number, number];
|
|
219
|
+
export const org_create_comp: (a: number) => number;
|
|
220
|
+
export const org_create_comp_by_key: (a: number, b: any) => number;
|
|
221
|
+
export const org_get_air_squadron: (a: number, b: number, c: number) => [number, number, number];
|
|
222
|
+
export const org_get_air_squadron_gear_ids_by_improvable: (a: number) => [number, number];
|
|
223
|
+
export const org_get_air_squadron_gear_ids_by_proficiency: (a: number) => [number, number];
|
|
224
|
+
export const org_side: (a: number) => any;
|
|
225
|
+
export const org_is_player: (a: number) => number;
|
|
226
|
+
export const org_is_enemy: (a: number) => number;
|
|
227
|
+
export const org_is_single: (a: number) => number;
|
|
228
|
+
export const org_is_combined: (a: number) => number;
|
|
229
|
+
export const org_interception_power: (a: number) => number;
|
|
230
|
+
export const org_high_altitude_interception_power: (a: number) => number;
|
|
231
|
+
export const org_create_move_ship_payload: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
232
|
+
export const org_get_fleet_type: (a: number, b: any) => any;
|
|
233
|
+
export const gear_has_proficiency: (a: number) => number;
|
|
234
|
+
export const __wbg_get_org_hash: (a: number) => bigint;
|
|
175
235
|
export const __wbg_airsquadron_free: (a: number, b: number) => void;
|
|
176
236
|
export const __wbg_get_airsquadron_id: (a: number) => [number, number];
|
|
177
237
|
export const __wbg_set_airsquadron_id: (a: number, b: number, c: number) => void;
|
|
@@ -185,11 +245,7 @@ export const airsquadron_get_max_slot_size: (a: number, b: number) => [number, n
|
|
|
185
245
|
export const airsquadron_fighter_power: (a: number) => number;
|
|
186
246
|
export const airsquadron_interception_power: (a: number) => number;
|
|
187
247
|
export const airsquadron_radius: (a: number) => number;
|
|
188
|
-
export const
|
|
189
|
-
export const analyzer_analyze_ship_attack: (a: number, b: any, c: number, d: number, e: number) => any;
|
|
190
|
-
export const analyzer_analyze_node_attack: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
|
|
191
|
-
export const analyzer_analyze_comp: (a: number, b: number, c: any) => any;
|
|
192
|
-
export const analyzer_simulate_support_shelling: (a: number, b: number, c: number, d: any, e: number) => [number, number, number];
|
|
248
|
+
export const parse_ship_conditions: (a: any) => any;
|
|
193
249
|
export const __wbg_comp_free: (a: number, b: number) => void;
|
|
194
250
|
export const __wbg_get_comp_org_type: (a: number) => any;
|
|
195
251
|
export const __wbg_get_comp_hq_level: (a: number) => number;
|
|
@@ -221,63 +277,7 @@ export const comp_transport_point: (a: number) => number;
|
|
|
221
277
|
export const comp_get_ship_conditions: (a: number, b: number, c: number) => any;
|
|
222
278
|
export const comp_fleet_los_mod: (a: number, b: any) => [number, number];
|
|
223
279
|
export const comp_balloons: (a: number) => number;
|
|
224
|
-
export const
|
|
225
|
-
export const __wbg_fleet_free: (a: number, b: number) => void;
|
|
226
|
-
export const __wbg_get_fleet_id: (a: number) => [number, number];
|
|
227
|
-
export const __wbg_set_fleet_id: (a: number, b: number, c: number) => void;
|
|
228
|
-
export const __wbg_get_fleet_hash: (a: number) => bigint;
|
|
229
|
-
export const __wbg_get_fleet_len: (a: number) => number;
|
|
230
|
-
export const fleet_meta: (a: number) => any;
|
|
231
|
-
export const fleet_ship_keys: (a: number) => [number, number];
|
|
232
|
-
export const fleet_ship_ids: (a: number) => [number, number];
|
|
233
|
-
export const fleet_get_gear_ids_by_improvable: (a: number) => [number, number];
|
|
234
|
-
export const fleet_get_gear_ids_by_proficiency: (a: number) => [number, number];
|
|
235
|
-
export const fleet_get_damage_bound: (a: number, b: number, c: number, d: any) => number;
|
|
236
|
-
export const fleet_get_remaining_fuel: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
237
|
-
export const fleet_get_remaining_ammo: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
238
|
-
export const fleet_count_ships: (a: number) => number;
|
|
239
|
-
export const fleet_get_ship: (a: number, b: any) => number;
|
|
240
|
-
export const fleet_fleet_los_mod: (a: number) => [number, number];
|
|
241
|
-
export const fleet_fighter_power: (a: number, b: any) => number;
|
|
242
|
-
export const fleet_elos: (a: number, b: number, c: number) => [number, number];
|
|
243
|
-
export const fleet_aviation_detection_score: (a: number) => [number, number];
|
|
244
|
-
export const fleet_expedition_bonus: (a: number) => number;
|
|
245
|
-
export const fleet_sum_ship_stat_by: (a: number, b: number, c: number) => [number, number];
|
|
246
|
-
export const fleet_reset_battle_state: (a: number) => void;
|
|
247
|
-
export const __wbg_org_free: (a: number, b: number) => void;
|
|
248
|
-
export const __wbg_get_org_id: (a: number) => [number, number];
|
|
249
|
-
export const __wbg_set_org_id: (a: number, b: number, c: number) => void;
|
|
250
|
-
export const __wbg_get_org_hash: (a: number) => bigint;
|
|
251
|
-
export const __wbg_get_org_hq_level: (a: number) => number;
|
|
252
|
-
export const __wbg_get_org_org_type: (a: number) => any;
|
|
253
|
-
export const __wbg_get_org_sortie: (a: number) => any;
|
|
254
|
-
export const __wbg_get_org_route_sup: (a: number) => any;
|
|
255
|
-
export const __wbg_get_org_boss_sup: (a: number) => any;
|
|
256
|
-
export const org_first_ship_id: (a: number) => [number, number];
|
|
257
|
-
export const org_get_ship_mid: (a: number, b: any, c: any) => number;
|
|
258
|
-
export const org_get_ship_eid: (a: number, b: any, c: any) => [number, number];
|
|
259
|
-
export const org_get_fleet_id: (a: number, b: any) => [number, number];
|
|
260
|
-
export const org_air_squadron_ids: (a: number) => [number, number];
|
|
261
|
-
export const org_main_ship_ids: (a: number) => [number, number];
|
|
262
|
-
export const org_escort_ship_ids: (a: number) => [number, number];
|
|
263
|
-
export const org_clone_fleet: (a: number, b: any) => number;
|
|
264
|
-
export const org_clone_ship: (a: number, b: any, c: any) => number;
|
|
265
|
-
export const org_get_ship_by_id: (a: number, b: number, c: number) => number;
|
|
266
|
-
export const org_ship_keys: (a: number, b: any) => [number, number];
|
|
267
|
-
export const org_create_comp: (a: number) => number;
|
|
268
|
-
export const org_create_comp_by_key: (a: number, b: any) => number;
|
|
269
|
-
export const org_get_air_squadron: (a: number, b: number, c: number) => [number, number, number];
|
|
270
|
-
export const org_get_air_squadron_gear_ids_by_improvable: (a: number) => [number, number];
|
|
271
|
-
export const org_get_air_squadron_gear_ids_by_proficiency: (a: number) => [number, number];
|
|
272
|
-
export const org_side: (a: number) => any;
|
|
273
|
-
export const org_is_player: (a: number) => number;
|
|
274
|
-
export const org_is_enemy: (a: number) => number;
|
|
275
|
-
export const org_is_single: (a: number) => number;
|
|
276
|
-
export const org_is_combined: (a: number) => number;
|
|
277
|
-
export const org_interception_power: (a: number) => number;
|
|
278
|
-
export const org_high_altitude_interception_power: (a: number) => number;
|
|
279
|
-
export const org_create_move_ship_payload: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
280
|
-
export const org_get_fleet_type: (a: number, b: any) => any;
|
|
280
|
+
export const set_panic_hook: () => void;
|
|
281
281
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
282
282
|
export const __externref_table_alloc: () => number;
|
|
283
283
|
export const __wbindgen_export_2: WebAssembly.Table;
|