Table of Contents

Class OrderOfBattleHeroItemVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.OrderOfBattle
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

Agent

GetAgentTooltip

public static Func<Agent, List<TooltipProperty>> GetAgentTooltip

Field Value

Func<Agent, List<TooltipProperty>>

OnHeroAssignedFormationChanged

public static Action<OrderOfBattleHeroItemVM> OnHeroAssignedFormationChanged

Field Value

Action<OrderOfBattleHeroItemVM>

OnHeroAssignmentBegin

public static Action<OrderOfBattleHeroItemVM> OnHeroAssignmentBegin

Field Value

Action<OrderOfBattleHeroItemVM>

OnHeroAssignmentEnd

public static Action<OrderOfBattleHeroItemVM> OnHeroAssignmentEnd

Field Value

Action<OrderOfBattleHeroItemVM>

OnHeroSelection

public static Action<OrderOfBattleHeroItemVM> OnHeroSelection

Field Value

Action<OrderOfBattleHeroItemVM>

Properties

BannerOfHero

public ItemObject BannerOfHero { get; }

Property Value

ItemObject

CurrentAssignedFormationItem

public OrderOfBattleFormationItemVM CurrentAssignedFormationItem { get; set; }

Property Value

OrderOfBattleFormationItemVM

HasMismatchedAssignment

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

Property Value

bool

ImageIdentifier

[DataSourceProperty]
public ImageIdentifierVM ImageIdentifier { get; set; }

Property Value

ImageIdentifierVM

InitialFormation

public Formation InitialFormation { get; }

Property Value

Formation

InitialFormationItem

public OrderOfBattleFormationItemVM InitialFormationItem { get; }

Property Value

OrderOfBattleFormationItemVM

IsAssignedBeforePlayer

public bool IsAssignedBeforePlayer { get; }

Property Value

bool

IsAssignedToAFormation

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

Property Value

bool

IsDisabled

public bool IsDisabled { get; set; }

Property Value

bool

IsHighlightActive

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

Property Value

bool

IsLeadingAFormation

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

Property Value

bool

IsMainHero

public bool IsMainHero { get; set; }

Property Value

bool

IsSelected

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

Property Value

bool

IsShown

public bool IsShown { get; set; }

Property Value

bool

MismatchedAssignmentDescriptionText

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

Property Value

string

Tooltip

[DataSourceProperty]
public BasicTooltipViewModel Tooltip { get; set; }

Property Value

BasicTooltipViewModel

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).