fleethub-core 1.3.1 → 1.3.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.
- package/node/fleethub_core.d.ts +222 -248
- package/node/fleethub_core.js +86 -134
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +36 -41
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +222 -248
- package/pkg/fleethub_core_bg.js +86 -134
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +36 -41
package/pkg/fleethub_core_bg.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as wasm from './fleethub_core_bg.wasm';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const heap = new Array(32).fill(undefined);
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
heap.push(undefined, null, true, false);
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
function getObject(idx) { return heap[idx]; }
|
|
8
|
+
|
|
9
|
+
let WASM_VECTOR_LEN = 0;
|
|
8
10
|
|
|
9
11
|
let cachegetUint8Memory0 = null;
|
|
10
12
|
function getUint8Memory0() {
|
|
@@ -14,41 +16,6 @@ function getUint8Memory0() {
|
|
|
14
16
|
return cachegetUint8Memory0;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
|
-
function getStringFromWasm0(ptr, len) {
|
|
18
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const heap = new Array(32).fill(undefined);
|
|
22
|
-
|
|
23
|
-
heap.push(undefined, null, true, false);
|
|
24
|
-
|
|
25
|
-
let heap_next = heap.length;
|
|
26
|
-
|
|
27
|
-
function addHeapObject(obj) {
|
|
28
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
29
|
-
const idx = heap_next;
|
|
30
|
-
heap_next = heap[idx];
|
|
31
|
-
|
|
32
|
-
heap[idx] = obj;
|
|
33
|
-
return idx;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function getObject(idx) { return heap[idx]; }
|
|
37
|
-
|
|
38
|
-
function dropObject(idx) {
|
|
39
|
-
if (idx < 36) return;
|
|
40
|
-
heap[idx] = heap_next;
|
|
41
|
-
heap_next = idx;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function takeObject(idx) {
|
|
45
|
-
const ret = getObject(idx);
|
|
46
|
-
dropObject(idx);
|
|
47
|
-
return ret;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
let WASM_VECTOR_LEN = 0;
|
|
51
|
-
|
|
52
19
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
|
53
20
|
|
|
54
21
|
let cachedTextEncoder = new lTextEncoder('utf-8');
|
|
@@ -112,6 +79,39 @@ function getInt32Memory0() {
|
|
|
112
79
|
return cachegetInt32Memory0;
|
|
113
80
|
}
|
|
114
81
|
|
|
82
|
+
let heap_next = heap.length;
|
|
83
|
+
|
|
84
|
+
function dropObject(idx) {
|
|
85
|
+
if (idx < 36) return;
|
|
86
|
+
heap[idx] = heap_next;
|
|
87
|
+
heap_next = idx;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function takeObject(idx) {
|
|
91
|
+
const ret = getObject(idx);
|
|
92
|
+
dropObject(idx);
|
|
93
|
+
return ret;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
97
|
+
|
|
98
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
99
|
+
|
|
100
|
+
cachedTextDecoder.decode();
|
|
101
|
+
|
|
102
|
+
function getStringFromWasm0(ptr, len) {
|
|
103
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function addHeapObject(obj) {
|
|
107
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
108
|
+
const idx = heap_next;
|
|
109
|
+
heap_next = heap[idx];
|
|
110
|
+
|
|
111
|
+
heap[idx] = obj;
|
|
112
|
+
return idx;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
115
|
function debugString(val) {
|
|
116
116
|
// primitive types
|
|
117
117
|
const type = typeof val;
|
|
@@ -177,6 +177,10 @@ function debugString(val) {
|
|
|
177
177
|
return className;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
const u32CvtShim = new Uint32Array(2);
|
|
181
|
+
|
|
182
|
+
const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
|
|
183
|
+
|
|
180
184
|
function _assertClass(instance, klass) {
|
|
181
185
|
if (!(instance instanceof klass)) {
|
|
182
186
|
throw new Error(`expected instance of ${klass.name}`);
|
|
@@ -196,10 +200,6 @@ function getFloat64Memory0() {
|
|
|
196
200
|
return cachegetFloat64Memory0;
|
|
197
201
|
}
|
|
198
202
|
|
|
199
|
-
const u32CvtShim = new Uint32Array(2);
|
|
200
|
-
|
|
201
|
-
const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
|
|
202
|
-
|
|
203
203
|
let cachegetUint32Memory0 = null;
|
|
204
204
|
function getUint32Memory0() {
|
|
205
205
|
if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {
|
|
@@ -229,58 +229,19 @@ function getUint16Memory0() {
|
|
|
229
229
|
function getArrayU16FromWasm0(ptr, len) {
|
|
230
230
|
return getUint16Memory0().subarray(ptr / 2, ptr / 2 + len);
|
|
231
231
|
}
|
|
232
|
-
/**
|
|
233
|
-
* @param {Gear} gear
|
|
234
|
-
* @returns {boolean}
|
|
235
|
-
*/
|
|
236
|
-
export function air_squadron_can_equip(gear) {
|
|
237
|
-
_assertClass(gear, Gear);
|
|
238
|
-
const ret = wasm.air_squadron_can_equip(gear.ptr);
|
|
239
|
-
return ret !== 0;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @param {OrgType} org_type
|
|
244
|
-
* @returns {boolean}
|
|
245
|
-
*/
|
|
246
|
-
export function org_type_is_single(org_type) {
|
|
247
|
-
const ret = wasm.org_type_is_single(addHeapObject(org_type));
|
|
248
|
-
return ret !== 0;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @param {OrgType} org_type
|
|
253
|
-
* @returns {Formation}
|
|
254
|
-
*/
|
|
255
|
-
export function org_type_default_formation(org_type) {
|
|
256
|
-
const ret = wasm.org_type_default_formation(addHeapObject(org_type));
|
|
257
|
-
return takeObject(ret);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* @param {OrgType} org_type
|
|
262
|
-
* @returns {boolean}
|
|
263
|
-
*/
|
|
264
|
-
export function org_type_is_player(org_type) {
|
|
265
|
-
const ret = wasm.org_type_is_player(addHeapObject(org_type));
|
|
266
|
-
return ret !== 0;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* @param {OrgType} org_type
|
|
271
|
-
* @returns {Side}
|
|
272
|
-
*/
|
|
273
|
-
export function org_type_side(org_type) {
|
|
274
|
-
const ret = wasm.org_type_side(addHeapObject(org_type));
|
|
275
|
-
return takeObject(ret);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
232
|
/**
|
|
279
233
|
*/
|
|
280
234
|
export function set_panic_hook() {
|
|
281
235
|
wasm.set_panic_hook();
|
|
282
236
|
}
|
|
283
237
|
|
|
238
|
+
function passArray16ToWasm0(arg, malloc) {
|
|
239
|
+
const ptr = malloc(arg.length * 2);
|
|
240
|
+
getUint16Memory0().set(arg, ptr / 2);
|
|
241
|
+
WASM_VECTOR_LEN = arg.length;
|
|
242
|
+
return ptr;
|
|
243
|
+
}
|
|
244
|
+
|
|
284
245
|
function getArrayU8FromWasm0(ptr, len) {
|
|
285
246
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
286
247
|
}
|
|
@@ -292,13 +253,6 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
292
253
|
return ptr;
|
|
293
254
|
}
|
|
294
255
|
|
|
295
|
-
function passArray16ToWasm0(arg, malloc) {
|
|
296
|
-
const ptr = malloc(arg.length * 2);
|
|
297
|
-
getUint16Memory0().set(arg, ptr / 2);
|
|
298
|
-
WASM_VECTOR_LEN = arg.length;
|
|
299
|
-
return ptr;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
256
|
function handleError(f, args) {
|
|
303
257
|
try {
|
|
304
258
|
return f.apply(this, args);
|
|
@@ -400,15 +354,6 @@ export class AirSquadron {
|
|
|
400
354
|
return ret === 0 ? undefined : Gear.__wrap(ret);
|
|
401
355
|
}
|
|
402
356
|
/**
|
|
403
|
-
* @param {Gear} gear
|
|
404
|
-
* @returns {boolean}
|
|
405
|
-
*/
|
|
406
|
-
can_equip(gear) {
|
|
407
|
-
_assertClass(gear, Gear);
|
|
408
|
-
const ret = wasm.airsquadron_can_equip(this.ptr, gear.ptr);
|
|
409
|
-
return ret !== 0;
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
357
|
* @param {number} index
|
|
413
358
|
* @returns {number}
|
|
414
359
|
*/
|
|
@@ -496,14 +441,14 @@ export class Analyzer {
|
|
|
496
441
|
/**
|
|
497
442
|
* @param {Comp} comp
|
|
498
443
|
* @param {Formation} formation
|
|
499
|
-
* @param {number}
|
|
444
|
+
* @param {number} ship_anti_air_resist
|
|
500
445
|
* @param {number} fleet_anti_air_resist
|
|
501
446
|
* @param {number | undefined} aaci
|
|
502
447
|
* @returns {CompAntiAirInfo}
|
|
503
448
|
*/
|
|
504
|
-
analyze_anti_air(comp, formation,
|
|
449
|
+
analyze_anti_air(comp, formation, ship_anti_air_resist, fleet_anti_air_resist, aaci) {
|
|
505
450
|
_assertClass(comp, Comp);
|
|
506
|
-
const ret = wasm.analyzer_analyze_anti_air(this.ptr, comp.ptr, addHeapObject(formation),
|
|
451
|
+
const ret = wasm.analyzer_analyze_anti_air(this.ptr, comp.ptr, addHeapObject(formation), ship_anti_air_resist, fleet_anti_air_resist, isLikeNone(aaci) ? 0xFFFFFF : aaci);
|
|
507
452
|
return takeObject(ret);
|
|
508
453
|
}
|
|
509
454
|
/**
|
|
@@ -782,12 +727,12 @@ export class Comp {
|
|
|
782
727
|
return takeObject(ret);
|
|
783
728
|
}
|
|
784
729
|
/**
|
|
785
|
-
*
|
|
730
|
+
* 艦隊防空値
|
|
786
731
|
* @param {number} formation_mod
|
|
787
732
|
* @returns {number}
|
|
788
733
|
*/
|
|
789
|
-
|
|
790
|
-
const ret = wasm.
|
|
734
|
+
adjusted_anti_air(formation_mod) {
|
|
735
|
+
const ret = wasm.comp_adjusted_anti_air(this.ptr, formation_mod);
|
|
791
736
|
return ret;
|
|
792
737
|
}
|
|
793
738
|
/**
|
|
@@ -1653,15 +1598,15 @@ export class Gear {
|
|
|
1653
1598
|
}
|
|
1654
1599
|
/**
|
|
1655
1600
|
*/
|
|
1656
|
-
get
|
|
1657
|
-
const ret = wasm.
|
|
1601
|
+
get ship_anti_air_resistance() {
|
|
1602
|
+
const ret = wasm.__wbg_get_gear_ship_anti_air_resistance(this.ptr);
|
|
1658
1603
|
return ret;
|
|
1659
1604
|
}
|
|
1660
1605
|
/**
|
|
1661
1606
|
* @param {number} arg0
|
|
1662
1607
|
*/
|
|
1663
|
-
set
|
|
1664
|
-
wasm.
|
|
1608
|
+
set ship_anti_air_resistance(arg0) {
|
|
1609
|
+
wasm.__wbg_set_gear_ship_anti_air_resistance(this.ptr, arg0);
|
|
1665
1610
|
}
|
|
1666
1611
|
/**
|
|
1667
1612
|
*/
|
|
@@ -1750,7 +1695,7 @@ export class Gear {
|
|
|
1750
1695
|
* @returns {boolean}
|
|
1751
1696
|
*/
|
|
1752
1697
|
has_proficiency() {
|
|
1753
|
-
const ret = wasm.
|
|
1698
|
+
const ret = wasm.gear_can_be_deployed_to_land_base(this.ptr);
|
|
1754
1699
|
return ret !== 0;
|
|
1755
1700
|
}
|
|
1756
1701
|
/**
|
|
@@ -1786,15 +1731,15 @@ export class Gear {
|
|
|
1786
1731
|
/**
|
|
1787
1732
|
* @returns {number}
|
|
1788
1733
|
*/
|
|
1789
|
-
|
|
1790
|
-
const ret = wasm.
|
|
1734
|
+
fleet_anti_air_mod() {
|
|
1735
|
+
const ret = wasm.gear_fleet_anti_air_mod(this.ptr);
|
|
1791
1736
|
return ret;
|
|
1792
1737
|
}
|
|
1793
1738
|
/**
|
|
1794
1739
|
* @returns {number}
|
|
1795
1740
|
*/
|
|
1796
|
-
|
|
1797
|
-
const ret = wasm.
|
|
1741
|
+
ship_anti_air_mod() {
|
|
1742
|
+
const ret = wasm.gear_ship_anti_air_mod(this.ptr);
|
|
1798
1743
|
return ret;
|
|
1799
1744
|
}
|
|
1800
1745
|
/**
|
|
@@ -1872,6 +1817,13 @@ export class Gear {
|
|
|
1872
1817
|
const ret = wasm.gear_expedition_bonus(this.ptr);
|
|
1873
1818
|
return ret;
|
|
1874
1819
|
}
|
|
1820
|
+
/**
|
|
1821
|
+
* @returns {boolean}
|
|
1822
|
+
*/
|
|
1823
|
+
can_be_deployed_to_land_base() {
|
|
1824
|
+
const ret = wasm.gear_can_be_deployed_to_land_base(this.ptr);
|
|
1825
|
+
return ret !== 0;
|
|
1826
|
+
}
|
|
1875
1827
|
}
|
|
1876
1828
|
|
|
1877
1829
|
const IBonusesFinalization = new FinalizationRegistry(ptr => wasm.__wbg_ibonuses_free(ptr));
|
|
@@ -2048,15 +2000,15 @@ export class IBonuses {
|
|
|
2048
2000
|
}
|
|
2049
2001
|
/**
|
|
2050
2002
|
*/
|
|
2051
|
-
get
|
|
2052
|
-
const ret = wasm.
|
|
2003
|
+
get ship_anti_air() {
|
|
2004
|
+
const ret = wasm.__wbg_get_ibonuses_ship_anti_air(this.ptr);
|
|
2053
2005
|
return ret;
|
|
2054
2006
|
}
|
|
2055
2007
|
/**
|
|
2056
2008
|
* @param {number} arg0
|
|
2057
2009
|
*/
|
|
2058
|
-
set
|
|
2059
|
-
wasm.
|
|
2010
|
+
set ship_anti_air(arg0) {
|
|
2011
|
+
wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
|
|
2060
2012
|
}
|
|
2061
2013
|
/**
|
|
2062
2014
|
*/
|
|
@@ -3212,8 +3164,8 @@ export class Ship {
|
|
|
3212
3164
|
/**
|
|
3213
3165
|
* @returns {number}
|
|
3214
3166
|
*/
|
|
3215
|
-
|
|
3216
|
-
const ret = wasm.
|
|
3167
|
+
fleet_anti_air_mod() {
|
|
3168
|
+
const ret = wasm.ship_fleet_anti_air_mod(this.ptr);
|
|
3217
3169
|
return ret;
|
|
3218
3170
|
}
|
|
3219
3171
|
/**
|
|
@@ -3321,15 +3273,6 @@ export class Ship {
|
|
|
3321
3273
|
}
|
|
3322
3274
|
}
|
|
3323
3275
|
|
|
3324
|
-
export function __wbindgen_string_new(arg0, arg1) {
|
|
3325
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
3326
|
-
return addHeapObject(ret);
|
|
3327
|
-
};
|
|
3328
|
-
|
|
3329
|
-
export function __wbindgen_object_drop_ref(arg0) {
|
|
3330
|
-
takeObject(arg0);
|
|
3331
|
-
};
|
|
3332
|
-
|
|
3333
3276
|
export function __wbindgen_json_serialize(arg0, arg1) {
|
|
3334
3277
|
const obj = getObject(arg1);
|
|
3335
3278
|
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
@@ -3339,6 +3282,15 @@ export function __wbindgen_json_serialize(arg0, arg1) {
|
|
|
3339
3282
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
3340
3283
|
};
|
|
3341
3284
|
|
|
3285
|
+
export function __wbindgen_object_drop_ref(arg0) {
|
|
3286
|
+
takeObject(arg0);
|
|
3287
|
+
};
|
|
3288
|
+
|
|
3289
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
|
3290
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
3291
|
+
return addHeapObject(ret);
|
|
3292
|
+
};
|
|
3293
|
+
|
|
3342
3294
|
export function __wbindgen_json_parse(arg0, arg1) {
|
|
3343
3295
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
3344
3296
|
return addHeapObject(ret);
|
|
Binary file
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export function __wbg_airsquadron_free(a: number): void;
|
|
5
|
+
export function __wbg_get_airsquadron_id(a: number, b: number): void;
|
|
6
|
+
export function __wbg_set_airsquadron_id(a: number, b: number, c: number): void;
|
|
7
|
+
export function __wbg_get_airsquadron_xxh3(a: number, b: number): void;
|
|
8
|
+
export function __wbg_set_airsquadron_xxh3(a: number, b: number, c: number): void;
|
|
9
|
+
export function __wbg_get_airsquadron_mode(a: number): number;
|
|
10
|
+
export function __wbg_set_airsquadron_mode(a: number, b: number): void;
|
|
11
|
+
export function airsquadron_get_gear(a: number, b: number, c: number): number;
|
|
12
|
+
export function airsquadron_get_slot_size(a: number, b: number, c: number): void;
|
|
13
|
+
export function airsquadron_get_max_slot_size(a: number, b: number, c: number): void;
|
|
14
|
+
export function airsquadron_fighter_power(a: number): number;
|
|
15
|
+
export function airsquadron_interception_power(a: number): number;
|
|
16
|
+
export function airsquadron_radius(a: number): number;
|
|
4
17
|
export function __wbg_analyzer_free(a: number): void;
|
|
5
18
|
export function analyzer_analyze_anti_air(a: number, b: number, c: number, d: number, e: number, f: number): number;
|
|
6
19
|
export function analyzer_analyze_day_cutin(a: number, b: number): number;
|
|
@@ -31,7 +44,7 @@ export function comp_get_ship_with_clone(a: number, b: number, c: number, d: num
|
|
|
31
44
|
export function comp_get_ship_entity_id(a: number, b: number, c: number, d: number, e: number): void;
|
|
32
45
|
export function comp_get_ship_by_eid_with_clone(a: number, b: number, c: number): number;
|
|
33
46
|
export function comp_default_formation(a: number): number;
|
|
34
|
-
export function
|
|
47
|
+
export function comp_adjusted_anti_air(a: number, b: number): number;
|
|
35
48
|
export function comp_fighter_power(a: number, b: number, c: number, d: number): void;
|
|
36
49
|
export function comp_elos(a: number, b: number, c: number): void;
|
|
37
50
|
export function comp_transport_point(a: number): number;
|
|
@@ -75,21 +88,6 @@ export function org_interception_power(a: number): number;
|
|
|
75
88
|
export function org_high_altitude_interception_power(a: number): number;
|
|
76
89
|
export function org_create_warfare_ship_environment(a: number, b: number, c: number): number;
|
|
77
90
|
export function org_default(): number;
|
|
78
|
-
export function __wbg_airsquadron_free(a: number): void;
|
|
79
|
-
export function __wbg_get_airsquadron_id(a: number, b: number): void;
|
|
80
|
-
export function __wbg_set_airsquadron_id(a: number, b: number, c: number): void;
|
|
81
|
-
export function __wbg_get_airsquadron_xxh3(a: number, b: number): void;
|
|
82
|
-
export function __wbg_set_airsquadron_xxh3(a: number, b: number, c: number): void;
|
|
83
|
-
export function __wbg_get_airsquadron_mode(a: number): number;
|
|
84
|
-
export function __wbg_set_airsquadron_mode(a: number, b: number): void;
|
|
85
|
-
export function air_squadron_can_equip(a: number): number;
|
|
86
|
-
export function airsquadron_get_gear(a: number, b: number, c: number): number;
|
|
87
|
-
export function airsquadron_can_equip(a: number, b: number): number;
|
|
88
|
-
export function airsquadron_get_slot_size(a: number, b: number, c: number): void;
|
|
89
|
-
export function airsquadron_get_max_slot_size(a: number, b: number, c: number): void;
|
|
90
|
-
export function airsquadron_fighter_power(a: number): number;
|
|
91
|
-
export function airsquadron_interception_power(a: number): number;
|
|
92
|
-
export function airsquadron_radius(a: number): number;
|
|
93
91
|
export function __wbg_fleet_free(a: number): void;
|
|
94
92
|
export function __wbg_get_fleet_id(a: number, b: number): void;
|
|
95
93
|
export function __wbg_set_fleet_id(a: number, b: number, c: number): void;
|
|
@@ -114,10 +112,19 @@ export function fleet_aviation_detection_score(a: number, b: number): void;
|
|
|
114
112
|
export function fleet_expedition_bonus(a: number): number;
|
|
115
113
|
export function fleet_sum_ship_stat_by(a: number, b: number, c: number, d: number): void;
|
|
116
114
|
export function fleet_reset_battle_state(a: number): void;
|
|
117
|
-
export function
|
|
118
|
-
export function
|
|
119
|
-
export function
|
|
120
|
-
export function
|
|
115
|
+
export function __wbg_fhcore_free(a: number): void;
|
|
116
|
+
export function fhcore_new(a: number, b: number, c: number): void;
|
|
117
|
+
export function fhcore_create_gear(a: number, b: number): number;
|
|
118
|
+
export function fhcore_create_ship(a: number, b: number): number;
|
|
119
|
+
export function fhcore_create_air_squadron(a: number, b: number): number;
|
|
120
|
+
export function fhcore_create_fleet(a: number, b: number): number;
|
|
121
|
+
export function fhcore_create_org(a: number, b: number): number;
|
|
122
|
+
export function fhcore_create_ship_by_id(a: number, b: number): number;
|
|
123
|
+
export function fhcore_create_comp_by_map_enemy(a: number, b: number, c: number, d: number, e: number): number;
|
|
124
|
+
export function fhcore_create_default_ship(a: number): number;
|
|
125
|
+
export function fhcore_create_analyzer(a: number): number;
|
|
126
|
+
export function fhcore_simulate_shelling_support(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
127
|
+
export function set_panic_hook(): void;
|
|
121
128
|
export function __wbg_ibonuses_free(a: number): void;
|
|
122
129
|
export function __wbg_get_ibonuses_shelling_power(a: number): number;
|
|
123
130
|
export function __wbg_set_ibonuses_shelling_power(a: number, b: number): void;
|
|
@@ -145,8 +152,8 @@ export function __wbg_get_ibonuses_contact_selection(a: number): number;
|
|
|
145
152
|
export function __wbg_set_ibonuses_contact_selection(a: number, b: number): void;
|
|
146
153
|
export function __wbg_get_ibonuses_fighter_power(a: number): number;
|
|
147
154
|
export function __wbg_set_ibonuses_fighter_power(a: number, b: number): void;
|
|
148
|
-
export function
|
|
149
|
-
export function
|
|
155
|
+
export function __wbg_get_ibonuses_ship_anti_air(a: number): number;
|
|
156
|
+
export function __wbg_set_ibonuses_ship_anti_air(a: number, b: number): void;
|
|
150
157
|
export function __wbg_get_ibonuses_fleet_anti_air(a: number): number;
|
|
151
158
|
export function __wbg_set_ibonuses_fleet_anti_air(a: number, b: number): void;
|
|
152
159
|
export function __wbg_get_ibonuses_elos(a: number): number;
|
|
@@ -202,8 +209,8 @@ export function __wbg_get_gear_cost(a: number): number;
|
|
|
202
209
|
export function __wbg_set_gear_cost(a: number, b: number): void;
|
|
203
210
|
export function __wbg_get_gear_improvable(a: number): number;
|
|
204
211
|
export function __wbg_set_gear_improvable(a: number, b: number): void;
|
|
205
|
-
export function
|
|
206
|
-
export function
|
|
212
|
+
export function __wbg_get_gear_ship_anti_air_resistance(a: number): number;
|
|
213
|
+
export function __wbg_set_gear_ship_anti_air_resistance(a: number, b: number): void;
|
|
207
214
|
export function __wbg_get_gear_fleet_anti_air_resistance(a: number): number;
|
|
208
215
|
export function __wbg_set_gear_fleet_anti_air_resistance(a: number, b: number): void;
|
|
209
216
|
export function gear_default(): number;
|
|
@@ -216,13 +223,12 @@ export function gear_ace(a: number): number;
|
|
|
216
223
|
export function gear_anti_bomber(a: number): number;
|
|
217
224
|
export function gear_interception(a: number): number;
|
|
218
225
|
export function gear_is_carrier_shelling_plane(a: number): number;
|
|
219
|
-
export function gear_has_proficiency(a: number): number;
|
|
220
226
|
export function gear_max_exp_eq_120(a: number): number;
|
|
221
227
|
export function gear_proficiency_critical_power_mod(a: number): number;
|
|
222
228
|
export function gear_calc_fighter_power(a: number, b: number): number;
|
|
223
229
|
export function gear_calc_interception_power(a: number, b: number): number;
|
|
224
|
-
export function
|
|
225
|
-
export function
|
|
230
|
+
export function gear_fleet_anti_air_mod(a: number): number;
|
|
231
|
+
export function gear_ship_anti_air_mod(a: number): number;
|
|
226
232
|
export function gear_calc_contact_trigger_factor(a: number, b: number): number;
|
|
227
233
|
export function gear_contact_selection_rate(a: number, b: number): number;
|
|
228
234
|
export function gear_night_contact_rate(a: number, b: number): number;
|
|
@@ -233,19 +239,8 @@ export function gear_is_abyssal(a: number): number;
|
|
|
233
239
|
export function gear_is_abyssal_cuttlefish_torpedo(a: number): number;
|
|
234
240
|
export function gear_is_abyssal_patrolling_attack_hawk(a: number): number;
|
|
235
241
|
export function gear_expedition_bonus(a: number): number;
|
|
236
|
-
export function
|
|
237
|
-
export function
|
|
238
|
-
export function fhcore_create_gear(a: number, b: number): number;
|
|
239
|
-
export function fhcore_create_ship(a: number, b: number): number;
|
|
240
|
-
export function fhcore_create_air_squadron(a: number, b: number): number;
|
|
241
|
-
export function fhcore_create_fleet(a: number, b: number): number;
|
|
242
|
-
export function fhcore_create_org(a: number, b: number): number;
|
|
243
|
-
export function fhcore_create_ship_by_id(a: number, b: number): number;
|
|
244
|
-
export function fhcore_create_comp_by_map_enemy(a: number, b: number, c: number, d: number, e: number): number;
|
|
245
|
-
export function fhcore_create_default_ship(a: number): number;
|
|
246
|
-
export function fhcore_create_analyzer(a: number): number;
|
|
247
|
-
export function fhcore_simulate_shelling_support(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
248
|
-
export function set_panic_hook(): void;
|
|
242
|
+
export function gear_can_be_deployed_to_land_base(a: number): number;
|
|
243
|
+
export function gear_has_proficiency(a: number): number;
|
|
249
244
|
export function __wbg_ship_free(a: number): void;
|
|
250
245
|
export function __wbg_get_ship_id(a: number, b: number): void;
|
|
251
246
|
export function __wbg_set_ship_id(a: number, b: number, c: number): void;
|
|
@@ -330,7 +325,7 @@ export function ship_remaining_ammo_mod(a: number): number;
|
|
|
330
325
|
export function ship_remaining_fuel_mod(a: number): number;
|
|
331
326
|
export function ship_fighter_power(a: number, b: number, c: number): void;
|
|
332
327
|
export function ship_fleet_los_factor(a: number, b: number): void;
|
|
333
|
-
export function
|
|
328
|
+
export function ship_fleet_anti_air_mod(a: number): number;
|
|
334
329
|
export function ship_cruiser_fit_bonus(a: number): number;
|
|
335
330
|
export function ship_fit_gun_bonus(a: number, b: number): number;
|
|
336
331
|
export function ship_basic_accuracy_term(a: number, b: number): void;
|