fleethub-core 1.11.13 → 1.11.14

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.
@@ -185,6 +185,18 @@ export interface ShipState extends GearVecState, SlotSizeVecState {
185
185
 
186
186
  export type ShipKey = "s1" | "s2" | "s3" | "s4" | "s5" | "s6" | "s7";
187
187
 
188
+ export interface AttackAnalysis {
189
+ attacker_is_player: boolean;
190
+ attacker_ship_id: number;
191
+ target_ship_id: number;
192
+ historical_params: HistoricalParams;
193
+ day: ActionReport<DayPhaseAttackStyle>;
194
+ night: ActionReport<NightPhaseAttackStyle>;
195
+ closing_torpedo: ActionReport<TorpedoAttackStyle>;
196
+ opening_asw: ActionReport<AswAttackStyle>;
197
+ support_shelling: ActionReport<SupportShellingStyle>;
198
+ }
199
+
188
200
  export type DayCutin =
189
201
  | "Zuiun"
190
202
  | "AirSea"
@@ -230,22 +242,6 @@ export type DayCutinLike = DayCutin | FleetCutin;
230
242
 
231
243
  export type NightCutinLike = NightCutin | FleetCutin;
232
244
 
233
- export type SingleFormation =
234
- | "LineAhead"
235
- | "DoubleLine"
236
- | "Diamond"
237
- | "Echelon"
238
- | "LineAbreast"
239
- | "Vanguard";
240
-
241
- export type CombinedFormation =
242
- | "Cruising1"
243
- | "Cruising2"
244
- | "Cruising3"
245
- | "Cruising4";
246
-
247
- export type Formation = SingleFormation | CombinedFormation;
248
-
249
245
  export type GearType =
250
246
  | "Unknown"
251
247
  | "SmallMainGun"
@@ -430,19 +426,21 @@ export interface DayContactChance {
430
426
  total: number;
431
427
  }
432
428
 
433
- export interface AttackAnalysis {
434
- attacker_is_player: boolean;
435
- attacker_ship_id: number;
436
- target_ship_id: number;
437
- historical_params: HistoricalParams;
438
- day: ActionReport<DayPhaseAttackStyle>;
439
- night: ActionReport<NightPhaseAttackStyle>;
440
- closing_torpedo: ActionReport<TorpedoAttackStyle>;
441
- opening_asw: ActionReport<AswAttackStyle>;
442
- support_shelling: ActionReport<SupportShellingStyle>;
443
- }
429
+ export type SingleFormation =
430
+ | "LineAhead"
431
+ | "DoubleLine"
432
+ | "Diamond"
433
+ | "Echelon"
434
+ | "LineAbreast"
435
+ | "Vanguard";
444
436
 
445
- export type AirWaveType = "Jet" | "LandBase" | "Carrier";
437
+ export type CombinedFormation =
438
+ | "Cruising1"
439
+ | "Cruising2"
440
+ | "Cruising3"
441
+ | "Cruising4";
442
+
443
+ export type Formation = SingleFormation | CombinedFormation;
446
444
 
447
445
  export interface GearState {
448
446
  id?: string;
@@ -470,6 +468,8 @@ export interface MasterBattleDefinitions {
470
468
  historical_bonuses?: HistoricalBonusDef[];
471
469
  }
472
470
 
471
+ export type AirWaveType = "Jet" | "LandBase" | "Carrier";
472
+
473
473
  export interface BattleConditions {
474
474
  org_type: OrgType;
475
475
  role: Role;
@@ -2919,7 +2919,7 @@ class Ship {
2919
2919
  }
2920
2920
  module.exports.Ship = Ship;
2921
2921
 
2922
- module.exports.__wbg_createEquipmentBonuses_688b0d977a195ffc = function(arg0, arg1) {
2922
+ module.exports.__wbg_createEquipmentBonuses_9d77f4ee13daa4c9 = function(arg0, arg1) {
2923
2923
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2924
2924
  return addHeapObject(ret);
2925
2925
  };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleethub-core",
3
- "version": "1.11.13",
3
+ "version": "1.11.14",
4
4
  "license": "UNLICENSED",
5
5
  "exports": {
6
6
  "import": "./pkg/fleethub_core.js",
@@ -185,6 +185,18 @@ export interface ShipState extends GearVecState, SlotSizeVecState {
185
185
 
186
186
  export type ShipKey = "s1" | "s2" | "s3" | "s4" | "s5" | "s6" | "s7";
187
187
 
188
+ export interface AttackAnalysis {
189
+ attacker_is_player: boolean;
190
+ attacker_ship_id: number;
191
+ target_ship_id: number;
192
+ historical_params: HistoricalParams;
193
+ day: ActionReport<DayPhaseAttackStyle>;
194
+ night: ActionReport<NightPhaseAttackStyle>;
195
+ closing_torpedo: ActionReport<TorpedoAttackStyle>;
196
+ opening_asw: ActionReport<AswAttackStyle>;
197
+ support_shelling: ActionReport<SupportShellingStyle>;
198
+ }
199
+
188
200
  export type DayCutin =
189
201
  | "Zuiun"
190
202
  | "AirSea"
@@ -230,22 +242,6 @@ export type DayCutinLike = DayCutin | FleetCutin;
230
242
 
231
243
  export type NightCutinLike = NightCutin | FleetCutin;
232
244
 
233
- export type SingleFormation =
234
- | "LineAhead"
235
- | "DoubleLine"
236
- | "Diamond"
237
- | "Echelon"
238
- | "LineAbreast"
239
- | "Vanguard";
240
-
241
- export type CombinedFormation =
242
- | "Cruising1"
243
- | "Cruising2"
244
- | "Cruising3"
245
- | "Cruising4";
246
-
247
- export type Formation = SingleFormation | CombinedFormation;
248
-
249
245
  export type GearType =
250
246
  | "Unknown"
251
247
  | "SmallMainGun"
@@ -430,19 +426,21 @@ export interface DayContactChance {
430
426
  total: number;
431
427
  }
432
428
 
433
- export interface AttackAnalysis {
434
- attacker_is_player: boolean;
435
- attacker_ship_id: number;
436
- target_ship_id: number;
437
- historical_params: HistoricalParams;
438
- day: ActionReport<DayPhaseAttackStyle>;
439
- night: ActionReport<NightPhaseAttackStyle>;
440
- closing_torpedo: ActionReport<TorpedoAttackStyle>;
441
- opening_asw: ActionReport<AswAttackStyle>;
442
- support_shelling: ActionReport<SupportShellingStyle>;
443
- }
429
+ export type SingleFormation =
430
+ | "LineAhead"
431
+ | "DoubleLine"
432
+ | "Diamond"
433
+ | "Echelon"
434
+ | "LineAbreast"
435
+ | "Vanguard";
444
436
 
445
- export type AirWaveType = "Jet" | "LandBase" | "Carrier";
437
+ export type CombinedFormation =
438
+ | "Cruising1"
439
+ | "Cruising2"
440
+ | "Cruising3"
441
+ | "Cruising4";
442
+
443
+ export type Formation = SingleFormation | CombinedFormation;
446
444
 
447
445
  export interface GearState {
448
446
  id?: string;
@@ -470,6 +468,8 @@ export interface MasterBattleDefinitions {
470
468
  historical_bonuses?: HistoricalBonusDef[];
471
469
  }
472
470
 
471
+ export type AirWaveType = "Jet" | "LandBase" | "Carrier";
472
+
473
473
  export interface BattleConditions {
474
474
  org_type: OrgType;
475
475
  role: Role;
@@ -2917,7 +2917,7 @@ export class Ship {
2917
2917
  }
2918
2918
  }
2919
2919
 
2920
- export function __wbg_createEquipmentBonuses_688b0d977a195ffc(arg0, arg1) {
2920
+ export function __wbg_createEquipmentBonuses_9d77f4ee13daa4c9(arg0, arg1) {
2921
2921
  const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
2922
2922
  return addHeapObject(ret);
2923
2923
  };
Binary file