Table of Contents

Class KingdomArmyItemVM

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

Constructors

KingdomArmyItemVM(Army, Action<KingdomArmyItemVM>)

public KingdomArmyItemVM(Army army, Action<KingdomArmyItemVM> onSelect)

Parameters

army Army
onSelect Action<KingdomArmyItemVM>

Fields

Army

public readonly Army Army

Field Value

Army

Properties

ArmyName

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

Property Value

string

Cohesion

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

Property Value

int

CohesionLabel

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

Property Value

string

DistanceToMainParty

public float DistanceToMainParty { get; set; }

Property Value

float

IsMainArmy

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

Property Value

bool

Leader

[DataSourceProperty]
public HeroVM Leader { get; set; }

Property Value

HeroVM

Location

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

Property Value

string

LordCount

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

Property Value

int

Parties

[DataSourceProperty]
public MBBindingList<KingdomArmyPartyItemVM> Parties { get; set; }

Property Value

MBBindingList<KingdomArmyPartyItemVM>

Strength

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

Property Value

int

StrengthLabel

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

Property Value

string

Methods

protected void ExecuteLink(string link)

Parameters

link string

OnSelect()

protected override void OnSelect()

RefreshValues()

public override void RefreshValues()

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