fleethub-core 1.7.8 → 1.7.9
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 +274 -274
- package/node/fleethub_core.js +19 -19
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +8 -8
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +274 -274
- package/pkg/fleethub_core_bg.js +19 -19
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +8 -8
package/node/fleethub_core.js
CHANGED
|
@@ -164,11 +164,6 @@ function getUint16Memory0() {
|
|
|
164
164
|
function getArrayU16FromWasm0(ptr, len) {
|
|
165
165
|
return getUint16Memory0().subarray(ptr / 2, ptr / 2 + len);
|
|
166
166
|
}
|
|
167
|
-
/**
|
|
168
|
-
*/
|
|
169
|
-
module.exports.set_panic_hook = function() {
|
|
170
|
-
wasm.set_panic_hook();
|
|
171
|
-
};
|
|
172
167
|
|
|
173
168
|
function passArray16ToWasm0(arg, malloc) {
|
|
174
169
|
const ptr = malloc(arg.length * 2);
|
|
@@ -176,6 +171,11 @@ function passArray16ToWasm0(arg, malloc) {
|
|
|
176
171
|
WASM_VECTOR_LEN = arg.length;
|
|
177
172
|
return ptr;
|
|
178
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
*/
|
|
176
|
+
module.exports.set_panic_hook = function() {
|
|
177
|
+
wasm.set_panic_hook();
|
|
178
|
+
};
|
|
179
179
|
|
|
180
180
|
function getArrayU8FromWasm0(ptr, len) {
|
|
181
181
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
@@ -3216,12 +3216,7 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
|
3216
3216
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
3217
3217
|
};
|
|
3218
3218
|
|
|
3219
|
-
module.exports.
|
|
3220
|
-
const ret = Ship.__wrap(arg0);
|
|
3221
|
-
return addHeapObject(ret);
|
|
3222
|
-
};
|
|
3223
|
-
|
|
3224
|
-
module.exports.__wbg_createEquipmentBonuses_c498b0239c2956ed = function(arg0, arg1) {
|
|
3219
|
+
module.exports.__wbg_createEquipmentBonuses_29de633f86f1f239 = function(arg0, arg1) {
|
|
3225
3220
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
3226
3221
|
return addHeapObject(ret);
|
|
3227
3222
|
};
|
|
@@ -3231,6 +3226,11 @@ module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
|
3231
3226
|
return addHeapObject(ret);
|
|
3232
3227
|
};
|
|
3233
3228
|
|
|
3229
|
+
module.exports.__wbg_ship_new = function(arg0) {
|
|
3230
|
+
const ret = Ship.__wrap(arg0);
|
|
3231
|
+
return addHeapObject(ret);
|
|
3232
|
+
};
|
|
3233
|
+
|
|
3234
3234
|
module.exports.__wbg_new_693216e109162396 = function() {
|
|
3235
3235
|
const ret = new Error();
|
|
3236
3236
|
return addHeapObject(ret);
|
|
@@ -3252,6 +3252,14 @@ module.exports.__wbg_error_09919627ac0992f5 = function(arg0, arg1) {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
};
|
|
3254
3254
|
|
|
3255
|
+
module.exports.__wbg_randomFillSync_91e2b39becca6147 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3256
|
+
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
|
|
3257
|
+
}, arguments) };
|
|
3258
|
+
|
|
3259
|
+
module.exports.__wbg_getRandomValues_b14734aa289bc356 = function() { return handleError(function (arg0, arg1) {
|
|
3260
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
3261
|
+
}, arguments) };
|
|
3262
|
+
|
|
3255
3263
|
module.exports.__wbg_process_e56fd54cf6319b6c = function(arg0) {
|
|
3256
3264
|
const ret = getObject(arg0).process;
|
|
3257
3265
|
return addHeapObject(ret);
|
|
@@ -3298,14 +3306,6 @@ module.exports.__wbg_msCrypto_5a86d77a66230f81 = function(arg0) {
|
|
|
3298
3306
|
return addHeapObject(ret);
|
|
3299
3307
|
};
|
|
3300
3308
|
|
|
3301
|
-
module.exports.__wbg_getRandomValues_b14734aa289bc356 = function() { return handleError(function (arg0, arg1) {
|
|
3302
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
3303
|
-
}, arguments) };
|
|
3304
|
-
|
|
3305
|
-
module.exports.__wbg_randomFillSync_91e2b39becca6147 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3306
|
-
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
|
|
3307
|
-
}, arguments) };
|
|
3308
|
-
|
|
3309
3309
|
module.exports.__wbg_new_2ab697f1555e0dbc = function() {
|
|
3310
3310
|
const ret = new Array();
|
|
3311
3311
|
return addHeapObject(ret);
|
|
Binary file
|
|
@@ -97,6 +97,13 @@ export function ship_transport_point(a: number): number;
|
|
|
97
97
|
export function ship_elos(a: number, b: number, c: number): void;
|
|
98
98
|
export function ship_ohko_power(a: number, b: number): void;
|
|
99
99
|
export function ship_take_damage(a: number, b: number): void;
|
|
100
|
+
export function __wbg_analyzer_free(a: number): void;
|
|
101
|
+
export function analyzer_analyze_anti_air(a: number, b: number, c: number, d: number, e: number, f: number): number;
|
|
102
|
+
export function analyzer_analyze_day_cutin(a: number, b: number): number;
|
|
103
|
+
export function analyzer_analyze_night_cutin(a: number, b: number, c: number, d: number): number;
|
|
104
|
+
export function analyzer_analyze_contact_chance(a: number, b: number): number;
|
|
105
|
+
export function analyzer_analyze_warfare(a: number, b: number, c: number, d: number): number;
|
|
106
|
+
export function analyzer_analyze_fleet_cutin(a: number, b: number, c: number): number;
|
|
100
107
|
export function __wbg_org_free(a: number): void;
|
|
101
108
|
export function __wbg_get_org_id(a: number, b: number): void;
|
|
102
109
|
export function __wbg_set_org_id(a: number, b: number, c: number): void;
|
|
@@ -136,13 +143,6 @@ export function org_interception_power(a: number): number;
|
|
|
136
143
|
export function org_high_altitude_interception_power(a: number): number;
|
|
137
144
|
export function org_create_warfare_ship_environment(a: number, b: number, c: number): number;
|
|
138
145
|
export function org_default(): number;
|
|
139
|
-
export function __wbg_analyzer_free(a: number): void;
|
|
140
|
-
export function analyzer_analyze_anti_air(a: number, b: number, c: number, d: number, e: number, f: number): number;
|
|
141
|
-
export function analyzer_analyze_day_cutin(a: number, b: number): number;
|
|
142
|
-
export function analyzer_analyze_night_cutin(a: number, b: number, c: number, d: number): number;
|
|
143
|
-
export function analyzer_analyze_contact_chance(a: number, b: number): number;
|
|
144
|
-
export function analyzer_analyze_warfare(a: number, b: number, c: number, d: number): number;
|
|
145
|
-
export function analyzer_analyze_fleet_cutin(a: number, b: number, c: number): number;
|
|
146
146
|
export function __wbg_comp_free(a: number): void;
|
|
147
147
|
export function __wbg_get_comp_org_type(a: number): number;
|
|
148
148
|
export function __wbg_set_comp_org_type(a: number, b: number): void;
|
|
@@ -222,10 +222,10 @@ export function fhcore_create_comp_by_map_enemy(a: number, b: number, c: number,
|
|
|
222
222
|
export function fhcore_create_default_ship(a: number): number;
|
|
223
223
|
export function fhcore_create_analyzer(a: number): number;
|
|
224
224
|
export function fhcore_simulate_shelling_support(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
225
|
-
export function set_panic_hook(): void;
|
|
226
225
|
export function ship_state_day_gunfit_accuracy(a: number, b: number): void;
|
|
227
226
|
export function ship_state_night_gunfit_accuracy(a: number, b: number): void;
|
|
228
227
|
export function ship_gunfit_accuracy(a: number, b: number): number;
|
|
228
|
+
export function set_panic_hook(): void;
|
|
229
229
|
export function __wbg_ibonuses_free(a: number): void;
|
|
230
230
|
export function __wbg_get_ibonuses_shelling_power(a: number): number;
|
|
231
231
|
export function __wbg_set_ibonuses_shelling_power(a: number, b: number): void;
|