fleethub-core 1.11.12 → 1.11.13
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 +13 -12
- package/node/fleethub_core.js +9 -9
- package/node/fleethub_core_bg.wasm +0 -0
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +13 -12
- package/pkg/fleethub_core_bg.js +9 -9
- package/pkg/fleethub_core_bg.wasm +0 -0
package/node/fleethub_core.d.ts
CHANGED
|
@@ -322,12 +322,23 @@ export type GearCategory =
|
|
|
322
322
|
| "LandBased"
|
|
323
323
|
| "Misc";
|
|
324
324
|
|
|
325
|
+
export type NodeId = string;
|
|
326
|
+
|
|
327
|
+
export interface NodeState {
|
|
328
|
+
map?: number;
|
|
329
|
+
node?: NodeId;
|
|
330
|
+
phase?: number;
|
|
331
|
+
debuff?: boolean;
|
|
332
|
+
disable_historical_mod?: boolean;
|
|
333
|
+
}
|
|
334
|
+
|
|
325
335
|
export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
326
336
|
|
|
327
337
|
export interface SupportShellingSimulatorParams {
|
|
328
338
|
attacker_formation?: Formation;
|
|
329
339
|
target_formation?: Formation;
|
|
330
340
|
engagement: Engagement;
|
|
341
|
+
node_state: NodeState;
|
|
331
342
|
}
|
|
332
343
|
|
|
333
344
|
export interface MasterShip {
|
|
@@ -431,6 +442,8 @@ export interface AttackAnalysis {
|
|
|
431
442
|
support_shelling: ActionReport<SupportShellingStyle>;
|
|
432
443
|
}
|
|
433
444
|
|
|
445
|
+
export type AirWaveType = "Jet" | "LandBase" | "Carrier";
|
|
446
|
+
|
|
434
447
|
export interface GearState {
|
|
435
448
|
id?: string;
|
|
436
449
|
gear_id: number;
|
|
@@ -447,16 +460,6 @@ export interface GearVecState {
|
|
|
447
460
|
gx?: GearState;
|
|
448
461
|
}
|
|
449
462
|
|
|
450
|
-
export type NodeId = string;
|
|
451
|
-
|
|
452
|
-
export interface NodeState {
|
|
453
|
-
map?: number;
|
|
454
|
-
node?: NodeId;
|
|
455
|
-
phase?: number;
|
|
456
|
-
debuff?: boolean;
|
|
457
|
-
disable_historical_mod?: boolean;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
463
|
export type FhResult<T> = { Ok: T } | { Err: string };
|
|
461
464
|
|
|
462
465
|
export interface MasterBattleDefinitions {
|
|
@@ -467,8 +470,6 @@ export interface MasterBattleDefinitions {
|
|
|
467
470
|
historical_bonuses?: HistoricalBonusDef[];
|
|
468
471
|
}
|
|
469
472
|
|
|
470
|
-
export type AirWaveType = "Jet" | "LandBase" | "Carrier";
|
|
471
|
-
|
|
472
473
|
export interface BattleConditions {
|
|
473
474
|
org_type: OrgType;
|
|
474
475
|
role: Role;
|
package/node/fleethub_core.js
CHANGED
|
@@ -2919,7 +2919,7 @@ class Ship {
|
|
|
2919
2919
|
}
|
|
2920
2920
|
module.exports.Ship = Ship;
|
|
2921
2921
|
|
|
2922
|
-
module.exports.
|
|
2922
|
+
module.exports.__wbg_createEquipmentBonuses_688b0d977a195ffc = function(arg0, arg1) {
|
|
2923
2923
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2924
2924
|
return addHeapObject(ret);
|
|
2925
2925
|
};
|
|
@@ -2973,14 +2973,6 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
2973
2973
|
}
|
|
2974
2974
|
};
|
|
2975
2975
|
|
|
2976
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
2977
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
2978
|
-
}, arguments) };
|
|
2979
|
-
|
|
2980
|
-
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
2981
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
2982
|
-
}, arguments) };
|
|
2983
|
-
|
|
2984
2976
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
2985
2977
|
const ret = getObject(arg0).crypto;
|
|
2986
2978
|
return addHeapObject(ret);
|
|
@@ -3027,6 +3019,14 @@ module.exports.__wbindgen_is_function = function(arg0) {
|
|
|
3027
3019
|
return ret;
|
|
3028
3020
|
};
|
|
3029
3021
|
|
|
3022
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
3023
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
3024
|
+
}, arguments) };
|
|
3025
|
+
|
|
3026
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
3027
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
3028
|
+
}, arguments) };
|
|
3029
|
+
|
|
3030
3030
|
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
3031
3031
|
const ret = new Array();
|
|
3032
3032
|
return addHeapObject(ret);
|
|
Binary file
|
package/package.json
CHANGED
package/pkg/fleethub_core.d.ts
CHANGED
|
@@ -322,12 +322,23 @@ export type GearCategory =
|
|
|
322
322
|
| "LandBased"
|
|
323
323
|
| "Misc";
|
|
324
324
|
|
|
325
|
+
export type NodeId = string;
|
|
326
|
+
|
|
327
|
+
export interface NodeState {
|
|
328
|
+
map?: number;
|
|
329
|
+
node?: NodeId;
|
|
330
|
+
phase?: number;
|
|
331
|
+
debuff?: boolean;
|
|
332
|
+
disable_historical_mod?: boolean;
|
|
333
|
+
}
|
|
334
|
+
|
|
325
335
|
export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
326
336
|
|
|
327
337
|
export interface SupportShellingSimulatorParams {
|
|
328
338
|
attacker_formation?: Formation;
|
|
329
339
|
target_formation?: Formation;
|
|
330
340
|
engagement: Engagement;
|
|
341
|
+
node_state: NodeState;
|
|
331
342
|
}
|
|
332
343
|
|
|
333
344
|
export interface MasterShip {
|
|
@@ -431,6 +442,8 @@ export interface AttackAnalysis {
|
|
|
431
442
|
support_shelling: ActionReport<SupportShellingStyle>;
|
|
432
443
|
}
|
|
433
444
|
|
|
445
|
+
export type AirWaveType = "Jet" | "LandBase" | "Carrier";
|
|
446
|
+
|
|
434
447
|
export interface GearState {
|
|
435
448
|
id?: string;
|
|
436
449
|
gear_id: number;
|
|
@@ -447,16 +460,6 @@ export interface GearVecState {
|
|
|
447
460
|
gx?: GearState;
|
|
448
461
|
}
|
|
449
462
|
|
|
450
|
-
export type NodeId = string;
|
|
451
|
-
|
|
452
|
-
export interface NodeState {
|
|
453
|
-
map?: number;
|
|
454
|
-
node?: NodeId;
|
|
455
|
-
phase?: number;
|
|
456
|
-
debuff?: boolean;
|
|
457
|
-
disable_historical_mod?: boolean;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
463
|
export type FhResult<T> = { Ok: T } | { Err: string };
|
|
461
464
|
|
|
462
465
|
export interface MasterBattleDefinitions {
|
|
@@ -467,8 +470,6 @@ export interface MasterBattleDefinitions {
|
|
|
467
470
|
historical_bonuses?: HistoricalBonusDef[];
|
|
468
471
|
}
|
|
469
472
|
|
|
470
|
-
export type AirWaveType = "Jet" | "LandBase" | "Carrier";
|
|
471
|
-
|
|
472
473
|
export interface BattleConditions {
|
|
473
474
|
org_type: OrgType;
|
|
474
475
|
role: Role;
|
package/pkg/fleethub_core_bg.js
CHANGED
|
@@ -2917,7 +2917,7 @@ export class Ship {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
2919
|
|
|
2920
|
-
export function
|
|
2920
|
+
export function __wbg_createEquipmentBonuses_688b0d977a195ffc(arg0, arg1) {
|
|
2921
2921
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2922
2922
|
return addHeapObject(ret);
|
|
2923
2923
|
};
|
|
@@ -2971,14 +2971,6 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
};
|
|
2973
2973
|
|
|
2974
|
-
export function __wbg_getRandomValues_37fa2ca9e4e07fab() { return handleError(function (arg0, arg1) {
|
|
2975
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
2976
|
-
}, arguments) };
|
|
2977
|
-
|
|
2978
|
-
export function __wbg_randomFillSync_dc1e9a60c158336d() { return handleError(function (arg0, arg1) {
|
|
2979
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
2980
|
-
}, arguments) };
|
|
2981
|
-
|
|
2982
2974
|
export function __wbg_crypto_c48a774b022d20ac(arg0) {
|
|
2983
2975
|
const ret = getObject(arg0).crypto;
|
|
2984
2976
|
return addHeapObject(ret);
|
|
@@ -3025,6 +3017,14 @@ export function __wbindgen_is_function(arg0) {
|
|
|
3025
3017
|
return ret;
|
|
3026
3018
|
};
|
|
3027
3019
|
|
|
3020
|
+
export function __wbg_getRandomValues_37fa2ca9e4e07fab() { return handleError(function (arg0, arg1) {
|
|
3021
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
3022
|
+
}, arguments) };
|
|
3023
|
+
|
|
3024
|
+
export function __wbg_randomFillSync_dc1e9a60c158336d() { return handleError(function (arg0, arg1) {
|
|
3025
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
3026
|
+
}, arguments) };
|
|
3027
|
+
|
|
3028
3028
|
export function __wbg_new_898a68150f225f2e() {
|
|
3029
3029
|
const ret = new Array();
|
|
3030
3030
|
return addHeapObject(ret);
|
|
Binary file
|