Table of Contents

Class CraftingOrderPopupVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.WeaponCrafting.WeaponDesign.Order
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

MBBindingList<CraftingOrderItemVM>

HasEnabledOrders

public bool HasEnabledOrders { get; }

Property Value

bool

HasOrders

public bool HasOrders { get; }

Property Value

bool

IsVisible

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

Property Value

bool

OrderCountText

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

Property Value

string

QuestType

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

Property Value

int

SelectedCraftingOrder

[DataSourceProperty]
public CraftingOrderItemVM SelectedCraftingOrder { get; set; }

Property Value

CraftingOrderItemVM

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).