Inherits TaleWorlds.Core.GameModel.
Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultMilitaryPowerModel.
|
enum | PowerCalculationContext {
FieldBattle
,
FieldBattleSimulation
,
RaidAsAttacker
,
RaidAsDefender
,
RaidSimulationAsAttacker
,
RaidSimulationAsDefender
,
SiegeSimulationAsAttacker
,
SiegeSimulationAsDefender
,
SiegeAsAttacker
,
SiegeAsDefender
,
ToCalculateSettlementSecurity
,
Hideout
,
Default
} |
|
◆ PowerCalculationContext
Enumerator |
---|
FieldBattle | |
FieldBattleSimulation | |
RaidAsAttacker | |
RaidAsDefender | |
RaidSimulationAsAttacker | |
RaidSimulationAsDefender | |
SiegeSimulationAsAttacker | |
SiegeSimulationAsDefender | |
SiegeAsAttacker | |
SiegeAsDefender | |
ToCalculateSettlementSecurity | |
Hideout | |
Default | |
◆ GetTroopPowerBasedOnContext()
abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MilitaryPowerModel.GetTroopPowerBasedOnContext |
( |
CharacterObject |
troop, |
|
|
MapEvent.BattleTypes |
battleType = MapEvent.BattleTypes.None , |
|
|
BattleSideEnum |
battleSideEnum = BattleSideEnum.None , |
|
|
bool |
isSimulation = false |
|
) |
| |
|
pure virtual |
◆ GetTroopPowerToCalculateSecurity()
abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.MilitaryPowerModel.GetTroopPowerToCalculateSecurity |
( |
CharacterObject |
troop | ) |
|
|
pure virtual |