Table of Contents

Class ArmyManagementBoostEventVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.ArmyManagement
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class ArmyManagementBoostEventVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
ArmyManagementBoostEventVM
Implements
Inherited Members

Constructors

ArmyManagementBoostEventVM(BoostCurrency, int, int, Action<ArmyManagementBoostEventVM>)

public ArmyManagementBoostEventVM(ArmyManagementBoostEventVM.BoostCurrency currencyToPayForCohesion, int amountToPay, int amountOfCohesionToGain, Action<ArmyManagementBoostEventVM> onExecuteEvent)

Parameters

currencyToPayForCohesion ArmyManagementBoostEventVM.BoostCurrency
amountToPay int
amountOfCohesionToGain int
onExecuteEvent Action<ArmyManagementBoostEventVM>

Properties

AmountOfCohesionToGain

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

Property Value

int

AmountToPay

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

Property Value

int

CurrencyToPayForCohesion

public ArmyManagementBoostEventVM.BoostCurrency CurrencyToPayForCohesion { get; }

Property Value

ArmyManagementBoostEventVM.BoostCurrency

CurrencyType

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

Property Value

int

GainText

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

Property Value

string

IsEnabled

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

Property Value

bool

SpendText

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

Property Value

string

Methods

RefreshValues()

public override void RefreshValues()

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