Table of Contents

Class SettlementSecurityModel

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

Constructors

SettlementSecurityModel()

protected SettlementSecurityModel()

Properties

DailyNotablePowerBonus

public abstract int DailyNotablePowerBonus { get; }

Property Value

int

DailyNotablePowerPenalty

public abstract int DailyNotablePowerPenalty { get; }

Property Value

int

DailyNotableRelationBonus

public abstract int DailyNotableRelationBonus { get; }

Property Value

int

DailyNotableRelationPenalty

public abstract int DailyNotableRelationPenalty { get; }

Property Value

int

HideoutClearedSecurityEffectRadius

public abstract float HideoutClearedSecurityEffectRadius { get; }

Property Value

float

HideoutClearedSecurityGain

public abstract int HideoutClearedSecurityGain { get; }

Property Value

int

MapEventSecurityEffectRadius

public abstract float MapEventSecurityEffectRadius { get; }

Property Value

float

MaximumSecurityInSettlement

public abstract int MaximumSecurityInSettlement { get; }

Property Value

int

SecurityDriftMedium

public abstract int SecurityDriftMedium { get; }

Property Value

int

SettlementTaxBoostPercentage

public abstract int SettlementTaxBoostPercentage { get; }

Property Value

int

SettlementTaxPenaltyPercentage

public abstract int SettlementTaxPenaltyPercentage { get; }

Property Value

int

ThresholdForHigherTaxCorruption

public abstract int ThresholdForHigherTaxCorruption { get; }

Property Value

int

ThresholdForNotableRelationBonus

public abstract int ThresholdForNotableRelationBonus { get; }

Property Value

int

ThresholdForNotableRelationPenalty

public abstract int ThresholdForNotableRelationPenalty { get; }

Property Value

int

ThresholdForTaxBoost

public abstract int ThresholdForTaxBoost { get; }

Property Value

int

ThresholdForTaxCorruption

public abstract int ThresholdForTaxCorruption { get; }

Property Value

int

Methods

CalculateGoldCutDueToLowSecurity(Town, ref ExplainedNumber)

public abstract void CalculateGoldCutDueToLowSecurity(Town town, ref ExplainedNumber explainedNumber)

Parameters

town Town
explainedNumber ExplainedNumber

CalculateGoldGainDueToHighSecurity(Town, ref ExplainedNumber)

public abstract void CalculateGoldGainDueToHighSecurity(Town town, ref ExplainedNumber explainedNumber)

Parameters

town Town
explainedNumber ExplainedNumber

CalculateSecurityChange(Town, bool)

public abstract ExplainedNumber CalculateSecurityChange(Town town, bool includeDescriptions = false)

Parameters

town Town
includeDescriptions bool

Returns

ExplainedNumber

GetLootedNearbyPartySecurityEffect(Town, float)

public abstract float GetLootedNearbyPartySecurityEffect(Town town, float sumOfAttackedPartyStrengths)

Parameters

town Town
sumOfAttackedPartyStrengths float

Returns

float

GetNearbyBanditPartyDefeatedSecurityEffect(Town, float)

public abstract float GetNearbyBanditPartyDefeatedSecurityEffect(Town town, float sumOfAttackedPartyStrengths)

Parameters

town Town
sumOfAttackedPartyStrengths float

Returns

float

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