Table of Contents

Class SettlementBuildingProjectVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu.TownManagement
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class SettlementBuildingProjectVM : SettlementProjectVM, IViewModel, INotifyPropertyChanged
Inheritance
SettlementBuildingProjectVM
Implements
Inherited Members

Constructors

SettlementBuildingProjectVM(Action<SettlementProjectVM, bool>, Action<SettlementProjectVM>, Action, Building, Settlement)

public SettlementBuildingProjectVM(Action<SettlementProjectVM, bool> onSelection, Action<SettlementProjectVM> onSetAsCurrent, Action onResetCurrent, Building building, Settlement settlement)

Parameters

onSelection Action<SettlementProjectVM, bool>
onSetAsCurrent Action<SettlementProjectVM>
onResetCurrent Action
building Building
settlement Settlement

Properties

AlreadyAtMaxText

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

Property Value

string

CanBuild

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

Property Value

bool

DevelopmentLevelText

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

Property Value

string

DevelopmentQueueIndex

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

Property Value

int

IsInQueue

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

Property Value

bool

IsSelected

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

Property Value

bool

Level

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

Property Value

int

MaxLevel

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

Property Value

int

Methods

ExecuteAddToQueue()

public override void ExecuteAddToQueue()

ExecuteResetCurrent()

public override void ExecuteResetCurrent()

ExecuteSetAsActiveDevelopment()

public override void ExecuteSetAsActiveDevelopment()

ExecuteSetAsCurrent()

public override void ExecuteSetAsCurrent()

RefreshProductionText()

public override void RefreshProductionText()

RefreshValues()

public override void RefreshValues()

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