//! Copyright (C) Call of Nil contributors //! SPDX-License-Identifier: AGPL-3.0-only import { ArmyPersonnel } from './ArmyPersonnel'; import { BattleWinner } from './BattleWinner'; import { BuildingLevel } from './BuildingLevel'; import { BuildingLevelDiff } from './BuildingLevelDiff'; import { Luck } from './Luck'; export type BattleResult = { attackerPersonnel: ArmyPersonnel; attackerSurvivingPersonnel: ArmyPersonnel; defenderPersonnel: ArmyPersonnel; defenderSurvivingPersonnel: ArmyPersonnel; wallLevel: BuildingLevel; downgradedWallLevel: BuildingLevelDiff; winner: BattleWinner; luck: Luck; };