fleethub-core 1.10.15 → 1.10.16

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.
@@ -4,7 +4,7 @@ let wasm;
4
4
  const { createEquipmentBonuses } = require(`equipment-bonus`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
- const heap = new Array(32).fill(undefined);
7
+ const heap = new Array(128).fill(undefined);
8
8
 
9
9
  heap.push(undefined, null, true, false);
10
10
 
@@ -21,26 +21,14 @@ function addHeapObject(obj) {
21
21
  return idx;
22
22
  }
23
23
 
24
- function dropObject(idx) {
25
- if (idx < 36) return;
26
- heap[idx] = heap_next;
27
- heap_next = idx;
28
- }
29
-
30
- function takeObject(idx) {
31
- const ret = getObject(idx);
32
- dropObject(idx);
33
- return ret;
34
- }
35
-
36
24
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
37
25
 
38
26
  cachedTextDecoder.decode();
39
27
 
40
- let cachedUint8Memory0 = new Uint8Array();
28
+ let cachedUint8Memory0 = null;
41
29
 
42
30
  function getUint8Memory0() {
43
- if (cachedUint8Memory0.byteLength === 0) {
31
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
44
32
  cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
45
33
  }
46
34
  return cachedUint8Memory0;
@@ -50,6 +38,18 @@ function getStringFromWasm0(ptr, len) {
50
38
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
51
39
  }
52
40
 
41
+ function dropObject(idx) {
42
+ if (idx < 132) return;
43
+ heap[idx] = heap_next;
44
+ heap_next = idx;
45
+ }
46
+
47
+ function takeObject(idx) {
48
+ const ret = getObject(idx);
49
+ dropObject(idx);
50
+ return ret;
51
+ }
52
+
53
53
  let WASM_VECTOR_LEN = 0;
54
54
 
55
55
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -109,35 +109,19 @@ function isLikeNone(x) {
109
109
  return x === undefined || x === null;
110
110
  }
111
111
 
112
- let cachedInt32Memory0 = new Int32Array();
112
+ let cachedInt32Memory0 = null;
113
113
 
114
114
  function getInt32Memory0() {
115
- if (cachedInt32Memory0.byteLength === 0) {
115
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
116
116
  cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
117
117
  }
118
118
  return cachedInt32Memory0;
119
119
  }
120
120
 
121
- function _assertClass(instance, klass) {
122
- if (!(instance instanceof klass)) {
123
- throw new Error(`expected instance of ${klass.name}`);
124
- }
125
- return instance.ptr;
126
- }
127
-
128
- let cachedFloat64Memory0 = new Float64Array();
129
-
130
- function getFloat64Memory0() {
131
- if (cachedFloat64Memory0.byteLength === 0) {
132
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
133
- }
134
- return cachedFloat64Memory0;
135
- }
136
-
137
- let cachedUint16Memory0 = new Uint16Array();
121
+ let cachedUint16Memory0 = null;
138
122
 
139
123
  function getUint16Memory0() {
140
- if (cachedUint16Memory0.byteLength === 0) {
124
+ if (cachedUint16Memory0 === null || cachedUint16Memory0.byteLength === 0) {
141
125
  cachedUint16Memory0 = new Uint16Array(wasm.memory.buffer);
142
126
  }
143
127
  return cachedUint16Memory0;
@@ -150,10 +134,26 @@ function passArray16ToWasm0(arg, malloc) {
150
134
  return ptr;
151
135
  }
152
136
 
153
- let cachedUint32Memory0 = new Uint32Array();
137
+ function _assertClass(instance, klass) {
138
+ if (!(instance instanceof klass)) {
139
+ throw new Error(`expected instance of ${klass.name}`);
140
+ }
141
+ return instance.ptr;
142
+ }
143
+
144
+ let cachedFloat64Memory0 = null;
145
+
146
+ function getFloat64Memory0() {
147
+ if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
148
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
149
+ }
150
+ return cachedFloat64Memory0;
151
+ }
152
+
153
+ let cachedUint32Memory0 = null;
154
154
 
155
155
  function getUint32Memory0() {
156
- if (cachedUint32Memory0.byteLength === 0) {
156
+ if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
157
157
  cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
158
158
  }
159
159
  return cachedUint32Memory0;
@@ -489,8 +489,7 @@ class Comp {
489
489
  */
490
490
  set main(arg0) {
491
491
  _assertClass(arg0, Fleet);
492
- var ptr0 = arg0.ptr;
493
- arg0.ptr = 0;
492
+ var ptr0 = arg0.__destroy_into_raw();
494
493
  wasm.__wbg_set_comp_main(this.ptr, ptr0);
495
494
  }
496
495
  /**
@@ -507,8 +506,7 @@ class Comp {
507
506
  let ptr0 = 0;
508
507
  if (!isLikeNone(arg0)) {
509
508
  _assertClass(arg0, Fleet);
510
- ptr0 = arg0.ptr;
511
- arg0.ptr = 0;
509
+ ptr0 = arg0.__destroy_into_raw();
512
510
  }
513
511
  wasm.__wbg_set_comp_escort(this.ptr, ptr0);
514
512
  }
@@ -526,8 +524,7 @@ class Comp {
526
524
  let ptr0 = 0;
527
525
  if (!isLikeNone(arg0)) {
528
526
  _assertClass(arg0, Fleet);
529
- ptr0 = arg0.ptr;
530
- arg0.ptr = 0;
527
+ ptr0 = arg0.__destroy_into_raw();
531
528
  }
532
529
  wasm.__wbg_set_comp_route_sup(this.ptr, ptr0);
533
530
  }
@@ -545,8 +542,7 @@ class Comp {
545
542
  let ptr0 = 0;
546
543
  if (!isLikeNone(arg0)) {
547
544
  _assertClass(arg0, Fleet);
548
- ptr0 = arg0.ptr;
549
- arg0.ptr = 0;
545
+ ptr0 = arg0.__destroy_into_raw();
550
546
  }
551
547
  wasm.__wbg_set_comp_boss_sup(this.ptr, ptr0);
552
548
  }
@@ -2060,6 +2056,43 @@ class Ship {
2060
2056
  wasm.__wbg_ship_free(ptr);
2061
2057
  }
2062
2058
  /**
2059
+ * @returns {number | undefined}
2060
+ */
2061
+ state_day_gunfit_accuracy() {
2062
+ try {
2063
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2064
+ wasm.ship_state_day_gunfit_accuracy(retptr, this.ptr);
2065
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
2066
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
2067
+ return r0 === 0 ? undefined : r2;
2068
+ } finally {
2069
+ wasm.__wbindgen_add_to_stack_pointer(16);
2070
+ }
2071
+ }
2072
+ /**
2073
+ * @returns {number | undefined}
2074
+ */
2075
+ state_night_gunfit_accuracy() {
2076
+ try {
2077
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2078
+ wasm.ship_state_night_gunfit_accuracy(retptr, this.ptr);
2079
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
2080
+ var r2 = getFloat64Memory0()[retptr / 8 + 1];
2081
+ return r0 === 0 ? undefined : r2;
2082
+ } finally {
2083
+ wasm.__wbindgen_add_to_stack_pointer(16);
2084
+ }
2085
+ }
2086
+ /**
2087
+ * フィット砲補正
2088
+ * @param {boolean} is_night
2089
+ * @returns {number}
2090
+ */
2091
+ gunfit_accuracy(is_night) {
2092
+ const ret = wasm.ship_gunfit_accuracy(this.ptr, is_night);
2093
+ return ret;
2094
+ }
2095
+ /**
2063
2096
  * @returns {string}
2064
2097
  */
2065
2098
  get id() {
@@ -2835,43 +2868,6 @@ class Ship {
2835
2868
  wasm.__wbindgen_add_to_stack_pointer(16);
2836
2869
  }
2837
2870
  }
2838
- /**
2839
- * @returns {number | undefined}
2840
- */
2841
- state_day_gunfit_accuracy() {
2842
- try {
2843
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2844
- wasm.ship_state_day_gunfit_accuracy(retptr, this.ptr);
2845
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2846
- var r2 = getFloat64Memory0()[retptr / 8 + 1];
2847
- return r0 === 0 ? undefined : r2;
2848
- } finally {
2849
- wasm.__wbindgen_add_to_stack_pointer(16);
2850
- }
2851
- }
2852
- /**
2853
- * @returns {number | undefined}
2854
- */
2855
- state_night_gunfit_accuracy() {
2856
- try {
2857
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2858
- wasm.ship_state_night_gunfit_accuracy(retptr, this.ptr);
2859
- var r0 = getInt32Memory0()[retptr / 4 + 0];
2860
- var r2 = getFloat64Memory0()[retptr / 8 + 1];
2861
- return r0 === 0 ? undefined : r2;
2862
- } finally {
2863
- wasm.__wbindgen_add_to_stack_pointer(16);
2864
- }
2865
- }
2866
- /**
2867
- * フィット砲補正
2868
- * @param {boolean} is_night
2869
- * @returns {number}
2870
- */
2871
- gunfit_accuracy(is_night) {
2872
- const ret = wasm.ship_gunfit_accuracy(this.ptr, is_night);
2873
- return ret;
2874
- }
2875
2871
  }
2876
2872
  module.exports.Ship = Ship;
2877
2873
 
@@ -2880,16 +2876,16 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
2880
2876
  return addHeapObject(ret);
2881
2877
  };
2882
2878
 
2883
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
2884
- takeObject(arg0);
2885
- };
2886
-
2887
2879
  module.exports.__wbindgen_string_new = function(arg0, arg1) {
2888
2880
  const ret = getStringFromWasm0(arg0, arg1);
2889
2881
  return addHeapObject(ret);
2890
2882
  };
2891
2883
 
2892
- module.exports.__wbg_createEquipmentBonuses_1ee1062465254d3d = function(arg0, arg1) {
2884
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2885
+ takeObject(arg0);
2886
+ };
2887
+
2888
+ module.exports.__wbg_createEquipmentBonuses_8a4c29540f31b347 = function(arg0, arg1) {
2893
2889
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2894
2890
  return addHeapObject(ret);
2895
2891
  };
@@ -2925,6 +2921,14 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
2925
2921
  }
2926
2922
  };
