Class CraftingHistoryVM
- 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
CraftingcraftingBehavior
ICraftingCampaignBehaviorgetActiveOrder
Func<CraftingOrder>onDone
Action<WeaponDesignSelectorVM>
Properties
CancelKey
public InputKeyItemVM CancelKey { get; set; }
Property Value
CancelText
[DataSourceProperty]
public string CancelText { get; set; }
Property Value
CraftingHistory
[DataSourceProperty]
public MBBindingList<WeaponDesignSelectorVM> CraftingHistory { get; set; }
Property Value
DoneKey
public InputKeyItemVM DoneKey { get; set; }
Property Value
DoneText
[DataSourceProperty]
public string DoneText { get; set; }
Property Value
HasItemsInHistory
[DataSourceProperty]
public bool HasItemsInHistory { get; set; }
Property Value
HistoryDisabledHint
[DataSourceProperty]
public HintViewModel HistoryDisabledHint { get; set; }
Property Value
HistoryHint
[DataSourceProperty]
public HintViewModel HistoryHint { get; set; }
Property Value
IsDoneAvailable
[DataSourceProperty]
public bool IsDoneAvailable { get; set; }
Property Value
IsVisible
[DataSourceProperty]
public bool IsVisible { get; set; }
Property Value
SelectedDesign
[DataSourceProperty]
public WeaponDesignSelectorVM SelectedDesign { get; set; }
Property Value
TitleText
[DataSourceProperty]
public string TitleText { get; set; }
Property Value
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).