Class KingdomArmyItemVM
- 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
ArmyonSelect
Action<KingdomArmyItemVM>
Fields
Army
public readonly Army Army
Field Value
Properties
ArmyName
[DataSourceProperty]
public string ArmyName { get; set; }
Property Value
Cohesion
[DataSourceProperty]
public int Cohesion { get; set; }
Property Value
CohesionLabel
[DataSourceProperty]
public string CohesionLabel { get; set; }
Property Value
DistanceToMainParty
public float DistanceToMainParty { get; set; }
Property Value
IsMainArmy
[DataSourceProperty]
public bool IsMainArmy { get; set; }
Property Value
Leader
[DataSourceProperty]
public HeroVM Leader { get; set; }
Property Value
Location
[DataSourceProperty]
public string Location { get; set; }
Property Value
LordCount
[DataSourceProperty]
public int LordCount { get; set; }
Property Value
Parties
[DataSourceProperty]
public MBBindingList<KingdomArmyPartyItemVM> Parties { get; set; }
Property Value
Strength
[DataSourceProperty]
public int Strength { get; set; }
Property Value
StrengthLabel
[DataSourceProperty]
public string StrengthLabel { get; set; }
Property Value
Methods
ExecuteLink(string)
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).