Table of Contents

Class SettlementTaxModel

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

Constructors

SettlementTaxModel()

protected SettlementTaxModel()

Properties

MaximumDecreaseBasedOnSecuritySecurity

public abstract int MaximumDecreaseBasedOnSecuritySecurity { get; }

Property Value

int

SettlementCommissionDecreaseSecurityThreshold

public abstract int SettlementCommissionDecreaseSecurityThreshold { get; }

Property Value

int

SettlementCommissionRateTown

public abstract float SettlementCommissionRateTown { get; }

Property Value

float

SettlementCommissionRateVillage

public abstract float SettlementCommissionRateVillage { get; }

Property Value

float

Methods

CalculateTownTax(Town, bool)

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

Parameters

town Town
includeDescriptions bool

Returns

ExplainedNumber

CalculateVillageTaxFromIncome(Village, int)

public abstract int CalculateVillageTaxFromIncome(Village village, int marketIncome)

Parameters

village Village
marketIncome int

Returns

int

GetTownCommissionChangeBasedOnSecurity(Town, float)

public abstract float GetTownCommissionChangeBasedOnSecurity(Town town, float commission)

Parameters

town Town
commission float

Returns

float

GetTownTaxRatio(Town)

public abstract float GetTownTaxRatio(Town town)

Parameters

town Town

Returns

float

GetVillageTaxRatio()

public abstract float GetVillageTaxRatio()

Returns

float

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