Table of Contents

Class KingdomArmyVM

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

Constructors

KingdomArmyVM(Action, Action, Action<Army>)

public KingdomArmyVM(Action onManageArmy, Action refreshDecision, Action<Army> showArmyOnMap)

Parameters

onManageArmy Action
refreshDecision Action
showArmyOnMap Action<Army>

Properties

Armies

[DataSourceProperty]
public MBBindingList<KingdomArmyItemVM> Armies { get; set; }

Property Value

MBBindingList<KingdomArmyItemVM>

ArmyNameText

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

Property Value

string

ArmySortController

[DataSourceProperty]
public KingdomArmySortControllerVM ArmySortController { get; set; }

Property Value

KingdomArmySortControllerVM

CanChangeLeaderOfCurrentArmy

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

Property Value

bool

CanCreateArmy

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

Property Value

bool

CanDisbandCurrentArmy

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

Property Value

bool

CanManageCurrentArmy

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

Property Value

bool

CanShowLocationOfCurrentArmy

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

Property Value

bool

ChangeLeaderCost

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

Property Value

int

ChangeLeaderText

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

Property Value

string

CreateArmyHint

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

Property Value

HintViewModel

CreateArmyText

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

Property Value

string

CurrentSelectedArmy

[DataSourceProperty]
public KingdomArmyItemVM CurrentSelectedArmy { get; set; }

Property Value

KingdomArmyItemVM

DisbandActionExplanationText

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

Property Value

string

DisbandCost

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

Property Value

int

DisbandHint

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

Property Value

HintViewModel

DisbandText

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

Property Value

string

LeaderText

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

Property Value

string

LocationText

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

Property Value

string

ManageActionExplanationText

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

Property Value

string

ManageArmyHint

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

Property Value

HintViewModel

ManageText

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

Property Value

string

PartiesText

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

Property Value

string

PlayerHasArmy

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

Property Value

bool

ShowOnMapText

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

Property Value

string

StrengthText

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

Property Value

string

Methods

RefreshArmyList()

public void RefreshArmyList()

RefreshValues()

public override void RefreshValues()

SelectArmy(Army)

public void SelectArmy(Army army)

Parameters

army Army

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