2927
2923
 
2924
+ module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
2925
+ getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
2926
+ }, arguments) };
2927
+
2928
+ module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
2929
+ getObject(arg0).getRandomValues(getObject(arg1));
2930
+ }, arguments) };
2931
+
2928
2932
  module.exports.__wbg_crypto_e1d53a1d73fb10b8 = function(arg0) {
2929
2933
  const ret = getObject(arg0).crypto;
2930
2934
  return addHeapObject(ret);
@@ -2971,25 +2975,17 @@ module.exports.__wbindgen_is_function = function(arg0) {
2971
2975
  return ret;
2972
2976
  };
2973
2977
 
2974
- module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
2975
- getObject(arg0).getRandomValues(getObject(arg1));
2976
- }, arguments) };
2977
-
2978
- module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
2979
- getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
2980
- }, arguments) };
2981
-
2982
- module.exports.__wbg_new_1d9a920c6bfc44a8 = function() {
2978
+ module.exports.__wbg_new_b525de17f44a8943 = function() {
2983
2979
  const ret = new Array();
2984
2980
  return addHeapObject(ret);
2985
2981
  };
2986
2982
 
2987
- module.exports.__wbg_newnoargs_b5b063fc6c2f0376 = function(arg0, arg1) {
2983
+ module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) {
2988
2984
  const ret = new Function(getStringFromWasm0(arg0, arg1));
2989
2985
  return addHeapObject(ret);
2990
2986
  };
2991
2987
 
2992
- module.exports.__wbg_call_97ae9d8645dc388b = function() { return handleError(function (arg0, arg1) {
2988
+ module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
2993
2989
  const ret = getObject(arg0).call(getObject(arg1));
2994
2990
  return addHeapObject(ret);
2995
2991
  }, arguments) };
@@ -3003,71 +2999,71 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
3003
2999
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
3004
3000
  };
