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.
@@ -1,11 +1,15 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { TextDecoder, TextEncoder } = require(`util`);
4
+ const { TextEncoder, TextDecoder } = require(`util`);
5
5
 
6
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
6
+ const heap = new Array(32).fill(undefined);
7
7
 
8
- cachedTextDecoder.decode();
8
+ heap.push(undefined, null, true, false);
9
+
10
+ function getObject(idx) { return heap[idx]; }
11
+
12
+ let WASM_VECTOR_LEN = 0;
9
13
 
10
14
  let cachegetUint8Memory0 = null;
11
15
  function getUint8Memory0() {
@@ -15,41 +19,6 @@ function getUint8Memory0() {
15
19
  return cachegetUint8Memory0;
16
20
  }
17
21
 
18
- function getStringFromWasm0(ptr, len) {
19
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
20
- }
21
-
22
- const heap = new Array(32).fill(undefined);
23
-
24
- heap.push(undefined, null, true, false);
25
-
26
- let heap_next = heap.length;
27
-
28
- function addHeapObject(obj) {
29
- if (heap_next === heap.length) heap.push(heap.length + 1);
30
- const idx = heap_next;
31
- heap_next = heap[idx];
32
-
33
- heap[idx] = obj;
34
- return idx;
35
- }
36
-
37
- function getObject(idx) { return heap[idx]; }
38
-
39
- function dropObject(idx) {
40
- if (idx < 36) return;
41
- heap[idx] = heap_next;
42
- heap_next = idx;
43
- }
44
-
45
- function takeObject(idx) {
46
- const ret = getObject(idx);
47
- dropObject(idx);
48
- return ret;
49
- }
50
-
51
- let WASM_VECTOR_LEN = 0;
52
-
53
22
  let cachedTextEncoder = new TextEncoder('utf-8');
54
23
 
55
24
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -111,6 +80,37 @@ function getInt32Memory0() {
111
80
  return cachegetInt32Memory0;
112
81
  }
113
82
 
83
+ let heap_next = heap.length;
84
+
85
+ function dropObject(idx) {
86
+ if (idx < 36) return;
87
+ heap[idx] = heap_next;
88
+ heap_next = idx;
89
+ }
90
+
91
+ function takeObject(idx) {
92
+ const ret = getObject(idx);
93
+ dropObject(idx);
94
+ return ret;
95
+ }
96
+
97
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
98
+
99
+ cachedTextDecoder.decode();
100
+
101
+ function getStringFromWasm0(ptr, len) {
102
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
103
+ }
104
+
105
+ function addHeapObject(obj) {
106
+ if (heap_next === heap.length) heap.push(heap.length + 1);
107
+ const idx = heap_next;
108
+ heap_next = heap[idx];
109
+
110
+ heap[idx] = obj;
111
+ return idx;
112
+ }
113
+
114
114
  function debugString(val) {
115
115
  // primitive types
116
116
  const type = typeof val;
@@ -176,6 +176,10 @@ function debugString(val) {
176
176
  return className;
177
177
  }
178
178
 
179
+ const u32CvtShim = new Uint32Array(2);
180
+
181
+ const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
182
+
179
183
  function _assertClass(instance, klass) {
180
184
  if (!(instance instanceof klass)) {
181
185
  throw new Error(`expected instance of ${klass.name}`);
@@ -195,10 +199,6 @@ function getFloat64Memory0() {
195
199
  return cachegetFloat64Memory0;
196
200
  }
197
201
 
198
- const u32CvtShim = new Uint32Array(2);
199
-
200
- const uint64CvtShim = new BigUint64Array(u32CvtShim.buffer);
201
-
202
202
  let cachegetUint32Memory0 = null;
203
203
  function getUint32Memory0() {
204
204
  if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {
@@ -228,58 +228,19 @@ function getUint16Memory0() {
228
228
  function getArrayU16FromWasm0(ptr, len) {
229
229
  return getUint16Memory0().subarray(ptr / 2, ptr / 2 + len);
230
230
  }
231
- /**
232
- * @param {Gear} gear
233
- * @returns {boolean}
234
- */
235
- module.exports.air_squadron_can_equip = function(gear) {
236
- _assertClass(gear, Gear);
237
- const ret = wasm.air_squadron_can_equip(gear.ptr);
238
- return ret !== 0;
239
- };
240
-
241
- /**
242
- * @param {OrgType} org_type
243
- * @returns {boolean}
244
- */
245
- module.exports.org_type_is_single = function(org_type) {
246
- const ret = wasm.org_type_is_single(addHeapObject(org_type));
247
- return ret !== 0;
248
- };
249
-
250
- /**
251
- * @param {OrgType} org_type
252
- * @returns {Formation}
253
- */
254
- module.exports.org_type_default_formation = function(org_type) {
255
- const ret = wasm.org_type_default_formation(addHeapObject(org_type));
256
- return takeObject(ret);
257
- };
258
-
259
- /**
260
- * @param {OrgType} org_type
261
- * @returns {boolean}
262
- */
263
- module.exports.org_type_is_player = function(org_type) {
264
- const ret = wasm.org_type_is_player(addHeapObject(org_type));
265
- return ret !== 0;
266
- };
267
-
268
- /**
269
- * @param {OrgType} org_type
270
- * @returns {Side}
271
- */
272
- module.exports.org_type_side = function(org_type) {
273
- const ret = wasm.org_type_side(addHeapObject(org_type));
274
- return takeObject(ret);
275
- };
276
-
277
231
  /**
278
232
  */
279
233
  module.exports.set_panic_hook = function() {
280
234
  wasm.set_panic_hook();
281
235
  };
282
236
 
237
+ function passArray16ToWasm0(arg, malloc) {
238
+ const ptr = malloc(arg.length * 2);
239
+ getUint16Memory0().set(arg, ptr / 2);
240
+ WASM_VECTOR_LEN = arg.length;
241
+ return ptr;
242
+ }
243
+
283
244
  function getArrayU8FromWasm0(ptr, len) {
284
245
  return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
285
246
  }
@@ -291,13 +252,6 @@ function passArray8ToWasm0(arg, malloc) {
291
252
  return ptr;
292
253
  }
293
254
 
294
- function passArray16ToWasm0(arg, malloc) {
295
- const ptr = malloc(arg.length * 2);
296
- getUint16Memory0().set(arg, ptr / 2);
297
- WASM_VECTOR_LEN = arg.length;
298
- return ptr;
299
- }
300
-
301
255
  function handleError(f, args) {
302
256
  try {
303
257
  return f.apply(this, args);
@@ -399,15 +353,6 @@ class AirSquadron {
399
353
  return ret === 0 ? undefined : Gear.__wrap(ret);
400
354
  }
401
355
  /**
402
- * @param {Gear} gear
403
- * @returns {boolean}
404
- */
405
- can_equip(gear) {
406
- _assertClass(gear, Gear);
407
- const ret = wasm.airsquadron_can_equip(this.ptr, gear.ptr);
408
- return ret !== 0;
409
- }
410
- /**
411
356
  * @param {number} index
412
357
  * @returns {number}
413
358
  */
@@ -496,14 +441,14 @@ class Analyzer {
496
441
  /**
497
442
  * @param {Comp} comp
498
443
  * @param {Formation} formation
499
- * @param {number} adjusted_anti_air_resist
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, adjusted_anti_air_resist, fleet_anti_air_resist, aaci) {
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), adjusted_anti_air_resist, fleet_anti_air_resist, isLikeNone(aaci) ? 0xFFFFFF : aaci);
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
  /**
@@ -783,12 +728,12 @@ class Comp {
783
728
  return takeObject(ret);
784
729
  }
785
730
  /**
786
- * 艦隊対空値
731
+ * 艦隊防空値
787
732
  * @param {number} formation_mod
788
733
  * @returns {number}
789
734
  */
790
- fleet_anti_air(formation_mod) {
791
- const ret = wasm.comp_fleet_anti_air(this.ptr, formation_mod);
735
+ adjusted_anti_air(formation_mod) {
736
+ const ret = wasm.comp_adjusted_anti_air(this.ptr, formation_mod);
792
737
  return ret;
793
738
  }
794
739
  /**
@@ -1657,15 +1602,15 @@ class Gear {
1657
1602
  }
1658
1603
  /**
1659
1604
  */
1660
- get adjusted_anti_air_resistance() {
1661
- const ret = wasm.__wbg_get_gear_adjusted_anti_air_resistance(this.ptr);
1605
+ get ship_anti_air_resistance() {
1606
+ const ret = wasm.__wbg_get_gear_ship_anti_air_resistance(this.ptr);
1662
1607
  return ret;
1663
1608
  }
1664
1609
  /**
1665
1610
  * @param {number} arg0
1666
1611
  */
1667
- set adjusted_anti_air_resistance(arg0) {
1668
- wasm.__wbg_set_gear_adjusted_anti_air_resistance(this.ptr, arg0);
1612
+ set ship_anti_air_resistance(arg0) {
1613
+ wasm.__wbg_set_gear_ship_anti_air_resistance(this.ptr, arg0);
1669
1614
  }
1670
1615
  /**
1671
1616
  */
@@ -1754,7 +1699,7 @@ class Gear {
1754
1699
  * @returns {boolean}
1755
1700
  */
1756
1701
  has_proficiency() {
1757
- const ret = wasm.gear_has_proficiency(this.ptr);
1702
+ const ret = wasm.gear_can_be_deployed_to_land_base(this.ptr);
1758
1703
  return ret !== 0;
1759
1704
  }
1760
1705
  /**
@@ -1790,15 +1735,15 @@ class Gear {
1790
1735
  /**
1791
1736
  * @returns {number}
1792
1737
  */
1793
- fleet_anti_air() {
1794
- const ret = wasm.gear_fleet_anti_air(this.ptr);
1738
+ fleet_anti_air_mod() {
1739
+ const ret = wasm.gear_fleet_anti_air_mod(this.ptr);
1795
1740
  return ret;
1796
1741
  }
1797
1742
  /**
1798
1743
  * @returns {number}
1799
1744
  */
1800
- adjusted_anti_air() {
1801
- const ret = wasm.gear_adjusted_anti_air(this.ptr);
1745
+ ship_anti_air_mod() {
1746
+ const ret = wasm.gear_ship_anti_air_mod(this.ptr);
1802
1747
  return ret;
1803
1748
  }
1804
1749
  /**
@@ -1876,6 +1821,13 @@ class Gear {
1876
1821
  const ret = wasm.gear_expedition_bonus(this.ptr);
1877
1822
  return ret;
1878
1823
  }
1824
+ /**
1825
+ * @returns {boolean}
1826
+ */
1827
+ can_be_deployed_to_land_base() {
1828
+ const ret = wasm.gear_can_be_deployed_to_land_base(this.ptr);
1829
+ return ret !== 0;
1830
+ }
1879
1831
  }
1880
1832
  module.exports.Gear = Gear;
1881
1833
 
@@ -2053,15 +2005,15 @@ class IBonuses {
2053
2005
  }
2054
2006
  /**
2055
2007
  */
2056
- get adjusted_anti_air() {
2057
- const ret = wasm.__wbg_get_ibonuses_adjusted_anti_air(this.ptr);
2008
+ get ship_anti_air() {
2009
+ const ret = wasm.__wbg_get_ibonuses_ship_anti_air(this.ptr);
2058
2010
  return ret;
2059
2011
  }
2060
2012
  /**
2061
2013
  * @param {number} arg0
2062
2014
  */
2063
- set adjusted_anti_air(arg0) {
2064
- wasm.__wbg_set_ibonuses_adjusted_anti_air(this.ptr, arg0);
2015
+ set ship_anti_air(arg0) {
2016
+ wasm.__wbg_set_ibonuses_ship_anti_air(this.ptr, arg0);
2065
2017
  }
2066
2018
  /**
2067
2019
  */
@@ -3219,8 +3171,8 @@ class Ship {
3219
3171
  /**
3220
3172
  * @returns {number}
3221
3173
  */
3222
- fleet_anti_air() {
3223
- const ret = wasm.ship_fleet_anti_air(this.ptr);
3174
+ fleet_anti_air_mod() {
3175
+ const ret = wasm.ship_fleet_anti_air_mod(this.ptr);
3224
3176
  return ret;
3225
3177
  }
3226
3178
  /**
@@ -3329,15 +3281,6 @@ class Ship {
3329
3281
  }
3330
3282
  module.exports.Ship = Ship;
3331
3283
 
3332
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
3333
- const ret = getStringFromWasm0(arg0, arg1);
3334
- return addHeapObject(ret);
3335
- };
3336
-
3337
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
3338
- takeObject(arg0);
3339
- };
3340
-
3341
3284
  module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
3342
3285
  const obj = getObject(arg1);
3343
3286
  const ret = JSON.stringify(obj === undefined ? null : obj);
@@ -3347,6 +3290,15 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
3347
3290
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
3348
3291
  };
3349
3292
 
3293
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
3294
+ takeObject(arg0);
3295
+ };
3296
+
3297
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
3298
+ const ret = getStringFromWasm0(arg0, arg1);
3299
+ return addHeapObject(ret);
3300
+ };
3301
+
3350
3302
  module.exports.__wbindgen_json_parse = function(arg0, arg1) {
3351
3303
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
3352
3304
  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 comp_fleet_anti_air(a: number, b: number): number;
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 org_type_is_single(a: number): number;
118
- export function org_type_default_formation(a: number): number;
119
- export function org_type_is_player(a: number): number;
120
- export function org_type_side(a: number): number;
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 __wbg_get_ibonuses_adjusted_anti_air(a: number): number;
149
- export function __wbg_set_ibonuses_adjusted_anti_air(a: number, b: number): void;
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 __wbg_get_gear_adjusted_anti_air_resistance(a: number): number;
206
- export function __wbg_set_gear_adjusted_anti_air_resistance(a: number, b: number): void;
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 gear_fleet_anti_air(a: number): number;
225
- export function gear_adjusted_anti_air(a: number): number;
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 __wbg_fhcore_free(a: number): void;
237
- export function fhcore_new(a: number, b: number, c: number): void;
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 ship_fleet_anti_air(a: number): number;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleethub-core",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {