fleethub-core 1.12.5 → 1.12.6

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.
@@ -127,6 +127,12 @@ function _assertClass(instance, klass) {
127
127
  }
128
128
  }
129
129
 
130
+ function takeFromExternrefTable0(idx) {
131
+ const value = wasm.__wbindgen_export_2.get(idx);
132
+ wasm.__externref_table_dealloc(idx);
133
+ return value;
134
+ }
135
+
130
136
  function getArrayU8FromWasm0(ptr, len) {
131
137
  ptr = ptr >>> 0;
132
138
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
@@ -139,12 +145,6 @@ function passArray8ToWasm0(arg, malloc) {
139
145
  return ptr;
140
146
  }
141
147
 
142
- function takeFromExternrefTable0(idx) {
143
- const value = wasm.__wbindgen_export_2.get(idx);
144
- wasm.__externref_table_dealloc(idx);
145
- return value;
146
- }
147
-
148
148
  let cachedUint16ArrayMemory0 = null;
149
149
 
150
150
  function getUint16ArrayMemory0() {
@@ -160,11 +160,6 @@ function passArray16ToWasm0(arg, malloc) {
160
160
  WASM_VECTOR_LEN = arg.length;
161
161
  return ptr;
162
162
  }
163
-
164
- export function set_panic_hook() {
165
- wasm.set_panic_hook();
166
- }
167
-
168
163
  /**
169
164
  * @param {ShipConditions} value
170
165
  * @returns {ShipConditions}
@@ -174,6 +169,10 @@ export function parse_ship_conditions(value) {
174
169
  return ret;
175
170
  }
176
171
 
172
+ export function set_panic_hook() {
173
+ wasm.set_panic_hook();
174
+ }
175
+
177
176
  function getArrayU16FromWasm0(ptr, len) {
178
177
  ptr = ptr >>> 0;
179
178
  return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
Binary file
@@ -95,6 +95,55 @@ export const ship_basic_defense_power: (a: number, b: number) => [number, number
95
95
  export const ship_transport_point: (a: number) => number;
96
96
  export const ship_elos: (a: number, b: number) => [number, number];
97
97
  export const ship_ohko_power: (a: number) => [number, number];
98
+ export const __wbg_airsquadron_free: (a: number, b: number) => void;
99
+ export const __wbg_get_airsquadron_id: (a: number) => [number, number];
100
+ export const __wbg_set_airsquadron_id: (a: number, b: number, c: number) => void;
101
+ export const __wbg_get_airsquadron_hash: (a: number) => bigint;
102
+ export const __wbg_set_airsquadron_hash: (a: number, b: bigint) => void;
103
+ export const __wbg_get_airsquadron_mode: (a: number) => any;
104
+ export const __wbg_set_airsquadron_mode: (a: number, b: any) => void;
105
+ export const airsquadron_get_gear: (a: number, b: number, c: number) => number;
106
+ export const airsquadron_get_slot_size: (a: number, b: number) => [number, number, number];
107
+ export const airsquadron_get_max_slot_size: (a: number, b: number) => [number, number, number];
108
+ export const airsquadron_fighter_power: (a: number) => number;
109
+ export const airsquadron_interception_power: (a: number) => number;
110
+ export const airsquadron_radius: (a: number) => number;
111
+ export const __wbg_analyzer_free: (a: number, b: number) => void;
112
+ export const analyzer_analyze_ship_attack: (a: number, b: any, c: number, d: number, e: number) => any;
113
+ export const analyzer_analyze_node_attack: (a: number, b: any, c: number, d: number, e: number, f: number) => any;
114
+ export const analyzer_analyze_comp: (a: number, b: number, c: any) => any;
115
+ export const analyzer_simulate_support_shelling: (a: number, b: number, c: number, d: any, e: number) => [number, number, number];
116
+ export const __wbg_comp_free: (a: number, b: number) => void;
117
+ export const __wbg_get_comp_org_type: (a: number) => any;
118
+ export const __wbg_get_comp_hq_level: (a: number) => number;
119
+ export const __wbg_get_comp_main: (a: number) => number;
120
+ export const __wbg_set_comp_main: (a: number, b: number) => void;
121
+ export const __wbg_get_comp_escort: (a: number) => number;
122
+ export const __wbg_set_comp_escort: (a: number, b: number) => void;
123
+ export const __wbg_get_comp_route_sup: (a: number) => number;
124
+ export const __wbg_set_comp_route_sup: (a: number, b: number) => void;
125
+ export const __wbg_get_comp_boss_sup: (a: number) => number;
126
+ export const __wbg_set_comp_boss_sup: (a: number, b: number) => void;
127
+ export const comp_side: (a: number) => any;
128
+ export const comp_is_combined: (a: number) => number;
129
+ export const comp_is_player: (a: number) => number;
130
+ export const comp_is_enemy: (a: number) => number;
131
+ export const comp_has_ship_eid: (a: number, b: number, c: number) => number;
132
+ export const comp_first_ship_id: (a: number) => [number, number];
133
+ export const comp_has_route_sup: (a: number) => number;
134
+ export const comp_meta: (a: number) => any;
135
+ export const comp_get_fleet_id: (a: number, b: any) => [number, number];
136
+ export const comp_get_ship_with_clone: (a: number, b: any, c: any) => number;
137
+ export const comp_get_ship_entity_id: (a: number, b: any, c: any) => [number, number];
138
+ export const comp_get_ship_by_eid_with_clone: (a: number, b: number, c: number) => number;
139
+ export const comp_default_formation: (a: number) => any;
140
+ export const comp_adjusted_anti_air: (a: number, b: number) => number;
141
+ export const comp_fighter_power: (a: number, b: number, c: any) => number;
142
+ export const comp_elos: (a: number, b: number) => [number, number];
143
+ export const comp_transport_point: (a: number) => number;
144
+ export const comp_get_ship_conditions: (a: number, b: number, c: number) => any;
145
+ export const comp_fleet_los_mod: (a: number, b: any) => [number, number];
146
+ export const comp_balloons: (a: number) => number;
98
147
  export const __wbg_gear_free: (a: number, b: number) => void;
99
148
  export const __wbg_get_gear_id: (a: number) => [number, number];
100
149
  export const __wbg_set_gear_id: (a: number, b: number, c: number) => void;
@@ -171,56 +220,6 @@ export const fhcore_create_all_ships: (a: number) => any;
171
220
  export const fhcore_create_comp_by_map_enemy: (a: number, b: number, c: number, d: number, e: number) => number;
172
221
  export const fhcore_create_default_ship: (a: number) => number;
173
222
  export const fhcore_create_analyzer: (a: number) => number;
174
- export const set_panic_hook: () => void;
175
- export const __wbg_airsquadron_free: (a: number, b: number) => void;
176
- export const __wbg_get_airsquadron_id: (a: number) => [number, number];
177
- export const __wbg_set_airsquadron_id: (a: number, b: number, c: number) => void;
178
- export const __wbg_get_airsquadron_hash: (a: number) => bigint;
179
- export const __wbg_set_airsquadron_hash: (a: number, b: bigint) => void;
180
- export const __wbg_get_airsquadron_mode: (a: number) => any;
181
- export const __wbg_set_airsquadron_mode: (a: number, b: any) => void;
182
- export const airsquadron_get_gear: (a: number, b: number, c: number) => number;
183
- export const airsquadron_get_slot_size: (a: number, b: number) => [number, number, number];
184
- export const airsquadron_get_max_slot_size: (a: number, b: number) => [number, number, number];
185
- export const airsquadron_fighter_power: (a: number) => number;
186
- export const airsquadron_interception_power: (a: number) => number;
187
- export const airsquadron_radius: (a: number) => number;
188
- export const __wbg_analyzer_free: (a: number, b: number) => void;
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];
193
- export const __wbg_comp_free: (a: number, b: number) => void;
194
- export const __wbg_get_comp_org_type: (a: number) => any;
195
- export const __wbg_get_comp_hq_level: (a: number) => number;
196
- export const __wbg_get_comp_main: (a: number) => number;
197
- export const __wbg_set_comp_main: (a: number, b: number) => void;
198
- export const __wbg_get_comp_escort: (a: number) => number;
199
- export const __wbg_set_comp_escort: (a: number, b: number) => void;
200
- export const __wbg_get_comp_route_sup: (a: number) => number;
201
- export const __wbg_set_comp_route_sup: (a: number, b: number) => void;
202
- export const __wbg_get_comp_boss_sup: (a: number) => number;
203
- export const __wbg_set_comp_boss_sup: (a: number, b: number) => void;
204
- export const comp_side: (a: number) => any;
205
- export const comp_is_combined: (a: number) => number;
206
- export const comp_is_player: (a: number) => number;
207
- export const comp_is_enemy: (a: number) => number;
208
- export const comp_has_ship_eid: (a: number, b: number, c: number) => number;
209
- export const comp_first_ship_id: (a: number) => [number, number];
210
- export const comp_has_route_sup: (a: number) => number;
211
- export const comp_meta: (a: number) => any;
212
- export const comp_get_fleet_id: (a: number, b: any) => [number, number];
213
- export const comp_get_ship_with_clone: (a: number, b: any, c: any) => number;
214
- export const comp_get_ship_entity_id: (a: number, b: any, c: any) => [number, number];
215
- export const comp_get_ship_by_eid_with_clone: (a: number, b: number, c: number) => number;
216
- export const comp_default_formation: (a: number) => any;
217
- export const comp_adjusted_anti_air: (a: number, b: number) => number;
218
- export const comp_fighter_power: (a: number, b: number, c: any) => number;
219
- export const comp_elos: (a: number, b: number) => [number, number];
220
- export const comp_transport_point: (a: number) => number;
221
- export const comp_get_ship_conditions: (a: number, b: number, c: number) => any;
222
- export const comp_fleet_los_mod: (a: number, b: any) => [number, number];
223
- export const comp_balloons: (a: number) => number;
224
223
  export const parse_ship_conditions: (a: any) => any;
225
224
  export const __wbg_fleet_free: (a: number, b: number) => void;
226
225
  export const __wbg_get_fleet_id: (a: number) => [number, number];
@@ -278,6 +277,7 @@ export const org_interception_power: (a: number) => number;
278
277
  export const org_high_altitude_interception_power: (a: number) => number;
279
278
  export const org_create_move_ship_payload: (a: number, b: number, c: number, d: number, e: number) => any;
280
279
  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;