Table of Contents

Class KingdomSettlementVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.KingdomManagement.Settlements
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class KingdomSettlementVM : KingdomCategoryVM, IViewModel, INotifyPropertyChanged
Inheritance
KingdomSettlementVM
Implements
Inherited Members

Constructors

KingdomSettlementVM(Action<KingdomDecision>, Action<Settlement>)

public KingdomSettlementVM(Action<KingdomDecision> forceDecision, Action<Settlement> onGrantFief)

Parameters

forceDecision Action<KingdomDecision>
onGrantFief Action<Settlement>

Properties

AnnexActionExplanationText

[DataSourceProperty]
public string AnnexActionExplanationText { get; set; }

Property Value

string

AnnexCost

[DataSourceProperty]
public int AnnexCost { get; set; }

Property Value

int

AnnexHint

[DataSourceProperty]
public HintViewModel AnnexHint { get; set; }

Property Value

HintViewModel

AnnexText

[DataSourceProperty]
public string AnnexText { get; set; }

Property Value

string

CanAnnexCurrentSettlement

[DataSourceProperty]
public bool CanAnnexCurrentSettlement { get; set; }

Property Value

bool

ClanText

[DataSourceProperty]
public string ClanText { get; set; }

Property Value

string

CurrentSelectedSettlement

[DataSourceProperty]
public KingdomSettlementItemVM CurrentSelectedSettlement { get; set; }

Property Value

KingdomSettlementItemVM

DefendersText

[DataSourceProperty]
public string DefendersText { get; set; }

Property Value

string

FoodText

[DataSourceProperty]
public string FoodText { get; set; }

Property Value

string

GarrisonText

[DataSourceProperty]
public string GarrisonText { get; set; }

Property Value

string

HasCost

[DataSourceProperty]
public bool HasCost { get; set; }

Property Value

bool

MilitiaText

[DataSourceProperty]
public string MilitiaText { get; set; }

Property Value

string

NameText

[DataSourceProperty]
public string NameText { get; set; }

Property Value

string

OwnerText

[DataSourceProperty]
public string OwnerText { get; set; }

Property Value

string

ProposeText

[DataSourceProperty]
public string ProposeText { get; set; }

Property Value

string

ProsperityText

[DataSourceProperty]
public string ProsperityText { get; set; }

Property Value

string

SettlementSortController

[DataSourceProperty]
public KingdomSettlementSortControllerVM SettlementSortController { get; set; }

Property Value

KingdomSettlementSortControllerVM

Settlements

[DataSourceProperty]
public MBBindingList<KingdomSettlementItemVM> Settlements { get; set; }

Property Value

MBBindingList<KingdomSettlementItemVM>

TypeText

[DataSourceProperty]
public string TypeText { get; set; }

Property Value

string

VillagesText

[DataSourceProperty]
public string VillagesText { get; set; }

Property Value

string

Methods

RefreshSettlementList()

public void RefreshSettlementList()

RefreshValues()

public override void RefreshValues()

SelectSettlement(Settlement)

public void SelectSettlement(Settlement settlement)

Parameters

settlement Settlement

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