Table of Contents

Class RefinementVM

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

Constructors

RefinementVM(Action, Func<CraftingAvailableHeroItemVM>)

public RefinementVM(Action onRefinementSelectionChange, Func<CraftingAvailableHeroItemVM> getCurrentHero)

Parameters

onRefinementSelectionChange Action
getCurrentHero Func<CraftingAvailableHeroItemVM>

Properties

AvailableRefinementActions

[DataSourceProperty]
public MBBindingList<RefinementActionItemVM> AvailableRefinementActions { get; set; }

Property Value

MBBindingList<RefinementActionItemVM>

CurrentSelectedAction

[DataSourceProperty]
public RefinementActionItemVM CurrentSelectedAction { get; set; }

Property Value

RefinementActionItemVM

IsValidRefinementActionSelected

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

Property Value

bool

RefinementText

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

Property Value

string

Methods

ExecuteSelectedRefinement(Hero)

public void ExecuteSelectedRefinement(Hero currentCraftingHero)

Parameters

currentCraftingHero Hero

RefreshRefinementActionsList(Hero)

public void RefreshRefinementActionsList(Hero craftingHero)

Parameters

craftingHero Hero

RefreshValues()

public override void RefreshValues()

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