Class CraftingOrderPopupVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class CraftingOrderPopupVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
CraftingOrderPopupVM
- Implements
- Inherited Members
Constructors
CraftingOrderPopupVM(Action<CraftingOrderItemVM>, Func<CraftingAvailableHeroItemVM>, Func<CraftingOrder, IEnumerable<CraftingStatData>>)
public CraftingOrderPopupVM(Action<CraftingOrderItemVM> onDoneAction, Func<CraftingAvailableHeroItemVM> getCurrentCraftingHero, Func<CraftingOrder, IEnumerable<CraftingStatData>> getOrderStatDatas)
Parameters
onDoneAction
Action<CraftingOrderItemVM>getCurrentCraftingHero
Func<CraftingAvailableHeroItemVM>getOrderStatDatas
Func<CraftingOrder, IEnumerable<CraftingStatData>>
Properties
CraftingOrders
[DataSourceProperty]
public MBBindingList<CraftingOrderItemVM> CraftingOrders { get; set; }
Property Value
HasEnabledOrders
public bool HasEnabledOrders { get; }
Property Value
HasOrders
public bool HasOrders { get; }
Property Value
IsVisible
[DataSourceProperty]
public bool IsVisible { get; set; }
Property Value
OrderCountText
[DataSourceProperty]
public string OrderCountText { get; set; }
Property Value
QuestType
[DataSourceProperty]
public int QuestType { get; set; }
Property Value
SelectedCraftingOrder
[DataSourceProperty]
public CraftingOrderItemVM SelectedCraftingOrder { get; set; }
Property Value
Methods
ExecuteCloseWithoutSelection()
public void ExecuteCloseWithoutSelection()
ExecuteOpenPopup()
public void ExecuteOpenPopup()
RefreshOrders()
public void RefreshOrders()
SelectOrder(CraftingOrderItemVM)
public void SelectOrder(CraftingOrderItemVM order)
Parameters
order
CraftingOrderItemVM
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).