Table of Contents

Class DefaultTargetScoreCalculatingModel

Namespace
TaleWorlds.CampaignSystem.GameComponents
Assembly
TaleWorlds.CampaignSystem.dll
public class DefaultTargetScoreCalculatingModel : TargetScoreCalculatingModel
Inheritance
DefaultTargetScoreCalculatingModel
Inherited Members

Constructors

DefaultTargetScoreCalculatingModel()

public DefaultTargetScoreCalculatingModel()

Properties

AssaultingTownFactor

public override float AssaultingTownFactor { get; }

Property Value

float

BesiegingFactor

public override float BesiegingFactor { get; }

Property Value

float

DefendingFactor

public override float DefendingFactor { get; }

Property Value

float

RaidingFactor

public override float RaidingFactor { get; }

Property Value

float

TravelingToAssignmentFactor

public override float TravelingToAssignmentFactor { get; }

Property Value

float

Methods

CalculatePatrollingScoreForSettlement(Settlement, MobileParty)

public override float CalculatePatrollingScoreForSettlement(Settlement settlement, MobileParty mobileParty)

Parameters

settlement Settlement
mobileParty MobileParty

Returns

float

CurrentObjectiveValue(MobileParty)

public override float CurrentObjectiveValue(MobileParty mobileParty)

Parameters

mobileParty MobileParty

Returns

float

GetTargetScoreForFaction(Settlement, ArmyTypes, MobileParty, float, int, float)

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

Parameters

targetSettlement Settlement
missionType Army.ArmyTypes
mobileParty MobileParty
ourStrength float
numberOfEnemyFactionSettlements int
totalEnemyMobilePartyStrength float

Returns

float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).