fleethub-core 1.9.0 → 1.9.1
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 +55 -64
- 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 +55 -64
- package/pkg/fleethub_core_bg.js +1 -1
- package/pkg/fleethub_core_bg.wasm +0 -0
package/node/fleethub_core.d.ts
CHANGED
|
@@ -84,47 +84,6 @@ export type GearType =
|
|
|
84
84
|
| "CbRecon2"
|
|
85
85
|
| "SecondaryGun2";
|
|
86
86
|
|
|
87
|
-
export type GearAttr =
|
|
88
|
-
| "Unknown"
|
|
89
|
-
| "Abyssal"
|
|
90
|
-
| "HighAngleMount"
|
|
91
|
-
| "NightFighter"
|
|
92
|
-
| "NightAttacker"
|
|
93
|
-
| "HeavyBomber"
|
|
94
|
-
| "NightRecon"
|
|
95
|
-
| "MainGun"
|
|
96
|
-
| "Radar"
|
|
97
|
-
| "SurfaceRadar"
|
|
98
|
-
| "AirRadar"
|
|
99
|
-
| "DepthChargeProjector"
|
|
100
|
-
| "SynergisticDepthCharge"
|
|
101
|
-
| "AntiSubMortar"
|
|
102
|
-
| "AntiSubWeapon"
|
|
103
|
-
| "ApDepthCharge"
|
|
104
|
-
| "AntiSubAircraft"
|
|
105
|
-
| "LateModelBowTorpedo"
|
|
106
|
-
| "Seaplane"
|
|
107
|
-
| "CbAircraft"
|
|
108
|
-
| "LbAircraft"
|
|
109
|
-
| "JetAircraft"
|
|
110
|
-
| "Fighter"
|
|
111
|
-
| "Recon"
|
|
112
|
-
| "ObservationSeaplane"
|
|
113
|
-
| "CbFighterBomber"
|
|
114
|
-
| "AntiInstDiveBomber"
|
|
115
|
-
| "CbSwordfish"
|
|
116
|
-
| "SemiNightPlane"
|
|
117
|
-
| "HighAltitudeInterceptor"
|
|
118
|
-
| "HistoricalAircraftA1"
|
|
119
|
-
| "HistoricalAircraftA2"
|
|
120
|
-
| "HistoricalAircraftA3"
|
|
121
|
-
| "HistoricalAircraftB1"
|
|
122
|
-
| "HistoricalAircraftB2"
|
|
123
|
-
| "HistoricalAircraftB3"
|
|
124
|
-
| "HistoricalAircraftC1"
|
|
125
|
-
| "HistoricalAircraftC2"
|
|
126
|
-
| "HistoricalAircraftC3";
|
|
127
|
-
|
|
128
87
|
export type DamageState = "Normal" | "Shouha" | "Chuuha" | "Taiha" | "Sunk";
|
|
129
88
|
|
|
130
89
|
export interface BattleDefinitions {
|
|
@@ -506,23 +465,6 @@ export interface GearInput {
|
|
|
506
465
|
|
|
507
466
|
export type GearVecInput = GearInput[];
|
|
508
467
|
|
|
509
|
-
export type ShipAttr =
|
|
510
|
-
| "Unknown"
|
|
511
|
-
| "Abyssal"
|
|
512
|
-
| "NightCarrier"
|
|
513
|
-
| "Installation"
|
|
514
|
-
| "RoyalNavy"
|
|
515
|
-
| "Kai2"
|
|
516
|
-
| "TurbineSpeedBonus"
|
|
517
|
-
| "Pillbox"
|
|
518
|
-
| "IsolatedIsland"
|
|
519
|
-
| "HarbourSummerPrincess"
|
|
520
|
-
| "SupplyDepot"
|
|
521
|
-
| "NewSupplyDepot"
|
|
522
|
-
| "PtImp"
|
|
523
|
-
| "BattleshipSummerPrincess"
|
|
524
|
-
| "HeavyCruiserSummerPrincess";
|
|
525
|
-
|
|
526
468
|
export interface ShipPosition {
|
|
527
469
|
org_type?: OrgType;
|
|
528
470
|
fleet_type?: FleetType;
|
|
@@ -572,12 +514,6 @@ export type ShellingType = "Normal" | "Carrier";
|
|
|
572
514
|
|
|
573
515
|
export type AswAttackType = "DepthCharge" | "Aircraft";
|
|
574
516
|
|
|
575
|
-
export interface SupportShellingSimulatorParams {
|
|
576
|
-
attacker_formation?: Formation;
|
|
577
|
-
target_formation?: Formation;
|
|
578
|
-
engagement: Engagement;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
517
|
export type FhResult<T> = { Ok: T } | { Err: string };
|
|
582
518
|
|
|
583
519
|
export interface ShipAnalyzerConfig {
|
|
@@ -587,6 +523,23 @@ export interface ShipAnalyzerConfig {
|
|
|
587
523
|
right?: AttackAnalyzerShipConfig;
|
|
588
524
|
}
|
|
589
525
|
|
|
526
|
+
export type ShipAttr =
|
|
527
|
+
| "Unknown"
|
|
528
|
+
| "Abyssal"
|
|
529
|
+
| "NightCarrier"
|
|
530
|
+
| "Installation"
|
|
531
|
+
| "RoyalNavy"
|
|
532
|
+
| "Kai2"
|
|
533
|
+
| "TurbineSpeedBonus"
|
|
534
|
+
| "Pillbox"
|
|
535
|
+
| "IsolatedIsland"
|
|
536
|
+
| "HarbourSummerPrincess"
|
|
537
|
+
| "SupplyDepot"
|
|
538
|
+
| "NewSupplyDepot"
|
|
539
|
+
| "PtImp"
|
|
540
|
+
| "BattleshipSummerPrincess"
|
|
541
|
+
| "HeavyCruiserSummerPrincess";
|
|
542
|
+
|
|
590
543
|
export type OrgType =
|
|
591
544
|
| "Single"
|
|
592
545
|
| "CarrierTaskForce"
|
|
@@ -595,8 +548,46 @@ export type OrgType =
|
|
|
595
548
|
| "EnemySingle"
|
|
596
549
|
| "EnemyCombined";
|
|
597
550
|
|
|
551
|
+
export type GearAttr =
|
|
552
|
+
| "Unknown"
|
|
553
|
+
| "Abyssal"
|
|
554
|
+
| "HighAngleMount"
|
|
555
|
+
| "NightFighter"
|
|
556
|
+
| "NightAttacker"
|
|
557
|
+
| "HeavyBomber"
|
|
558
|
+
| "NightRecon"
|
|
559
|
+
| "MainGun"
|
|
560
|
+
| "Radar"
|
|
561
|
+
| "SurfaceRadar"
|
|
562
|
+
| "AirRadar"
|
|
563
|
+
| "DepthChargeProjector"
|
|
564
|
+
| "SynergisticDepthCharge"
|
|
565
|
+
| "AntiSubMortar"
|
|
566
|
+
| "AntiSubWeapon"
|
|
567
|
+
| "ApDepthCharge"
|
|
568
|
+
| "AntiSubAircraft"
|
|
569
|
+
| "LateModelBowTorpedo"
|
|
570
|
+
| "Seaplane"
|
|
571
|
+
| "CbAircraft"
|
|
572
|
+
| "LbAircraft"
|
|
573
|
+
| "JetAircraft"
|
|
574
|
+
| "Fighter"
|
|
575
|
+
| "Recon"
|
|
576
|
+
| "ObservationSeaplane"
|
|
577
|
+
| "CbFighterBomber"
|
|
578
|
+
| "AntiInstDiveBomber"
|
|
579
|
+
| "CbSwordfish"
|
|
580
|
+
| "SemiNightPlane"
|
|
581
|
+
| "HighAltitudeInterceptor";
|
|
582
|
+
|
|
598
583
|
export type FleetKey = "f1" | "f2" | "f3" | "f4";
|
|
599
584
|
|
|
585
|
+
export interface SupportShellingSimulatorParams {
|
|
586
|
+
attacker_formation?: Formation;
|
|
587
|
+
target_formation?: Formation;
|
|
588
|
+
engagement: Engagement;
|
|
589
|
+
}
|
|
590
|
+
|
|
600
591
|
export interface NightContactChance {
|
|
601
592
|
rank1: number;
|
|
602
593
|
rank2: number;
|
package/node/fleethub_core.js
CHANGED
|
@@ -2854,7 +2854,7 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
2854
2854
|
return addHeapObject(ret);
|
|
2855
2855
|
};
|
|
2856
2856
|
|
|
2857
|
-
module.exports.
|
|
2857
|
+
module.exports.__wbg_createEquipmentBonuses_0efacdeef0fe5ffd = function(arg0, arg1) {
|
|
2858
2858
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2859
2859
|
return addHeapObject(ret);
|
|
2860
2860
|
};
|
|
Binary file
|
package/package.json
CHANGED
package/pkg/fleethub_core.d.ts
CHANGED
|
@@ -84,47 +84,6 @@ export type GearType =
|
|
|
84
84
|
| "CbRecon2"
|
|
85
85
|
| "SecondaryGun2";
|
|
86
86
|
|
|
87
|
-
export type GearAttr =
|
|
88
|
-
| "Unknown"
|
|
89
|
-
| "Abyssal"
|
|
90
|
-
| "HighAngleMount"
|
|
91
|
-
| "NightFighter"
|
|
92
|
-
| "NightAttacker"
|
|
93
|
-
| "HeavyBomber"
|
|
94
|
-
| "NightRecon"
|
|
95
|
-
| "MainGun"
|
|
96
|
-
| "Radar"
|
|
97
|
-
| "SurfaceRadar"
|
|
98
|
-
| "AirRadar"
|
|
99
|
-
| "DepthChargeProjector"
|
|
100
|
-
| "SynergisticDepthCharge"
|
|
101
|
-
| "AntiSubMortar"
|
|
102
|
-
| "AntiSubWeapon"
|
|
103
|
-
| "ApDepthCharge"
|
|
104
|
-
| "AntiSubAircraft"
|
|
105
|
-
| "LateModelBowTorpedo"
|
|
106
|
-
| "Seaplane"
|
|
107
|
-
| "CbAircraft"
|
|
108
|
-
| "LbAircraft"
|
|
109
|
-
| "JetAircraft"
|
|
110
|
-
| "Fighter"
|
|
111
|
-
| "Recon"
|
|
112
|
-
| "ObservationSeaplane"
|
|
113
|
-
| "CbFighterBomber"
|
|
114
|
-
| "AntiInstDiveBomber"
|
|
115
|
-
| "CbSwordfish"
|
|
116
|
-
| "SemiNightPlane"
|
|
117
|
-
| "HighAltitudeInterceptor"
|
|
118
|
-
| "HistoricalAircraftA1"
|
|
119
|
-
| "HistoricalAircraftA2"
|
|
120
|
-
| "HistoricalAircraftA3"
|
|
121
|
-
| "HistoricalAircraftB1"
|
|
122
|
-
| "HistoricalAircraftB2"
|
|
123
|
-
| "HistoricalAircraftB3"
|
|
124
|
-
| "HistoricalAircraftC1"
|
|
125
|
-
| "HistoricalAircraftC2"
|
|
126
|
-
| "HistoricalAircraftC3";
|
|
127
|
-
|
|
128
87
|
export type DamageState = "Normal" | "Shouha" | "Chuuha" | "Taiha" | "Sunk";
|
|
129
88
|
|
|
130
89
|
export interface BattleDefinitions {
|
|
@@ -506,23 +465,6 @@ export interface GearInput {
|
|
|
506
465
|
|
|
507
466
|
export type GearVecInput = GearInput[];
|
|
508
467
|
|
|
509
|
-
export type ShipAttr =
|
|
510
|
-
| "Unknown"
|
|
511
|
-
| "Abyssal"
|
|
512
|
-
| "NightCarrier"
|
|
513
|
-
| "Installation"
|
|
514
|
-
| "RoyalNavy"
|
|
515
|
-
| "Kai2"
|
|
516
|
-
| "TurbineSpeedBonus"
|
|
517
|
-
| "Pillbox"
|
|
518
|
-
| "IsolatedIsland"
|
|
519
|
-
| "HarbourSummerPrincess"
|
|
520
|
-
| "SupplyDepot"
|
|
521
|
-
| "NewSupplyDepot"
|
|
522
|
-
| "PtImp"
|
|
523
|
-
| "BattleshipSummerPrincess"
|
|
524
|
-
| "HeavyCruiserSummerPrincess";
|
|
525
|
-
|
|
526
468
|
export interface ShipPosition {
|
|
527
469
|
org_type?: OrgType;
|
|
528
470
|
fleet_type?: FleetType;
|
|
@@ -572,12 +514,6 @@ export type ShellingType = "Normal" | "Carrier";
|
|
|
572
514
|
|
|
573
515
|
export type AswAttackType = "DepthCharge" | "Aircraft";
|
|
574
516
|
|
|
575
|
-
export interface SupportShellingSimulatorParams {
|
|
576
|
-
attacker_formation?: Formation;
|
|
577
|
-
target_formation?: Formation;
|
|
578
|
-
engagement: Engagement;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
517
|
export type FhResult<T> = { Ok: T } | { Err: string };
|
|
582
518
|
|
|
583
519
|
export interface ShipAnalyzerConfig {
|
|
@@ -587,6 +523,23 @@ export interface ShipAnalyzerConfig {
|
|
|
587
523
|
right?: AttackAnalyzerShipConfig;
|
|
588
524
|
}
|
|
589
525
|
|
|
526
|
+
export type ShipAttr =
|
|
527
|
+
| "Unknown"
|
|
528
|
+
| "Abyssal"
|
|
529
|
+
| "NightCarrier"
|
|
530
|
+
| "Installation"
|
|
531
|
+
| "RoyalNavy"
|
|
532
|
+
| "Kai2"
|
|
533
|
+
| "TurbineSpeedBonus"
|
|
534
|
+
| "Pillbox"
|
|
535
|
+
| "IsolatedIsland"
|
|
536
|
+
| "HarbourSummerPrincess"
|
|
537
|
+
| "SupplyDepot"
|
|
538
|
+
| "NewSupplyDepot"
|
|
539
|
+
| "PtImp"
|
|
540
|
+
| "BattleshipSummerPrincess"
|
|
541
|
+
| "HeavyCruiserSummerPrincess";
|
|
542
|
+
|
|
590
543
|
export type OrgType =
|
|
591
544
|
| "Single"
|
|
592
545
|
| "CarrierTaskForce"
|
|
@@ -595,8 +548,46 @@ export type OrgType =
|
|
|
595
548
|
| "EnemySingle"
|
|
596
549
|
| "EnemyCombined";
|
|
597
550
|
|
|
551
|
+
export type GearAttr =
|
|
552
|
+
| "Unknown"
|
|
553
|
+
| "Abyssal"
|
|
554
|
+
| "HighAngleMount"
|
|
555
|
+
| "NightFighter"
|
|
556
|
+
| "NightAttacker"
|
|
557
|
+
| "HeavyBomber"
|
|
558
|
+
| "NightRecon"
|
|
559
|
+
| "MainGun"
|
|
560
|
+
| "Radar"
|
|
561
|
+
| "SurfaceRadar"
|
|
562
|
+
| "AirRadar"
|
|
563
|
+
| "DepthChargeProjector"
|
|
564
|
+
| "SynergisticDepthCharge"
|
|
565
|
+
| "AntiSubMortar"
|
|
566
|
+
| "AntiSubWeapon"
|
|
567
|
+
| "ApDepthCharge"
|
|
568
|
+
| "AntiSubAircraft"
|
|
569
|
+
| "LateModelBowTorpedo"
|
|
570
|
+
| "Seaplane"
|
|
571
|
+
| "CbAircraft"
|
|
572
|
+
| "LbAircraft"
|
|
573
|
+
| "JetAircraft"
|
|
574
|
+
| "Fighter"
|
|
575
|
+
| "Recon"
|
|
576
|
+
| "ObservationSeaplane"
|
|
577
|
+
| "CbFighterBomber"
|
|
578
|
+
| "AntiInstDiveBomber"
|
|
579
|
+
| "CbSwordfish"
|
|
580
|
+
| "SemiNightPlane"
|
|
581
|
+
| "HighAltitudeInterceptor";
|
|
582
|
+
|
|
598
583
|
export type FleetKey = "f1" | "f2" | "f3" | "f4";
|
|
599
584
|
|
|
585
|
+
export interface SupportShellingSimulatorParams {
|
|
586
|
+
attacker_formation?: Formation;
|
|
587
|
+
target_formation?: Formation;
|
|
588
|
+
engagement: Engagement;
|
|
589
|
+
}
|
|
590
|
+
|
|
600
591
|
export interface NightContactChance {
|
|
601
592
|
rank1: number;
|
|
602
593
|
rank2: number;
|
package/pkg/fleethub_core_bg.js
CHANGED
|
@@ -2847,7 +2847,7 @@ export function __wbindgen_string_new(arg0, arg1) {
|
|
|
2847
2847
|
return addHeapObject(ret);
|
|
2848
2848
|
};
|
|
2849
2849
|
|
|
2850
|
-
export function
|
|
2850
|
+
export function __wbg_createEquipmentBonuses_0efacdeef0fe5ffd(arg0, arg1) {
|
|
2851
2851
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2852
2852
|
return addHeapObject(ret);
|
|
2853
2853
|
};
|
|
Binary file
|