Class OrderOfBattleHeroItemVM
- Assembly
- TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class OrderOfBattleHeroItemVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
OrderOfBattleHeroItemVM
- Implements
- Inherited Members
Constructors
OrderOfBattleHeroItemVM()
public OrderOfBattleHeroItemVM()
OrderOfBattleHeroItemVM(Agent)
public OrderOfBattleHeroItemVM(Agent agent)
Parameters
agent
Agent
Fields
Agent
public readonly Agent Agent
Field Value
GetAgentTooltip
public static Func<Agent, List<TooltipProperty>> GetAgentTooltip
Field Value
OnHeroAssignedFormationChanged
public static Action<OrderOfBattleHeroItemVM> OnHeroAssignedFormationChanged
Field Value
OnHeroAssignmentBegin
public static Action<OrderOfBattleHeroItemVM> OnHeroAssignmentBegin
Field Value
OnHeroAssignmentEnd
public static Action<OrderOfBattleHeroItemVM> OnHeroAssignmentEnd
Field Value
OnHeroSelection
public static Action<OrderOfBattleHeroItemVM> OnHeroSelection
Field Value
Properties
BannerOfHero
public ItemObject BannerOfHero { get; }
Property Value
CurrentAssignedFormationItem
public OrderOfBattleFormationItemVM CurrentAssignedFormationItem { get; set; }
Property Value
HasMismatchedAssignment
[DataSourceProperty]
public bool HasMismatchedAssignment { get; set; }
Property Value
ImageIdentifier
[DataSourceProperty]
public ImageIdentifierVM ImageIdentifier { get; set; }
Property Value
InitialFormation
public Formation InitialFormation { get; }
Property Value
InitialFormationItem
public OrderOfBattleFormationItemVM InitialFormationItem { get; }
Property Value
IsAssignedBeforePlayer
public bool IsAssignedBeforePlayer { get; }
Property Value
IsAssignedToAFormation
[DataSourceProperty]
public bool IsAssignedToAFormation { get; set; }
Property Value
IsDisabled
public bool IsDisabled { get; set; }
Property Value
IsHighlightActive
[DataSourceProperty]
public bool IsHighlightActive { get; set; }
Property Value
IsLeadingAFormation
[DataSourceProperty]
public bool IsLeadingAFormation { get; set; }
Property Value
IsMainHero
public bool IsMainHero { get; set; }
Property Value
IsSelected
[DataSourceProperty]
public bool IsSelected { get; set; }
Property Value
IsShown
public bool IsShown { get; set; }
Property Value
MismatchedAssignmentDescriptionText
[DataSourceProperty]
public string MismatchedAssignmentDescriptionText { get; set; }
Property Value
Tooltip
[DataSourceProperty]
public BasicTooltipViewModel Tooltip { get; set; }
Property Value
Methods
OnAssignmentRemoved()
public void OnAssignmentRemoved()
RefreshAssignmentInfo()
public void RefreshAssignmentInfo()
RefreshInformation()
public void RefreshInformation()
RefreshValues()
public override void RefreshValues()
SetInitialFormation(OrderOfBattleFormationItemVM)
public void SetInitialFormation(OrderOfBattleFormationItemVM formation)
Parameters
formation
OrderOfBattleFormationItemVM
SetIsPreAssigned(bool)
public void SetIsPreAssigned(bool isPreAssigned)
Parameters
isPreAssigned
bool
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).