Table of Contents

Class CraftingHistoryVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.WeaponCrafting.WeaponDesign
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class CraftingHistoryVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
CraftingHistoryVM
Implements
Inherited Members

Constructors

CraftingHistoryVM(Crafting, ICraftingCampaignBehavior, Func<CraftingOrder>, Action<WeaponDesignSelectorVM>)

public CraftingHistoryVM(Crafting crafting, ICraftingCampaignBehavior craftingBehavior, Func<CraftingOrder> getActiveOrder, Action<WeaponDesignSelectorVM> onDone)

Parameters

crafting Crafting
craftingBehavior ICraftingCampaignBehavior
getActiveOrder Func<CraftingOrder>
onDone Action<WeaponDesignSelectorVM>

Properties

CancelKey

public InputKeyItemVM CancelKey { get; set; }

Property Value

InputKeyItemVM

CancelText

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

Property Value

string

CraftingHistory

[DataSourceProperty]
public MBBindingList<WeaponDesignSelectorVM> CraftingHistory { get; set; }

Property Value

MBBindingList<WeaponDesignSelectorVM>

DoneKey

public InputKeyItemVM DoneKey { get; set; }

Property Value

InputKeyItemVM

DoneText

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

Property Value

string

HasItemsInHistory

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

Property Value

bool

HistoryDisabledHint

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

Property Value

HintViewModel

HistoryHint

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

Property Value

HintViewModel

IsDoneAvailable

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

Property Value

bool

IsVisible

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

Property Value

bool

SelectedDesign

[DataSourceProperty]
public WeaponDesignSelectorVM SelectedDesign { get; set; }

Property Value

WeaponDesignSelectorVM

TitleText

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

Property Value

string

Methods

ExecuteCancel()

public void ExecuteCancel()

ExecuteDone()

public void ExecuteDone()

ExecuteOpen()

public void ExecuteOpen()

OnFinalize()

public override void OnFinalize()

RefreshAvailability()

public void RefreshAvailability()

RefreshValues()

public override void RefreshValues()

SetCancelKey(HotKey)

public void SetCancelKey(HotKey hotkey)

Parameters

hotkey HotKey

SetDoneKey(HotKey)

public void SetDoneKey(HotKey hotkey)

Parameters

hotkey HotKey

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