Table of Contents

Class DefaultSettlementSecurityModel

Namespace
TaleWorlds.CampaignSystem.GameComponents
Assembly
TaleWorlds.CampaignSystem.dll
public class DefaultSettlementSecurityModel : SettlementSecurityModel
Inheritance
DefaultSettlementSecurityModel
Inherited Members

Constructors

DefaultSettlementSecurityModel()

public DefaultSettlementSecurityModel()

Properties

DailyNotablePowerBonus

public override int DailyNotablePowerBonus { get; }

Property Value

int

DailyNotablePowerPenalty

public override int DailyNotablePowerPenalty { get; }

Property Value

int

DailyNotableRelationBonus

public override int DailyNotableRelationBonus { get; }

Property Value

int

DailyNotableRelationPenalty

public override int DailyNotableRelationPenalty { get; }

Property Value

int

HideoutClearedSecurityEffectRadius

public override float HideoutClearedSecurityEffectRadius { get; }

Property Value

float

HideoutClearedSecurityGain

public override int HideoutClearedSecurityGain { get; }

Property Value

int

MapEventSecurityEffectRadius

public override float MapEventSecurityEffectRadius { get; }

Property Value

float

MaximumSecurityInSettlement

public override int MaximumSecurityInSettlement { get; }

Property Value

int

SecurityDriftMedium

public override int SecurityDriftMedium { get; }

Property Value

int

SettlementTaxBoostPercentage

public override int SettlementTaxBoostPercentage { get; }

Property Value

int

SettlementTaxPenaltyPercentage

public override int SettlementTaxPenaltyPercentage { get; }

Property Value

int

ThresholdForHigherTaxCorruption

public override int ThresholdForHigherTaxCorruption { get; }

Property Value

int

ThresholdForNotableRelationBonus

public override int ThresholdForNotableRelationBonus { get; }

Property Value

int

ThresholdForNotableRelationPenalty

public override int ThresholdForNotableRelationPenalty { get; }

Property Value

int

ThresholdForTaxBoost

public override int ThresholdForTaxBoost { get; }

Property Value

int

ThresholdForTaxCorruption

public override int ThresholdForTaxCorruption { get; }

Property Value

int

Methods

CalculateGoldCutDueToLowSecurity(Town, ref ExplainedNumber)

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

Parameters

town Town
explainedNumber ExplainedNumber

CalculateGoldGainDueToHighSecurity(Town, ref ExplainedNumber)

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

Parameters

town Town
explainedNumber ExplainedNumber

CalculateSecurityChange(Town, bool)

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

Parameters

town Town
includeDescriptions bool

Returns

ExplainedNumber

GetLootedNearbyPartySecurityEffect(Town, float)

public override float GetLootedNearbyPartySecurityEffect(Town town, float sumOfAttackedPartyStrengths)

Parameters

town Town
sumOfAttackedPartyStrengths float

Returns

float

GetNearbyBanditPartyDefeatedSecurityEffect(Town, float)

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