fleethub-core 1.7.0 → 1.7.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 +203 -230
- package/node/fleethub_core.js +122 -176
- package/node/fleethub_core_bg.wasm +0 -0
- package/node/fleethub_core_bg.wasm.d.ts +6 -2
- package/package.json +1 -1
- package/pkg/fleethub_core.d.ts +203 -230
- package/pkg/fleethub_core_bg.js +122 -176
- package/pkg/fleethub_core_bg.wasm +0 -0
- package/pkg/fleethub_core_bg.wasm.d.ts +6 -2
package/node/fleethub_core.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export type ShellingAttackType = "Normal" | "Carrier";
|
|
|
65
65
|
|
|
66
66
|
export type AirWaveType = "Jet" | "LandBase" | "Carrier";
|
|
67
67
|
|
|
68
|
+
export type AswAttackType = "DepthCharge" | "Aircraft";
|
|
69
|
+
|
|
68
70
|
export type OrgType =
|
|
69
71
|
| "Single"
|
|
70
72
|
| "CarrierTaskForce"
|
|
@@ -73,6 +75,14 @@ export type OrgType =
|
|
|
73
75
|
| "EnemySingle"
|
|
74
76
|
| "EnemyCombined";
|
|
75
77
|
|
|
78
|
+
export type FleetCutin =
|
|
79
|
+
| "NelsonTouch"
|
|
80
|
+
| "NagatoCutin"
|
|
81
|
+
| "ColoradoCutin"
|
|
82
|
+
| "KongouCutin"
|
|
83
|
+
| "Yamato2ShipCutin"
|
|
84
|
+
| "Yamato3ShipCutin";
|
|
85
|
+
|
|
76
86
|
export interface WarfareContext {
|
|
77
87
|
attacker_env: WarfareShipEnvironment;
|
|
78
88
|
target_env: WarfareShipEnvironment;
|
|
@@ -151,10 +161,6 @@ export interface AttackPowerModifier {
|
|
|
151
161
|
b: number;
|
|
152
162
|
}
|
|
153
163
|
|
|
154
|
-
export type NumMap<K, V> = Partial<Record<K, V>>;
|
|
155
|
-
|
|
156
|
-
export type Role = "Main" | "Escort";
|
|
157
|
-
|
|
158
164
|
export interface MasterData {
|
|
159
165
|
gears: MasterGear[];
|
|
160
166
|
gear_attrs: MasterAttrRule<GearAttr>[];
|
|
@@ -181,6 +187,32 @@ export interface MasterAttrRule<T> {
|
|
|
181
187
|
expr: string;
|
|
182
188
|
}
|
|
183
189
|
|
|
190
|
+
export interface CompDayCutinRateInfo {
|
|
191
|
+
main: FleetDayCutinRateInfo;
|
|
192
|
+
escort: FleetDayCutinRateInfo | null;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface FleetDayCutinRateInfo {
|
|
196
|
+
fleet_los_mod: number | null;
|
|
197
|
+
ships: ShipDayCutinRateInfo[];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface ShipDayCutinRateInfo {
|
|
201
|
+
ship_id: number;
|
|
202
|
+
air_supremacy: DayCutinRateInfo;
|
|
203
|
+
air_superiority: DayCutinRateInfo;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface DayCutinRateInfo {
|
|
207
|
+
observation_term: number | null;
|
|
208
|
+
rates: [DayCutin | null, number | null][];
|
|
209
|
+
total_cutin_rate: number | null;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type NumMap<K, V> = Partial<Record<K, V>>;
|
|
213
|
+
|
|
214
|
+
export type Role = "Main" | "Escort";
|
|
215
|
+
|
|
184
216
|
export type GearCategory =
|
|
185
217
|
| "Fighter"
|
|
186
218
|
| "Bomber"
|
|
@@ -258,28 +290,6 @@ export type GearType =
|
|
|
258
290
|
|
|
259
291
|
export type Engagement = "GreenT" | "Parallel" | "HeadOn" | "RedT";
|
|
260
292
|
|
|
261
|
-
export interface CompDayCutinRateInfo {
|
|
262
|
-
main: FleetDayCutinRateInfo;
|
|
263
|
-
escort: FleetDayCutinRateInfo | null;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export interface FleetDayCutinRateInfo {
|
|
267
|
-
fleet_los_mod: number | null;
|
|
268
|
-
ships: ShipDayCutinRateInfo[];
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export interface ShipDayCutinRateInfo {
|
|
272
|
-
ship_id: number;
|
|
273
|
-
air_supremacy: DayCutinRateInfo;
|
|
274
|
-
air_superiority: DayCutinRateInfo;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
export interface DayCutinRateInfo {
|
|
278
|
-
observation_term: number | null;
|
|
279
|
-
rates: [DayCutin | null, number | null][];
|
|
280
|
-
total_cutin_rate: number | null;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
293
|
export interface EBonuses {
|
|
284
294
|
firepower: number;
|
|
285
295
|
torpedo: number;
|
|
@@ -320,22 +330,6 @@ export interface GearInput {
|
|
|
320
330
|
|
|
321
331
|
export type GearVecInput = GearInput[];
|
|
322
332
|
|
|
323
|
-
export type ShipAttr =
|
|
324
|
-
| "Unknown"
|
|
325
|
-
| "Abyssal"
|
|
326
|
-
| "NightCarrier"
|
|
327
|
-
| "Installation"
|
|
328
|
-
| "RoyalNavy"
|
|
329
|
-
| "Kai2"
|
|
330
|
-
| "TurbineSpeedBonus"
|
|
331
|
-
| "Pillbox"
|
|
332
|
-
| "IsolatedIsland"
|
|
333
|
-
| "HarbourSummerPrincess"
|
|
334
|
-
| "SupplyDepot"
|
|
335
|
-
| "PtImp"
|
|
336
|
-
| "BattleshipSummerPrincess"
|
|
337
|
-
| "HeavyCruiserSummerPrincess";
|
|
338
|
-
|
|
339
333
|
export type AirStateRank = "Rank0" | "Rank1" | "Rank2" | "Rank3";
|
|
340
334
|
|
|
341
335
|
export type AirState =
|
|
@@ -407,6 +401,22 @@ export interface DamageInfo {
|
|
|
407
401
|
damage_state_map: NumMap<DamageState, number>;
|
|
408
402
|
}
|
|
409
403
|
|
|
404
|
+
export type ShipAttr =
|
|
405
|
+
| "Unknown"
|
|
406
|
+
| "Abyssal"
|
|
407
|
+
| "NightCarrier"
|
|
408
|
+
| "Installation"
|
|
409
|
+
| "RoyalNavy"
|
|
410
|
+
| "Kai2"
|
|
411
|
+
| "TurbineSpeedBonus"
|
|
412
|
+
| "Pillbox"
|
|
413
|
+
| "IsolatedIsland"
|
|
414
|
+
| "HarbourSummerPrincess"
|
|
415
|
+
| "SupplyDepot"
|
|
416
|
+
| "PtImp"
|
|
417
|
+
| "BattleshipSummerPrincess"
|
|
418
|
+
| "HeavyCruiserSummerPrincess";
|
|
419
|
+
|
|
410
420
|
export type GearAttr =
|
|
411
421
|
| "Unknown"
|
|
412
422
|
| "Abyssal"
|
|
@@ -454,8 +464,6 @@ export type SingleFormation =
|
|
|
454
464
|
| "LineAbreast"
|
|
455
465
|
| "Vanguard";
|
|
456
466
|
|
|
457
|
-
export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
|
|
458
|
-
|
|
459
467
|
export interface CompAntiAirInfo {
|
|
460
468
|
fleet_adjusted_anti_air: number;
|
|
461
469
|
ships: ShipAntiAirInfo[];
|
|
@@ -486,55 +494,7 @@ export interface AirstrikeContactChance {
|
|
|
486
494
|
total: number;
|
|
487
495
|
}
|
|
488
496
|
|
|
489
|
-
export type
|
|
490
|
-
|
|
491
|
-
export type NightAttackType = "Normal" | "ArkRoyal" | "Carrier";
|
|
492
|
-
|
|
493
|
-
export type NightSpecialAttack =
|
|
494
|
-
| { NightCutin: NightCutin }
|
|
495
|
-
| { FleetCutin: FleetCutin };
|
|
496
|
-
|
|
497
|
-
export type NightCutin =
|
|
498
|
-
| "MainTorpRadar"
|
|
499
|
-
| "TorpLookoutRadar"
|
|
500
|
-
| "TorpTsloTorp"
|
|
501
|
-
| "TorpTsloDrum"
|
|
502
|
-
| "DoubleAttack"
|
|
503
|
-
| "TorpTorpMain"
|
|
504
|
-
| "TorpTorpTorp"
|
|
505
|
-
| "MainMainSec"
|
|
506
|
-
| "MainMainMain"
|
|
507
|
-
| "SubTorpTorp"
|
|
508
|
-
| "SubRadarTorp"
|
|
509
|
-
| "Cvci1_25"
|
|
510
|
-
| "Cvci1_20"
|
|
511
|
-
| "Cvci1_18"
|
|
512
|
-
| "Photobomber";
|
|
513
|
-
|
|
514
|
-
export interface MasterGear {
|
|
515
|
-
gear_id: number;
|
|
516
|
-
name: string;
|
|
517
|
-
types: GearTypeIdArray;
|
|
518
|
-
special_type?: number;
|
|
519
|
-
max_hp?: number;
|
|
520
|
-
firepower?: number;
|
|
521
|
-
armor?: number;
|
|
522
|
-
torpedo?: number;
|
|
523
|
-
anti_air?: number;
|
|
524
|
-
speed?: number;
|
|
525
|
-
bombing?: number;
|
|
526
|
-
asw?: number;
|
|
527
|
-
los?: number;
|
|
528
|
-
luck?: number;
|
|
529
|
-
accuracy?: number;
|
|
530
|
-
evasion?: number;
|
|
531
|
-
range?: number;
|
|
532
|
-
radius?: number;
|
|
533
|
-
cost?: number;
|
|
534
|
-
improvable?: boolean;
|
|
535
|
-
ship_anti_air_resistance?: number;
|
|
536
|
-
fleet_anti_air_resistance?: number;
|
|
537
|
-
}
|
|
497
|
+
export type FleetType = "Main" | "Escort" | "RouteSup" | "BossSup";
|
|
538
498
|
|
|
539
499
|
export interface MasterEquippable {
|
|
540
500
|
equip_stype: EquipStype[];
|
|
@@ -558,21 +518,6 @@ export interface EquipStype {
|
|
|
558
518
|
equip_type: number[];
|
|
559
519
|
}
|
|
560
520
|
|
|
561
|
-
export interface HitRate {
|
|
562
|
-
total: number;
|
|
563
|
-
normal: number;
|
|
564
|
-
critical: number;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
export interface HitRateParams {
|
|
568
|
-
accuracy_term: number;
|
|
569
|
-
evasion_term: number;
|
|
570
|
-
target_morale_mod: number;
|
|
571
|
-
critical_rate_constant: number;
|
|
572
|
-
critical_percentage_bonus: number;
|
|
573
|
-
hit_percentage_bonus: number;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
521
|
export type NightBattleAttackType =
|
|
577
522
|
| { t: "NightAttack"; c: NightAttackType }
|
|
578
523
|
| { t: "Asw"; c: AswAttackType };
|
|
@@ -622,20 +567,9 @@ export interface OrgState {
|
|
|
622
567
|
boss_sup?: string;
|
|
623
568
|
}
|
|
624
569
|
|
|
625
|
-
export interface AirSquadronState {
|
|
570
|
+
export interface AirSquadronState extends GearVecState, SlotSizeVecState {
|
|
626
571
|
id?: string;
|
|
627
572
|
mode?: AirSquadronMode;
|
|
628
|
-
g1?: GearState;
|
|
629
|
-
g2?: GearState;
|
|
630
|
-
g3?: GearState;
|
|
631
|
-
g4?: GearState;
|
|
632
|
-
g5?: GearState;
|
|
633
|
-
gx?: GearState;
|
|
634
|
-
ss1?: number;
|
|
635
|
-
ss2?: number;
|
|
636
|
-
ss3?: number;
|
|
637
|
-
ss4?: number;
|
|
638
|
-
ss5?: number;
|
|
639
573
|
}
|
|
640
574
|
|
|
641
575
|
export type AirSquadronMode = "Sortie" | "AirDefense";
|
|
@@ -669,6 +603,8 @@ export interface ShipState extends GearVecState, SlotSizeVecState {
|
|
|
669
603
|
asw_mod?: number;
|
|
670
604
|
los_mod?: number;
|
|
671
605
|
luck_mod?: number;
|
|
606
|
+
day_gunfit_accuracy?: number;
|
|
607
|
+
night_gunfit_accuracy?: number;
|
|
672
608
|
}
|
|
673
609
|
|
|
674
610
|
export interface SlotSizeVecState {
|
|
@@ -695,6 +631,121 @@ export interface GearState {
|
|
|
695
631
|
stars?: number;
|
|
696
632
|
}
|
|
697
633
|
|
|
634
|
+
export type NightAttackType = "Normal" | "ArkRoyal" | "Carrier";
|
|
635
|
+
|
|
636
|
+
export type NightSpecialAttack =
|
|
637
|
+
| { NightCutin: NightCutin }
|
|
638
|
+
| { FleetCutin: FleetCutin };
|
|
639
|
+
|
|
640
|
+
export type NightCutin =
|
|
641
|
+
| "MainTorpRadar"
|
|
642
|
+
| "TorpLookoutRadar"
|
|
643
|
+
| "TorpTsloTorp"
|
|
644
|
+
| "TorpTsloDrum"
|
|
645
|
+
| "DoubleAttack"
|
|
646
|
+
| "TorpTorpMain"
|
|
647
|
+
| "TorpTorpTorp"
|
|
648
|
+
| "MainMainSec"
|
|
649
|
+
| "MainMainMain"
|
|
650
|
+
| "SubTorpTorp"
|
|
651
|
+
| "SubRadarTorp"
|
|
652
|
+
| "Cvci1_25"
|
|
653
|
+
| "Cvci1_20"
|
|
654
|
+
| "Cvci1_18"
|
|
655
|
+
| "Photobomber";
|
|
656
|
+
|
|
657
|
+
export interface MasterGear {
|
|
658
|
+
gear_id: number;
|
|
659
|
+
name: string;
|
|
660
|
+
types: GearTypeIdArray;
|
|
661
|
+
special_type?: number;
|
|
662
|
+
max_hp?: number;
|
|
663
|
+
firepower?: number;
|
|
664
|
+
armor?: number;
|
|
665
|
+
torpedo?: number;
|
|
666
|
+
anti_air?: number;
|
|
667
|
+
speed?: number;
|
|
668
|
+
bombing?: number;
|
|
669
|
+
asw?: number;
|
|
670
|
+
los?: number;
|
|
671
|
+
luck?: number;
|
|
672
|
+
accuracy?: number;
|
|
673
|
+
evasion?: number;
|
|
674
|
+
range?: number;
|
|
675
|
+
radius?: number;
|
|
676
|
+
cost?: number;
|
|
677
|
+
improvable?: boolean;
|
|
678
|
+
ship_anti_air_resistance?: number;
|
|
679
|
+
fleet_anti_air_resistance?: number;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export interface HitRate {
|
|
683
|
+
total: number;
|
|
684
|
+
normal: number;
|
|
685
|
+
critical: number;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export interface HitRateParams {
|
|
689
|
+
accuracy_term: number;
|
|
690
|
+
evasion_term: number;
|
|
691
|
+
target_morale_mod: number;
|
|
692
|
+
critical_rate_constant: number;
|
|
693
|
+
critical_percentage_bonus: number;
|
|
694
|
+
hit_percentage_bonus: number;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export interface BattleConfig {
|
|
698
|
+
formation: Record<Formation, NestedFormationDef>;
|
|
699
|
+
anti_air_cutin: Record<number, AntiAirCutinDef>;
|
|
700
|
+
day_cutin: Record<DayCutin, DayCutinDef>;
|
|
701
|
+
night_cutin: Record<NightCutin, NightCutinDef>;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export interface NightCutinDef {
|
|
705
|
+
tag: NightCutin;
|
|
706
|
+
hits: number;
|
|
707
|
+
type_factor: number | null;
|
|
708
|
+
power_mod: number | null;
|
|
709
|
+
accuracy_mod: number | null;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
export interface DayCutinDef {
|
|
713
|
+
tag: DayCutin;
|
|
714
|
+
hits: number;
|
|
715
|
+
type_factor: number | null;
|
|
716
|
+
power_mod: number | null;
|
|
717
|
+
accuracy_mod: number | null;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export interface AntiAirCutinDef {
|
|
721
|
+
id: number;
|
|
722
|
+
type_factor: number | null;
|
|
723
|
+
multiplier: number | null;
|
|
724
|
+
guaranteed: number | null;
|
|
725
|
+
sequential: boolean | null;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export type NestedFormationDef =
|
|
729
|
+
| FormationDef
|
|
730
|
+
| { top_half: FormationDef; bottom_half: FormationDef };
|
|
731
|
+
|
|
732
|
+
export interface FormationDef {
|
|
733
|
+
tag: Formation;
|
|
734
|
+
protection_rate: number | null;
|
|
735
|
+
fleet_anti_air_mod: number;
|
|
736
|
+
shelling: FormationWarfareDef;
|
|
737
|
+
torpedo: FormationWarfareDef;
|
|
738
|
+
asw: FormationWarfareDef;
|
|
739
|
+
night: FormationWarfareDef;
|
|
740
|
+
shelling_support: FormationWarfareDef;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export interface FormationWarfareDef {
|
|
744
|
+
power_mod: number | null;
|
|
745
|
+
accuracy_mod: number | null;
|
|
746
|
+
evasion_mod: number | null;
|
|
747
|
+
}
|
|
748
|
+
|
|
698
749
|
export interface MasterShip {
|
|
699
750
|
ship_id: number;
|
|
700
751
|
name: string;
|
|
@@ -756,59 +807,9 @@ export interface WarfareAnalyzerShipEnvironment {
|
|
|
756
807
|
|
|
757
808
|
export type GearTypeIdArray = [number, number, number, number, number];
|
|
758
809
|
|
|
759
|
-
export type
|
|
760
|
-
|
|
761
|
-
export interface BattleConfig {
|
|
762
|
-
formation: Record<Formation, NestedFormationDef>;
|
|
763
|
-
anti_air_cutin: Record<number, AntiAirCutinDef>;
|
|
764
|
-
day_cutin: Record<DayCutin, DayCutinDef>;
|
|
765
|
-
night_cutin: Record<NightCutin, NightCutinDef>;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
export interface NightCutinDef {
|
|
769
|
-
tag: NightCutin;
|
|
770
|
-
hits: number;
|
|
771
|
-
type_factor: number | null;
|
|
772
|
-
power_mod: number | null;
|
|
773
|
-
accuracy_mod: number | null;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
export interface DayCutinDef {
|
|
777
|
-
tag: DayCutin;
|
|
778
|
-
hits: number;
|
|
779
|
-
type_factor: number | null;
|
|
780
|
-
power_mod: number | null;
|
|
781
|
-
accuracy_mod: number | null;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
export interface AntiAirCutinDef {
|
|
785
|
-
id: number;
|
|
786
|
-
type_factor: number | null;
|
|
787
|
-
multiplier: number | null;
|
|
788
|
-
guaranteed: number | null;
|
|
789
|
-
sequential: boolean | null;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
export type NestedFormationDef =
|
|
793
|
-
| FormationDef
|
|
794
|
-
| { top_half: FormationDef; bottom_half: FormationDef };
|
|
795
|
-
|
|
796
|
-
export interface FormationDef {
|
|
797
|
-
tag: Formation;
|
|
798
|
-
protection_rate: number | null;
|
|
799
|
-
fleet_anti_air_mod: number;
|
|
800
|
-
shelling: FormationWarfareDef;
|
|
801
|
-
torpedo: FormationWarfareDef;
|
|
802
|
-
asw: FormationWarfareDef;
|
|
803
|
-
night: FormationWarfareDef;
|
|
804
|
-
shelling_support: FormationWarfareDef;
|
|
805
|
-
}
|
|
810
|
+
export type SlotSizeVec = (number | null)[];
|
|
806
811
|
|
|
807
|
-
export
|
|
808
|
-
power_mod: number | null;
|
|
809
|
-
accuracy_mod: number | null;
|
|
810
|
-
evasion_mod: number | null;
|
|
811
|
-
}
|
|
812
|
+
export type Side = "Player" | "Enemy";
|
|
812
813
|
|
|
813
814
|
export type SpecialEnemyType =
|
|
814
815
|
| "None"
|
|
@@ -827,12 +828,6 @@ export type DamageState = "Normal" | "Shouha" | "Chuuha" | "Taiha" | "Sunk";
|
|
|
827
828
|
|
|
828
829
|
export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
829
830
|
|
|
830
|
-
export type FleetCutin =
|
|
831
|
-
| "NelsonTouch"
|
|
832
|
-
| "NagatoCutin"
|
|
833
|
-
| "ColoradoCutin"
|
|
834
|
-
| "KongouCutin";
|
|
835
|
-
|
|
836
831
|
export type ContactRank = "Rank1" | "Rank2" | "Rank3";
|
|
837
832
|
|
|
838
833
|
export interface SimulatorResult {
|
|
@@ -847,8 +842,6 @@ export interface SimulatorResultItem {
|
|
|
847
842
|
damage_state_map: Record<DamageState, number>;
|
|
848
843
|
}
|
|
849
844
|
|
|
850
|
-
export type AswAttackType = "DepthCharge" | "Aircraft";
|
|
851
|
-
|
|
852
845
|
export interface FleetNightCutinRateInfo {
|
|
853
846
|
night_contact_chance: NightContactChance;
|
|
854
847
|
ships: ShipNightCutinRateInfo[];
|
|
@@ -912,7 +905,7 @@ export class AirSquadron {
|
|
|
912
905
|
mode: AirSquadronMode;
|
|
913
906
|
/**
|
|
914
907
|
*/
|
|
915
|
-
xxh3:
|
|
908
|
+
xxh3: bigint;
|
|
916
909
|
}
|
|
917
910
|
/**
|
|
918
911
|
*/
|
|
@@ -1239,7 +1232,6 @@ export class Fleet {
|
|
|
1239
1232
|
*/
|
|
1240
1233
|
reset_battle_state(): void;
|
|
1241
1234
|
/**
|
|
1242
|
-
* @returns {number | undefined}
|
|
1243
1235
|
*/
|
|
1244
1236
|
readonly fleet_los_mod: number | undefined;
|
|
1245
1237
|
/**
|
|
@@ -1250,7 +1242,7 @@ export class Fleet {
|
|
|
1250
1242
|
len: number;
|
|
1251
1243
|
/**
|
|
1252
1244
|
*/
|
|
1253
|
-
xxh3:
|
|
1245
|
+
xxh3: bigint;
|
|
1254
1246
|
}
|
|
1255
1247
|
/**
|
|
1256
1248
|
*/
|
|
@@ -1269,6 +1261,10 @@ export class Gear {
|
|
|
1269
1261
|
* @returns {GearCategory}
|
|
1270
1262
|
*/
|
|
1271
1263
|
category(): GearCategory;
|
|
1264
|
+
/**
|
|
1265
|
+
* @returns {boolean}
|
|
1266
|
+
*/
|
|
1267
|
+
is_high_angle_mount(): boolean;
|
|
1272
1268
|
/**
|
|
1273
1269
|
* @returns {boolean}
|
|
1274
1270
|
*/
|
|
@@ -1364,14 +1360,12 @@ export class Gear {
|
|
|
1364
1360
|
*/
|
|
1365
1361
|
accuracy: number;
|
|
1366
1362
|
/**
|
|
1367
|
-
* @returns {number}
|
|
1368
1363
|
*/
|
|
1369
1364
|
readonly ace: number;
|
|
1370
1365
|
/**
|
|
1371
1366
|
*/
|
|
1372
1367
|
anti_air: number;
|
|
1373
1368
|
/**
|
|
1374
|
-
* @returns {number}
|
|
1375
1369
|
*/
|
|
1376
1370
|
readonly anti_bomber: number;
|
|
1377
1371
|
/**
|
|
@@ -1408,11 +1402,9 @@ export class Gear {
|
|
|
1408
1402
|
*/
|
|
1409
1403
|
gear_type: GearType;
|
|
1410
1404
|
/**
|
|
1411
|
-
* @returns {number}
|
|
1412
1405
|
*/
|
|
1413
1406
|
readonly gear_type_id: number;
|
|
1414
1407
|
/**
|
|
1415
|
-
* @returns {number}
|
|
1416
1408
|
*/
|
|
1417
1409
|
readonly icon_id: number;
|
|
1418
1410
|
/**
|
|
@@ -1422,7 +1414,6 @@ export class Gear {
|
|
|
1422
1414
|
*/
|
|
1423
1415
|
improvable: boolean;
|
|
1424
1416
|
/**
|
|
1425
|
-
* @returns {number}
|
|
1426
1417
|
*/
|
|
1427
1418
|
readonly interception: number;
|
|
1428
1419
|
/**
|
|
@@ -1447,7 +1438,6 @@ export class Gear {
|
|
|
1447
1438
|
*/
|
|
1448
1439
|
ship_anti_air_resistance: number;
|
|
1449
1440
|
/**
|
|
1450
|
-
* @returns {number}
|
|
1451
1441
|
*/
|
|
1452
1442
|
readonly special_type_id: number;
|
|
1453
1443
|
/**
|
|
@@ -1464,7 +1454,7 @@ export class Gear {
|
|
|
1464
1454
|
types: Uint8Array;
|
|
1465
1455
|
/**
|
|
1466
1456
|
*/
|
|
1467
|
-
xxh3:
|
|
1457
|
+
xxh3: bigint;
|
|
1468
1458
|
}
|
|
1469
1459
|
/**
|
|
1470
1460
|
*/
|
|
@@ -1657,7 +1647,7 @@ export class Org {
|
|
|
1657
1647
|
sortie: string;
|
|
1658
1648
|
/**
|
|
1659
1649
|
*/
|
|
1660
|
-
xxh3:
|
|
1650
|
+
xxh3: bigint;
|
|
1661
1651
|
}
|
|
1662
1652
|
/**
|
|
1663
1653
|
*/
|
|
@@ -1815,11 +1805,6 @@ export class Ship {
|
|
|
1815
1805
|
* @returns {number}
|
|
1816
1806
|
*/
|
|
1817
1807
|
cruiser_fit_bonus(): number;
|
|
1818
|
-
/**
|
|
1819
|
-
* @param {boolean} is_night
|
|
1820
|
-
* @returns {number}
|
|
1821
|
-
*/
|
|
1822
|
-
fit_gun_bonus(is_night: boolean): number;
|
|
1823
1808
|
/**
|
|
1824
1809
|
* @returns {number | undefined}
|
|
1825
1810
|
*/
|
|
@@ -1853,27 +1838,42 @@ export class Ship {
|
|
|
1853
1838
|
* @returns {number | undefined}
|
|
1854
1839
|
*/
|
|
1855
1840
|
elos(node_divaricated_factor: number): number | undefined;
|
|
1841
|
+
/**
|
|
1842
|
+
* 確殺攻撃力
|
|
1843
|
+
* @returns {number | undefined}
|
|
1844
|
+
*/
|
|
1845
|
+
ohko_power(): number | undefined;
|
|
1856
1846
|
/**
|
|
1857
1847
|
* @param {number} value
|
|
1858
1848
|
*/
|
|
1859
1849
|
take_damage(value: number): void;
|
|
1860
1850
|
/**
|
|
1851
|
+
* @returns {number | undefined}
|
|
1852
|
+
*/
|
|
1853
|
+
state_day_gunfit_accuracy(): number | undefined;
|
|
1854
|
+
/**
|
|
1855
|
+
* @returns {number | undefined}
|
|
1856
|
+
*/
|
|
1857
|
+
state_night_gunfit_accuracy(): number | undefined;
|
|
1858
|
+
/**
|
|
1859
|
+
* フィット砲補正
|
|
1860
|
+
* @param {boolean} is_night
|
|
1861
1861
|
* @returns {number}
|
|
1862
1862
|
*/
|
|
1863
|
+
gunfit_accuracy(is_night: boolean): number;
|
|
1864
|
+
/**
|
|
1865
|
+
*/
|
|
1863
1866
|
readonly accuracy: number;
|
|
1864
1867
|
/**
|
|
1865
1868
|
*/
|
|
1866
1869
|
ammo: number;
|
|
1867
1870
|
/**
|
|
1868
|
-
* @returns {number | undefined}
|
|
1869
1871
|
*/
|
|
1870
1872
|
readonly anti_air: number | undefined;
|
|
1871
1873
|
/**
|
|
1872
|
-
* @returns {number | undefined}
|
|
1873
1874
|
*/
|
|
1874
1875
|
readonly armor: number | undefined;
|
|
1875
1876
|
/**
|
|
1876
|
-
* @returns {number | undefined}
|
|
1877
1877
|
*/
|
|
1878
1878
|
readonly asw: number | undefined;
|
|
1879
1879
|
/**
|
|
@@ -1883,11 +1883,9 @@ export class Ship {
|
|
|
1883
1883
|
*/
|
|
1884
1884
|
current_hp: number;
|
|
1885
1885
|
/**
|
|
1886
|
-
* @returns {number | undefined}
|
|
1887
1886
|
*/
|
|
1888
1887
|
readonly evasion: number | undefined;
|
|
1889
1888
|
/**
|
|
1890
|
-
* @returns {number | undefined}
|
|
1891
1889
|
*/
|
|
1892
1890
|
readonly firepower: number | undefined;
|
|
1893
1891
|
/**
|
|
@@ -1896,78 +1894,64 @@ export class Ship {
|
|
|
1896
1894
|
/**
|
|
1897
1895
|
*/
|
|
1898
1896
|
id: string;
|
|
1897
|
+
/**
|
|
1898
|
+
*/
|
|
1899
|
+
readonly innate_torpedo_accuracy: number;
|
|
1899
1900
|
/**
|
|
1900
1901
|
*/
|
|
1901
1902
|
level: number;
|
|
1902
1903
|
/**
|
|
1903
|
-
* @returns {number | undefined}
|
|
1904
1904
|
*/
|
|
1905
1905
|
readonly los: number | undefined;
|
|
1906
1906
|
/**
|
|
1907
|
-
* @returns {number | undefined}
|
|
1908
1907
|
*/
|
|
1909
1908
|
readonly luck: number | undefined;
|
|
1910
1909
|
/**
|
|
1911
|
-
* @returns {number}
|
|
1912
1910
|
*/
|
|
1913
1911
|
readonly max_ammo: number;
|
|
1914
1912
|
/**
|
|
1915
|
-
* @returns {number}
|
|
1916
1913
|
*/
|
|
1917
1914
|
readonly max_fuel: number;
|
|
1918
1915
|
/**
|
|
1919
|
-
* @returns {number | undefined}
|
|
1920
1916
|
*/
|
|
1921
1917
|
readonly max_hp: number | undefined;
|
|
1922
1918
|
/**
|
|
1923
1919
|
*/
|
|
1924
1920
|
morale: number;
|
|
1925
1921
|
/**
|
|
1926
|
-
* @returns {number | undefined}
|
|
1927
1922
|
*/
|
|
1928
1923
|
readonly naked_anti_air: number | undefined;
|
|
1929
1924
|
/**
|
|
1930
|
-
* @returns {number | undefined}
|
|
1931
1925
|
*/
|
|
1932
1926
|
readonly naked_armor: number | undefined;
|
|
1933
1927
|
/**
|
|
1934
|
-
* @returns {number | undefined}
|
|
1935
1928
|
*/
|
|
1936
1929
|
readonly naked_asw: number | undefined;
|
|
1937
1930
|
/**
|
|
1938
|
-
* @returns {number | undefined}
|
|
1939
1931
|
*/
|
|
1940
1932
|
readonly naked_evasion: number | undefined;
|
|
1941
1933
|
/**
|
|
1942
|
-
* @returns {number | undefined}
|
|
1943
1934
|
*/
|
|
1944
1935
|
readonly naked_firepower: number | undefined;
|
|
1945
1936
|
/**
|
|
1946
|
-
* @returns {number | undefined}
|
|
1947
1937
|
*/
|
|
1948
1938
|
readonly naked_los: number | undefined;
|
|
1949
1939
|
/**
|
|
1950
|
-
* @returns {number | undefined}
|
|
1951
1940
|
*/
|
|
1952
1941
|
readonly naked_range: number | undefined;
|
|
1953
1942
|
/**
|
|
1954
|
-
* @returns {number}
|
|
1955
1943
|
*/
|
|
1956
1944
|
readonly naked_speed: number;
|
|
1957
1945
|
/**
|
|
1958
|
-
* @returns {number | undefined}
|
|
1959
1946
|
*/
|
|
1960
1947
|
readonly naked_torpedo: number | undefined;
|
|
1961
1948
|
/**
|
|
1962
|
-
* @returns {string}
|
|
1963
1949
|
*/
|
|
1964
1950
|
readonly name: string;
|
|
1965
1951
|
/**
|
|
1966
|
-
* @returns {number}
|
|
1967
1952
|
*/
|
|
1968
1953
|
readonly next_id: number;
|
|
1969
1954
|
/**
|
|
1970
|
-
* @returns {number | undefined}
|
|
1971
1955
|
*/
|
|
1972
1956
|
readonly range: number | undefined;
|
|
1973
1957
|
/**
|
|
@@ -1977,41 +1961,30 @@ export class Ship {
|
|
|
1977
1961
|
*/
|
|
1978
1962
|
ship_type: ShipType;
|
|
1979
1963
|
/**
|
|
1980
|
-
* @returns {number}
|
|
1981
1964
|
*/
|
|
1982
1965
|
readonly slotnum: number;
|
|
1983
1966
|
/**
|
|
1984
1967
|
*/
|
|
1985
1968
|
slots: SlotSizeVec;
|
|
1986
1969
|
/**
|
|
1987
|
-
* @returns {number}
|
|
1988
1970
|
*/
|
|
1989
1971
|
readonly sort_id: number;
|
|
1990
1972
|
/**
|
|
1991
|
-
* @returns {number}
|
|
1992
1973
|
*/
|
|
1993
1974
|
readonly speed: number;
|
|
1994
1975
|
/**
|
|
1995
|
-
* @returns {number}
|
|
1996
1976
|
*/
|
|
1997
1977
|
readonly stype: number;
|
|
1998
1978
|
/**
|
|
1999
|
-
* @returns {number | undefined}
|
|
2000
1979
|
*/
|
|
2001
1980
|
readonly torpedo: number | undefined;
|
|
2002
1981
|
/**
|
|
2003
|
-
* @returns {number}
|
|
2004
|
-
*/
|
|
2005
|
-
readonly torpedo_accuracy_mod: number;
|
|
2006
|
-
/**
|
|
2007
|
-
* @returns {boolean}
|
|
2008
1982
|
*/
|
|
2009
1983
|
readonly useful: boolean;
|
|
2010
1984
|
/**
|
|
2011
1985
|
*/
|
|
2012
|
-
xxh3:
|
|
1986
|
+
xxh3: bigint;
|
|
2013
1987
|
/**
|
|
2014
|
-
* @returns {string}
|
|
2015
1988
|
*/
|
|
2016
1989
|
readonly yomi: string;
|
|
2017
1990
|
}
|