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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultTargetScoreCalculatingModel.

Public Member Functions

abstract float GetTargetScoreForFaction (Settlement targetSettlement, Army.ArmyTypes missionType, MobileParty mobileParty, float ourStrength, int numberOfEnemyFactionSettlements=- 1, float totalEnemyMobilePartyStrength=-1)
 
abstract float CalculatePatrollingScoreForSettlement (Settlement targetSettlement, MobileParty mobileParty)
 
abstract float CurrentObjectiveValue (MobileParty mobileParty)
 

Properties

abstract float TravelingToAssignmentFactor [get]
 
abstract float BesiegingFactor [get]
 
abstract float AssaultingTownFactor [get]
 
abstract float RaidingFactor [get]
 
abstract float DefendingFactor [get]
 

Member Function Documentation

◆ GetTargetScoreForFaction()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.GetTargetScoreForFaction ( Settlement  targetSettlement,
Army.ArmyTypes  missionType,
MobileParty  mobileParty,
float  ourStrength,
int  numberOfEnemyFactionSettlements = - 1,
float  totalEnemyMobilePartyStrength = -1 
)
pure virtual

◆ CalculatePatrollingScoreForSettlement()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.CalculatePatrollingScoreForSettlement ( Settlement  targetSettlement,
MobileParty  mobileParty 
)
pure virtual

◆ CurrentObjectiveValue()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.CurrentObjectiveValue ( MobileParty  mobileParty)
pure virtual

Property Documentation

◆ TravelingToAssignmentFactor

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.TravelingToAssignmentFactor
get

◆ BesiegingFactor

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.BesiegingFactor
get

◆ AssaultingTownFactor

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.AssaultingTownFactor
get

◆ RaidingFactor

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.RaidingFactor
get

◆ DefendingFactor

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel.DefendingFactor
get