fleethub-core 1.11.1 → 1.11.3
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 +32 -32
- package/node/fleethub_core.js +1 -1
- package/node/fleethub_core_bg.wasm +0 -0
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +32 -32
- package/pkg/fleethub_core_bg.js +1 -1
- package/pkg/fleethub_core_bg.wasm +0 -0
package/node/fleethub_core.d.ts
CHANGED
|
@@ -8,6 +8,31 @@ export function parse_ship_conditions(value: ShipConditions): ShipConditions;
|
|
|
8
8
|
/**
|
|
9
9
|
*/
|
|
10
10
|
export function set_panic_hook(): void;
|
|
11
|
+
export interface AttackPower {
|
|
12
|
+
precap: number;
|
|
13
|
+
is_capped: boolean;
|
|
14
|
+
capped: number;
|
|
15
|
+
normal: number;
|
|
16
|
+
critical: number;
|
|
17
|
+
armor_penetration: number;
|
|
18
|
+
remaining_ammo_mod: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface AttackPowerParams {
|
|
22
|
+
basic: number;
|
|
23
|
+
cap: number;
|
|
24
|
+
precap_mod: AttackPowerModifier;
|
|
25
|
+
postcap_mod: AttackPowerModifier;
|
|
26
|
+
ap_shell_mod: number | null;
|
|
27
|
+
aerial_power: number | null;
|
|
28
|
+
proficiency_critical_mod: number;
|
|
29
|
+
armor_penetration: number;
|
|
30
|
+
remaining_ammo_mod: number;
|
|
31
|
+
special_enemy_mods: SpecialEnemyModifiers;
|
|
32
|
+
historical_mod: AttackPowerModifier;
|
|
33
|
+
custom_mods: CustomPowerModifiers;
|
|
34
|
+
}
|
|
35
|
+
|
|
11
36
|
export interface NodeAttackAnalyzerShipConfig extends NightFleetConditions {
|
|
12
37
|
formation?: Formation;
|
|
13
38
|
}
|
|
@@ -121,13 +146,6 @@ export interface OrgState {
|
|
|
121
146
|
|
|
122
147
|
export type FleetKey = "f1" | "f2" | "f3" | "f4";
|
|
123
148
|
|
|
124
|
-
export interface ShipPosition {
|
|
125
|
-
org_type?: OrgType;
|
|
126
|
-
fleet_type?: FleetType;
|
|
127
|
-
fleet_len?: number;
|
|
128
|
-
index?: number;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
149
|
export interface CompDayCutinAnalysis {
|
|
132
150
|
rank3_air_state: AirState;
|
|
133
151
|
rank2_air_state: AirState;
|
|
@@ -943,31 +961,6 @@ export interface MasterBattleDefinitions {
|
|
|
943
961
|
historical_bonuses?: HistoricalBonusDef[];
|
|
944
962
|
}
|
|
945
963
|
|
|
946
|
-
export interface AttackPower {
|
|
947
|
-
precap: number;
|
|
948
|
-
is_capped: boolean;
|
|
949
|
-
capped: number;
|
|
950
|
-
normal: number;
|
|
951
|
-
critical: number;
|
|
952
|
-
armor_penetration: number;
|
|
953
|
-
remaining_ammo_mod: number;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface AttackPowerParams {
|
|
957
|
-
basic: number;
|
|
958
|
-
cap: number;
|
|
959
|
-
precap_mod: AttackPowerModifier;
|
|
960
|
-
postcap_mod: AttackPowerModifier;
|
|
961
|
-
ap_shell_mod: number | null;
|
|
962
|
-
aerial_power: number | null;
|
|
963
|
-
proficiency_critical_mod: number;
|
|
964
|
-
armor_penetration: number;
|
|
965
|
-
remaining_ammo_mod: number;
|
|
966
|
-
special_enemy_mods: SpecialEnemyModifiers;
|
|
967
|
-
historical_mod: AttackPowerModifier;
|
|
968
|
-
custom_mods: CustomPowerModifiers;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
964
|
export interface CompAnalyzerConfig {
|
|
972
965
|
engagement: Engagement;
|
|
973
966
|
formation: Formation;
|
|
@@ -1031,6 +1024,13 @@ export type ContactRank = "Rank1" | "Rank2" | "Rank3";
|
|
|
1031
1024
|
|
|
1032
1025
|
export type Engagement = "GreenT" | "Parallel" | "HeadOn" | "RedT";
|
|
1033
1026
|
|
|
1027
|
+
export interface ShipPosition {
|
|
1028
|
+
org_type?: OrgType;
|
|
1029
|
+
fleet_type?: FleetType;
|
|
1030
|
+
fleet_len?: number;
|
|
1031
|
+
index?: number;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
1034
|
/**
|
|
1035
1035
|
*/
|
|
1036
1036
|
export class AirSquadron {
|
package/node/fleethub_core.js
CHANGED
|
@@ -2895,7 +2895,7 @@ module.exports.__wbg_ship_new = function(arg0) {
|
|
|
2895
2895
|
return addHeapObject(ret);
|
|
2896
2896
|
};
|
|
2897
2897
|
|
|
2898
|
-
module.exports.
|
|
2898
|
+
module.exports.__wbg_createEquipmentBonuses_834ff059bf0b8153 = function(arg0, arg1) {
|
|
2899
2899
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2900
2900
|
return addHeapObject(ret);
|
|
2901
2901
|
};
|
|
Binary file
|
package/package.json
CHANGED
package/pkg/fleethub_core.d.ts
CHANGED
|
@@ -8,6 +8,31 @@ export function parse_ship_conditions(value: ShipConditions): ShipConditions;
|
|
|
8
8
|
/**
|
|
9
9
|
*/
|
|
10
10
|
export function set_panic_hook(): void;
|
|
11
|
+
export interface AttackPower {
|
|
12
|
+
precap: number;
|
|
13
|
+
is_capped: boolean;
|
|
14
|
+
capped: number;
|
|
15
|
+
normal: number;
|
|
16
|
+
critical: number;
|
|
17
|
+
armor_penetration: number;
|
|
18
|
+
remaining_ammo_mod: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface AttackPowerParams {
|
|
22
|
+
basic: number;
|
|
23
|
+
cap: number;
|
|
24
|
+
precap_mod: AttackPowerModifier;
|
|
25
|
+
postcap_mod: AttackPowerModifier;
|
|
26
|
+
ap_shell_mod: number | null;
|
|
27
|
+
aerial_power: number | null;
|
|
28
|
+
proficiency_critical_mod: number;
|
|
29
|
+
armor_penetration: number;
|
|
30
|
+
remaining_ammo_mod: number;
|
|
31
|
+
special_enemy_mods: SpecialEnemyModifiers;
|
|
32
|
+
historical_mod: AttackPowerModifier;
|
|
33
|
+
custom_mods: CustomPowerModifiers;
|
|
34
|
+
}
|
|
35
|
+
|
|
11
36
|
export interface NodeAttackAnalyzerShipConfig extends NightFleetConditions {
|
|
12
37
|
formation?: Formation;
|
|
13
38
|
}
|
|
@@ -121,13 +146,6 @@ export interface OrgState {
|
|
|
121
146
|
|
|
122
147
|
export type FleetKey = "f1" | "f2" | "f3" | "f4";
|
|
123
148
|
|
|
124
|
-
export interface ShipPosition {
|
|
125
|
-
org_type?: OrgType;
|
|
126
|
-
fleet_type?: FleetType;
|
|
127
|
-
fleet_len?: number;
|
|
128
|
-
index?: number;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
149
|
export interface CompDayCutinAnalysis {
|
|
132
150
|
rank3_air_state: AirState;
|
|
133
151
|
rank2_air_state: AirState;
|
|
@@ -943,31 +961,6 @@ export interface MasterBattleDefinitions {
|
|
|
943
961
|
historical_bonuses?: HistoricalBonusDef[];
|
|
944
962
|
}
|
|
945
963
|
|
|
946
|
-
export interface AttackPower {
|
|
947
|
-
precap: number;
|
|
948
|
-
is_capped: boolean;
|
|
949
|
-
capped: number;
|
|
950
|
-
normal: number;
|
|
951
|
-
critical: number;
|
|
952
|
-
armor_penetration: number;
|
|
953
|
-
remaining_ammo_mod: number;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface AttackPowerParams {
|
|
957
|
-
basic: number;
|
|
958
|
-
cap: number;
|
|
959
|
-
precap_mod: AttackPowerModifier;
|
|
960
|
-
postcap_mod: AttackPowerModifier;
|
|
961
|
-
ap_shell_mod: number | null;
|
|
962
|
-
aerial_power: number | null;
|
|
963
|
-
proficiency_critical_mod: number;
|
|
964
|
-
armor_penetration: number;
|
|
965
|
-
remaining_ammo_mod: number;
|
|
966
|
-
special_enemy_mods: SpecialEnemyModifiers;
|
|
967
|
-
historical_mod: AttackPowerModifier;
|
|
968
|
-
custom_mods: CustomPowerModifiers;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
964
|
export interface CompAnalyzerConfig {
|
|
972
965
|
engagement: Engagement;
|
|
973
966
|
formation: Formation;
|
|
@@ -1031,6 +1024,13 @@ export type ContactRank = "Rank1" | "Rank2" | "Rank3";
|
|
|
1031
1024
|
|
|
1032
1025
|
export type Engagement = "GreenT" | "Parallel" | "HeadOn" | "RedT";
|
|
1033
1026
|
|
|
1027
|
+
export interface ShipPosition {
|
|
1028
|
+
org_type?: OrgType;
|
|
1029
|
+
fleet_type?: FleetType;
|
|
1030
|
+
fleet_len?: number;
|
|
1031
|
+
index?: number;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
1034
|
/**
|
|
1035
1035
|
*/
|
|
1036
1036
|
export class AirSquadron {
|
package/pkg/fleethub_core_bg.js
CHANGED
|
@@ -2893,7 +2893,7 @@ export function __wbg_ship_new(arg0) {
|
|
|
2893
2893
|
return addHeapObject(ret);
|
|
2894
2894
|
};
|
|
2895
2895
|
|
|
2896
|
-
export function
|
|
2896
|
+
export function __wbg_createEquipmentBonuses_834ff059bf0b8153(arg0, arg1) {
|
|
2897
2897
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2898
2898
|
return addHeapObject(ret);
|
|
2899
2899
|
};
|
|
Binary file
|