Table of Contents

Class SettlementProjectVM

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

Constructors

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

protected SettlementProjectVM(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

Fields

Index

public int Index

Field Value

int

_onResetCurrent

protected Action _onResetCurrent

Field Value

Action

_onSelection

protected Action<SettlementProjectVM, bool> _onSelection

Field Value

Action<SettlementProjectVM, bool>

_onSetAsCurrent

protected Action<SettlementProjectVM> _onSetAsCurrent

Field Value

Action<SettlementProjectVM>

_settlement

protected Settlement _settlement

Field Value

Settlement

Properties

Building

public Building Building { get; set; }

Property Value

Building

CurrentPositiveEffectText

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

Property Value

string

Explanation

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

Property Value

string

IsCurrentActiveProject

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

Property Value

bool

IsDaily

public bool IsDaily { get; protected set; }

Property Value

bool

Name

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

Property Value

string

NextPositiveEffectText

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

Property Value

string

ProductionCostText

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

Property Value

string

ProductionText

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

Property Value

string

Progress

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

Property Value

int

VisualCode

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

Property Value

string

Methods

ExecuteAddToQueue()

public abstract void ExecuteAddToQueue()

ExecuteResetCurrent()

public abstract void ExecuteResetCurrent()

ExecuteSetAsActiveDevelopment()

public abstract void ExecuteSetAsActiveDevelopment()

ExecuteSetAsCurrent()

public abstract void ExecuteSetAsCurrent()

RefreshProductionText()

public virtual void RefreshProductionText()

RefreshValues()

public override void RefreshValues()

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