fleethub-core 1.11.3 → 1.11.4
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 +24 -24
- 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 +24 -24
- package/pkg/fleethub_core_bg.js +1 -1
- package/pkg/fleethub_core_bg.wasm +0 -0
package/node/fleethub_core.d.ts
CHANGED
|
@@ -337,6 +337,28 @@ export interface FleetCutinAttackReport<T> extends AttackReport<T> {
|
|
|
337
337
|
power_mod: number;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
+
export interface BattleConditions {
|
|
341
|
+
org_type: OrgType;
|
|
342
|
+
role: Role;
|
|
343
|
+
ship_index: number;
|
|
344
|
+
fleet_len: number;
|
|
345
|
+
formation: Formation;
|
|
346
|
+
fleet_los_mod: number | null;
|
|
347
|
+
night_conditions: NightFleetConditions;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface NightConditions {
|
|
351
|
+
player?: NightFleetConditions;
|
|
352
|
+
enemy?: NightFleetConditions;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface NightFleetConditions {
|
|
356
|
+
night_contact_rank?: ContactRank | null;
|
|
357
|
+
starshell_index?: number | null;
|
|
358
|
+
searchlight_index?: number | null;
|
|
359
|
+
activates_large_searchlight?: boolean;
|
|
360
|
+
}
|
|
361
|
+
|
|
340
362
|
export type SingleFormation =
|
|
341
363
|
| "LineAhead"
|
|
342
364
|
| "DoubleLine"
|
|
@@ -353,8 +375,6 @@ export type CombinedFormation =
|
|
|
353
375
|
|
|
354
376
|
export type Formation = SingleFormation | CombinedFormation;
|
|
355
377
|
|
|
356
|
-
export type SlotSizeVec = (number | null)[];
|
|
357
|
-
|
|
358
378
|
export type GearVecInput = GearInput[];
|
|
359
379
|
|
|
360
380
|
export interface GearInput {
|
|
@@ -451,28 +471,6 @@ export interface EquipStype {
|
|
|
451
471
|
equip_type: number[];
|
|
452
472
|
}
|
|
453
473
|
|
|
454
|
-
export interface BattleConditions {
|
|
455
|
-
org_type: OrgType;
|
|
456
|
-
role: Role;
|
|
457
|
-
ship_index: number;
|
|
458
|
-
fleet_len: number;
|
|
459
|
-
formation: Formation;
|
|
460
|
-
fleet_los_mod: number | null;
|
|
461
|
-
night_conditions: NightFleetConditions;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export interface NightConditions {
|
|
465
|
-
player?: NightFleetConditions;
|
|
466
|
-
enemy?: NightFleetConditions;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
export interface NightFleetConditions {
|
|
470
|
-
night_contact_rank?: ContactRank | null;
|
|
471
|
-
starshell_index?: number | null;
|
|
472
|
-
searchlight_index?: number | null;
|
|
473
|
-
activates_large_searchlight?: boolean;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
474
|
export type DayCutin =
|
|
477
475
|
| "Zuiun"
|
|
478
476
|
| "AirSea"
|
|
@@ -518,6 +516,8 @@ export type DayCutinLike = DayCutin | FleetCutin;
|
|
|
518
516
|
|
|
519
517
|
export type NightCutinLike = NightCutin | FleetCutin;
|
|
520
518
|
|
|
519
|
+
export type SlotSizeVec = (number | null)[];
|
|
520
|
+
|
|
521
521
|
export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
522
522
|
|
|
523
523
|
export interface MoveShipPayload {
|
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_26dd5eae954d3b6a = 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
|
@@ -337,6 +337,28 @@ export interface FleetCutinAttackReport<T> extends AttackReport<T> {
|
|
|
337
337
|
power_mod: number;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
+
export interface BattleConditions {
|
|
341
|
+
org_type: OrgType;
|
|
342
|
+
role: Role;
|
|
343
|
+
ship_index: number;
|
|
344
|
+
fleet_len: number;
|
|
345
|
+
formation: Formation;
|
|
346
|
+
fleet_los_mod: number | null;
|
|
347
|
+
night_conditions: NightFleetConditions;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface NightConditions {
|
|
351
|
+
player?: NightFleetConditions;
|
|
352
|
+
enemy?: NightFleetConditions;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface NightFleetConditions {
|
|
356
|
+
night_contact_rank?: ContactRank | null;
|
|
357
|
+
starshell_index?: number | null;
|
|
358
|
+
searchlight_index?: number | null;
|
|
359
|
+
activates_large_searchlight?: boolean;
|
|
360
|
+
}
|
|
361
|
+
|
|
340
362
|
export type SingleFormation =
|
|
341
363
|
| "LineAhead"
|
|
342
364
|
| "DoubleLine"
|
|
@@ -353,8 +375,6 @@ export type CombinedFormation =
|
|
|
353
375
|
|
|
354
376
|
export type Formation = SingleFormation | CombinedFormation;
|
|
355
377
|
|
|
356
|
-
export type SlotSizeVec = (number | null)[];
|
|
357
|
-
|
|
358
378
|
export type GearVecInput = GearInput[];
|
|
359
379
|
|
|
360
380
|
export interface GearInput {
|
|
@@ -451,28 +471,6 @@ export interface EquipStype {
|
|
|
451
471
|
equip_type: number[];
|
|
452
472
|
}
|
|
453
473
|
|
|
454
|
-
export interface BattleConditions {
|
|
455
|
-
org_type: OrgType;
|
|
456
|
-
role: Role;
|
|
457
|
-
ship_index: number;
|
|
458
|
-
fleet_len: number;
|
|
459
|
-
formation: Formation;
|
|
460
|
-
fleet_los_mod: number | null;
|
|
461
|
-
night_conditions: NightFleetConditions;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export interface NightConditions {
|
|
465
|
-
player?: NightFleetConditions;
|
|
466
|
-
enemy?: NightFleetConditions;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
export interface NightFleetConditions {
|
|
470
|
-
night_contact_rank?: ContactRank | null;
|
|
471
|
-
starshell_index?: number | null;
|
|
472
|
-
searchlight_index?: number | null;
|
|
473
|
-
activates_large_searchlight?: boolean;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
474
|
export type DayCutin =
|
|
477
475
|
| "Zuiun"
|
|
478
476
|
| "AirSea"
|
|
@@ -518,6 +516,8 @@ export type DayCutinLike = DayCutin | FleetCutin;
|
|
|
518
516
|
|
|
519
517
|
export type NightCutinLike = NightCutin | FleetCutin;
|
|
520
518
|
|
|
519
|
+
export type SlotSizeVec = (number | null)[];
|
|
520
|
+
|
|
521
521
|
export type SpeedGroup = "A" | "B1" | "B2" | "C";
|
|
522
522
|
|
|
523
523
|
export interface MoveShipPayload {
|
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_26dd5eae954d3b6a(arg0, arg1) {
|
|
2897
2897
|
const ret = createEquipmentBonuses(takeObject(arg0), takeObject(arg1));
|
|
2898
2898
|
return addHeapObject(ret);
|
|
2899
2899
|
};
|
|
Binary file
|