Table of Contents

Class TargetScoreCalculatingModel

Namespace
TaleWorlds.CampaignSystem.ComponentInterfaces
Assembly
TaleWorlds.CampaignSystem.dll
public abstract class TargetScoreCalculatingModel : GameModel
Inheritance
TargetScoreCalculatingModel
Derived
Inherited Members

Constructors

TargetScoreCalculatingModel()

protected TargetScoreCalculatingModel()

Properties

AssaultingTownFactor

public abstract float AssaultingTownFactor { get; }

Property Value

float

BesiegingFactor

public abstract float BesiegingFactor { get; }

Property Value

float

DefendingFactor

public abstract float DefendingFactor { get; }

Property Value

float

RaidingFactor

public abstract float RaidingFactor { get; }

Property Value

float

TravelingToAssignmentFactor

public abstract float TravelingToAssignmentFactor { get; }

Property Value

float

Methods

CalculatePatrollingScoreForSettlement(Settlement, MobileParty)

public abstract float CalculatePatrollingScoreForSettlement(Settlement targetSettlement, MobileParty mobileParty)

Parameters

targetSettlement Settlement
mobileParty MobileParty

Returns

float

CurrentObjectiveValue(MobileParty)

public abstract float CurrentObjectiveValue(MobileParty mobileParty)

Parameters

mobileParty MobileParty

Returns

float

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

public abstract 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).