M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultCombatSimulationModel.

Public Member Functions

abstract int SimulateHit (CharacterObject strikerTroop, CharacterObject struckTroop, PartyBase strikerParty, PartyBase struckParty, float strikerAdvantage, MapEvent battle)
 
abstract int int attackerRounds GetSimulationRoundsForBattle (MapEvent mapEvent, int numDefenders, int numAttackers)
 
abstract int GetNumberOfEquipmentsBuilt (Settlement settlement)
 
abstract float GetMaximumSiegeEquipmentProgress (Settlement settlement)
 
abstract float GetSettlementAdvantage (Settlement settlement)
 
abstract float float attackerAdvantage GetBattleAdvantage (PartyBase defenderParty, PartyBase attackerParty, MapEvent.BattleTypes mapEventType, Settlement settlement)
 

Public Attributes

abstract int defenderRounds
 
abstract float defenderAdvantage
 

Member Function Documentation

◆ SimulateHit()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.SimulateHit ( CharacterObject  strikerTroop,
CharacterObject  struckTroop,
PartyBase  strikerParty,
PartyBase  struckParty,
float  strikerAdvantage,
MapEvent  battle 
)
pure virtual

◆ GetSimulationRoundsForBattle()

abstract int int attackerRounds TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetSimulationRoundsForBattle ( MapEvent  mapEvent,
int  numDefenders,
int  numAttackers 
)

◆ GetNumberOfEquipmentsBuilt()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetNumberOfEquipmentsBuilt ( Settlement  settlement)
pure virtual

◆ GetMaximumSiegeEquipmentProgress()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetMaximumSiegeEquipmentProgress ( Settlement  settlement)
pure virtual

◆ GetSettlementAdvantage()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetSettlementAdvantage ( Settlement  settlement)
pure virtual

◆ GetBattleAdvantage()

abstract float float attackerAdvantage TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetBattleAdvantage ( PartyBase  defenderParty,
PartyBase  attackerParty,
MapEvent.BattleTypes  mapEventType,
Settlement  settlement 
)

Member Data Documentation

◆ defenderRounds

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.defenderRounds

◆ defenderAdvantage

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.defenderAdvantage