3005
3001
 
3006
- module.exports.__wbg_self_6d479506f72c6a71 = function() { return handleError(function () {
3002
+ module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
3007
3003
  const ret = self.self;
3008
3004
  return addHeapObject(ret);
3009
3005
  }, arguments) };
3010
3006
 
3011
- module.exports.__wbg_window_f2557cc78490aceb = function() { return handleError(function () {
3007
+ module.exports.__wbg_window_a09ec664e14b1b81 = function() { return handleError(function () {
3012
3008
  const ret = window.window;
3013
3009
  return addHeapObject(ret);
3014
3010
  }, arguments) };
3015
3011
 
3016
- module.exports.__wbg_globalThis_7f206bda628d5286 = function() { return handleError(function () {
3012
+ module.exports.__wbg_globalThis_87cbb8506fecf3a9 = function() { return handleError(function () {
3017
3013
  const ret = globalThis.globalThis;
3018
3014
  return addHeapObject(ret);
3019
3015
  }, arguments) };
3020
3016
 
3021
- module.exports.__wbg_global_ba75c50d1cf384f4 = function() { return handleError(function () {
3017
+ module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(function () {
3022
3018
  const ret = global.global;
3023
3019
  return addHeapObject(ret);
3024
3020
  }, arguments) };
3025
3021
 
3026
- module.exports.__wbg_push_740e4b286702d964 = function(arg0, arg1) {
3022
+ module.exports.__wbg_push_49c286f04dd3bf59 = function(arg0, arg1) {
3027
3023
  const ret = getObject(arg0).push(getObject(arg1));
3028
3024
  return ret;
3029
3025
  };
3030
3026
 
3031
- module.exports.__wbg_call_168da88779e35f61 = function() { return handleError(function (arg0, arg1, arg2) {
3027
+ module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
3032
3028
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
3033
3029
  return addHeapObject(ret);
3034
3030
  }, arguments) };
3035
3031
 
3036
- module.exports.__wbg_buffer_3f3d764d4747d564 = function(arg0) {
3032
+ module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
3037
3033
  const ret = getObject(arg0).buffer;
3038
3034
  return addHeapObject(ret);
3039
3035
  };
3040
3036
 
3041
- module.exports.__wbg_new_8c3f0052272a457a = function(arg0) {
3037
+ module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
3042
3038
  const ret = new Uint8Array(getObject(arg0));
3043
3039
  return addHeapObject(ret);
3044
3040
  };
3045
3041
 
3046
- module.exports.__wbg_set_83db9690f9353e79 = function(arg0, arg1, arg2) {
3042
+ module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
3047
3043
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
3048
3044
  };
3049
3045
 
3050
- module.exports.__wbg_length_9e1ae1900cb0fbd5 = function(arg0) {
3046
+ module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
3051
3047
  const ret = getObject(arg0).length;
3052
3048
  return ret;
3053
3049
  };
3054
3050
 
3055
- module.exports.__wbg_newwithlength_f5933855e4f48a19 = function(arg0) {
3051
+ module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
3056
3052
  const ret = new Uint8Array(arg0 >>> 0);
3057
3053
  return addHeapObject(ret);
3058
3054
  };
3059
3055
 
3060
- module.exports.__wbg_subarray_58ad4efbb5bcb886 = function(arg0, arg1, arg2) {
3056
+ module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
3061
3057
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
3062
3058
  return addHeapObject(ret);
3063
3059
  };
3064
3060
 
3065
- module.exports.__wbg_parse_e23be3fecd886e2a = function() { return handleError(function (arg0, arg1) {
3061
+ module.exports.__wbg_parse_3ac95b51fc312db8 = function() { return handleError(function (arg0, arg1) {
3066
3062
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
3067
3063
  return addHeapObject(ret);
3068
3064
  }, arguments) };
3069
3065
 
3070
- module.exports.__wbg_stringify_d6471d300ded9b68 = function() { return handleError(function (arg0) {
3066
+ module.exports.__wbg_stringify_029a979dfb73aa17 = function() { return handleError(function (arg0) {
3071
3067
  const ret = JSON.stringify(getObject(arg0));
3072
3068
  return addHeapObject(ret);
3073
3069
  }, arguments) };
Binary file
@@ -1,6 +1,18 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export function __wbg_fhcore_free(a: number): void;
5
+ export function fhcore_new(a: number, b: number): void;
6
+ export function fhcore_create_gear(a: number, b: number): number;
7
+ export function fhcore_create_ship(a: number, b: number): number;
8
+ export function fhcore_create_air_squadron(a: number, b: number): number;
9
+ export function fhcore_create_fleet(a: number, b: number): number;
10
+ export function fhcore_create_org(a: number, b: number): number;
11
+ export function fhcore_create_ship_by_id(a: number, b: number): number;
12
+ export function fhcore_create_all_ships(a: number): number;
13
+ export function fhcore_create_comp_by_map_enemy(a: number, b: number, c: number, d: number, e: number): number;
14
+ export function fhcore_create_default_ship(a: number): number;
15
+ export function fhcore_create_analyzer(a: number): number;
4
16
  export function __wbg_comp_free(a: number): void;
5
17
  export function __wbg_get_comp_org_type(a: number): number;
6
18
  export function __wbg_get_comp_hq_level(a: number): number;
@@ -31,18 +43,9 @@ export function comp_elos(a: number, b: number, c: number): void;
31
43
  export function comp_transport_point(a: number): number;
32
44
  export function comp_get_ship_conditions(a: number, b: number, c: number): number;
33
45
  export function comp_fleet_los_mod(a: number, b: number, c: number): void;
34
- export function __wbg_fhcore_free(a: number): void;
35
- export function fhcore_new(a: number, b: number): void;
36
- export function fhcore_create_gear(a: number, b: number): number;
37
- export function fhcore_create_ship(a: number, b: number): number;
38
- export function fhcore_create_air_squadron(a: number, b: number): number;
39
- export function fhcore_create_fleet(a: number, b: number): number;
40
- export function fhcore_create_org(a: number, b: number): number;
41
- export function fhcore_create_ship_by_id(a: number, b: number): number;
42
- export function fhcore_create_all_ships(a: number): number;
43
- export function fhcore_create_comp_by_map_enemy(a: number, b: number, c: number, d: number, e: number): number;
44
- export function fhcore_create_default_ship(a: number): number;
45
- export function fhcore_create_analyzer(a: number): number;
46
+ export function ship_state_day_gunfit_accuracy(a: number, b: number): void;
47
+ export function ship_state_night_gunfit_accuracy(a: number, b: number): void;
48
+ export function ship_gunfit_accuracy(a: number, b: number): number;
46
49
  export function __wbg_org_free(a: number): void;
47
50
  export function __wbg_get_org_id(a: number, b: number): void;
48
51
  export function __wbg_set_org_id(a: number, b: number, c: number): void;
@@ -168,9 +171,6 @@ export function ship_basic_defense_power(a: number, b: number, c: number): void;
168
171
  export function ship_transport_point(a: number): number;
169
172
  export function ship_elos(a: number, b: number, c: number): void;
170
173
  export function ship_ohko_power(a: number, b: number): void;
171
- export function ship_state_day_gunfit_accuracy(a: number, b: number): void;
172
- export function ship_state_night_gunfit_accuracy(a: number, b: number): void;
173
- export function ship_gunfit_accuracy(a: number, b: number): number;
174
174
  export function __wbg_analyzer_free(a: number): void;
175
175
  export function analyzer_analyze_ship_attack(a: number, b: number, c: number, d: number, e: number): number;
176
176
  export function analyzer_analyze_node_attack(a: number, b: number, c: number, d: number, e: number, f: number): number;
@@ -178,6 +178,19 @@ export function analyzer_analyze_comp(a: number, b: number, c: number): number;
178
178
  export function analyzer_simulate_support_shelling(a: number, b: number, c: number, d: number, e: number, f: number): void;
179
179
  export function parse_ship_conditions(a: number): number;
180
180
  export function set_panic_hook(): void;
181
+ export function __wbg_airsquadron_free(a: number): void;
182
+ export function __wbg_get_airsquadron_id(a: number, b: number): void;
183
+ export function __wbg_set_airsquadron_id(a: number, b: number, c: number): void;
184
+ export function __wbg_get_airsquadron_hash(a: number): number;
185
+ export function __wbg_set_airsquadron_hash(a: number, b: number): void;
186
+ export function __wbg_get_airsquadron_mode(a: number): number;
187
+ export function __wbg_set_airsquadron_mode(a: number, b: number): void;
188
+ export function airsquadron_get_gear(a: number, b: number, c: number): number;
189
+ export function airsquadron_get_slot_size(a: number, b: number, c: number): void;
190
+ export function airsquadron_get_max_slot_size(a: number, b: number, c: number): void;
191
+ export function airsquadron_fighter_power(a: number): number;
192
+ export function airsquadron_interception_power(a: number): number;
193
+ export function airsquadron_radius(a: number): number;
181
194
  export function __wbg_fleet_free(a: number): void;
182
195
  export function __wbg_get_fleet_id(a: number, b: number): void;
183
196
  export function __wbg_set_fleet_id(a: number, b: number, c: number): void;
@@ -200,19 +213,6 @@ export function fleet_aviation_detection_score(a: number, b: number): void;
200
213
  export function fleet_expedition_bonus(a: number): number;
201
214
  export function fleet_sum_ship_stat_by(a: number, b: number, c: number, d: number): void;
202
215
  export function fleet_reset_battle_state(a: number): void;
203
- export function __wbg_airsquadron_free(a: number): void;
204
- export function __wbg_get_airsquadron_id(a: number, b: number): void;
205
- export function __wbg_set_airsquadron_id(a: number, b: number, c: number): void;
206
- export function __wbg_get_airsquadron_hash(a: number): number;
207
- export function __wbg_set_airsquadron_hash(a: number, b: number): void;
208
- export function __wbg_get_airsquadron_mode(a: number): number;
209
- export function __wbg_set_airsquadron_mode(a: number, b: number): void;
210
- export function airsquadron_get_gear(a: number, b: number, c: number): number;
211
- export function airsquadron_get_slot_size(a: number, b: number, c: number): void;
212
- export function airsquadron_get_max_slot_size(a: number, b: number, c: number): void;
213
- export function airsquadron_fighter_power(a: number): number;
214
- export function airsquadron_interception_power(a: number): number;
215
- export function airsquadron_radius(a: number): number;
216
216
  export function __wbg_gear_free(a: number): void;
217
217
  export function __wbg_get_gear_id(a: number, b: number): void;
218
218
  export function __wbg_set_gear_id(a: number, b: number, c: number): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleethub-core",
3
- "version": "1.10.15",
3
+ "version": "1.10.16",
4
4
  "license": "UNLICENSED",
5
5
  "sideEffects": false,
6
6
  "exports": {