Class OrderOfBattleFormationClassVM
- Assembly
- TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class OrderOfBattleFormationClassVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
OrderOfBattleFormationClassVM
- Implements
- Inherited Members
Constructors
OrderOfBattleFormationClassVM(OrderOfBattleFormationItemVM, FormationClass)
public OrderOfBattleFormationClassVM(OrderOfBattleFormationItemVM formationItem, FormationClass formationClass = FormationClass.NumberOfAllFormations)
Parameters
formationItem
OrderOfBattleFormationItemVMformationClass
FormationClass
Fields
BelongedFormationItem
public readonly OrderOfBattleFormationItemVM BelongedFormationItem
Field Value
CanAdjustWeight
public static Func<OrderOfBattleFormationClassVM, bool> CanAdjustWeight
Field Value
GetTotalCountOfTroopType
public static Func<FormationClass, int> GetTotalCountOfTroopType
Field Value
OnClassChanged
public static Action<OrderOfBattleFormationClassVM, FormationClass> OnClassChanged
Field Value
OnWeightAdjustedCallback
public static Action<OrderOfBattleFormationClassVM> OnWeightAdjustedCallback
Field Value
Properties
Class
public FormationClass Class { get; set; }
Property Value
IsAdjustable
[DataSourceProperty]
public bool IsAdjustable { get; set; }
Property Value
IsLocked
[DataSourceProperty]
public bool IsLocked { get; set; }
Property Value
IsUnset
[DataSourceProperty]
public bool IsUnset { get; set; }
Property Value
IsWeightHighlightActive
[DataSourceProperty]
public bool IsWeightHighlightActive { get; set; }
Property Value
LockWeightHint
[DataSourceProperty]
public HintViewModel LockWeightHint { get; set; }
Property Value
PreviousWeight
public int PreviousWeight { get; }
Property Value
ShownFormationClass
[DataSourceProperty]
public int ShownFormationClass { get; set; }
Property Value
Weight
[DataSourceProperty]
public int Weight { get; set; }
Property Value
WeightText
[DataSourceProperty]
public string WeightText { get; set; }
Property Value
Methods
RefreshValues()
public override void RefreshValues()
SetWeightAdjustmentLock(bool)
public void SetWeightAdjustmentLock(bool isLocked)
Parameters
isLocked
bool
UpdateWeightAdjustable()
public void UpdateWeightAdjustable()
UpdateWeightText()
public void UpdateWeightText()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).