Table of Contents

Class ArmyMenuOverlayVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu.Overlay
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
[MenuOverlay("ArmyMenuOverlay")]
public class ArmyMenuOverlayVM : GameMenuOverlay, IViewModel, INotifyPropertyChanged
Inheritance
ArmyMenuOverlayVM
Implements
Inherited Members

Constructors

ArmyMenuOverlayVM()

public ArmyMenuOverlayVM()

Fields

OpenArmyManagement

public Action OpenArmyManagement

Field Value

Action

_tutorialNotification

public ElementNotificationVM _tutorialNotification

Field Value

ElementNotificationVM

Properties

CanManageArmy

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

Property Value

bool

Cohesion

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

Property Value

int

CohesionHint

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

Property Value

BasicTooltipViewModel

Food

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

Property Value

int

FoodHint

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

Property Value

BasicTooltipViewModel

IsCohesionWarningEnabled

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

Property Value

bool

IsPlayerArmyLeader

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

Property Value

bool

IssueList

[DataSourceProperty]
public MBBindingList<StringItemWithHintVM> IssueList { get; }

Property Value

MBBindingList<StringItemWithHintVM>

ManCountHint

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

Property Value

BasicTooltipViewModel

ManCountText

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

Property Value

string

ManageArmyHint

[DataSourceProperty]
public HintViewModel ManageArmyHint { get; set; }

Property Value

HintViewModel

PartyList

[DataSourceProperty]
public MBBindingList<GameMenuPartyItemVM> PartyList { get; set; }

Property Value

MBBindingList<GameMenuPartyItemVM>

TutorialNotification

[DataSourceProperty]
public ElementNotificationVM TutorialNotification { get; set; }

Property Value

ElementNotificationVM

Methods

ExecuteOnSetAsActiveContextMenuItem(GameMenuPartyItemVM)

protected override void ExecuteOnSetAsActiveContextMenuItem(GameMenuPartyItemVM troop)

Parameters

troop GameMenuPartyItemVM

ExecuteOpenArmyManagement()

public void ExecuteOpenArmyManagement()

OnFinalize()

public override void OnFinalize()

OnFrameTick(float)

public override void OnFrameTick(float dt)

Parameters

dt float

Refresh()

public override sealed void Refresh()

RefreshValues()

public override void RefreshValues()

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