Table of Contents

Class PerkSelectionVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.CharacterDeveloper.PerkSelection
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class PerkSelectionVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
PerkSelectionVM
Implements
Inherited Members

Constructors

PerkSelectionVM(IHeroDeveloper, Action<SkillObject>, Action)

public PerkSelectionVM(IHeroDeveloper developer, Action<SkillObject> refreshPerksOf, Action onPerkSelection)

Parameters

developer IHeroDeveloper
refreshPerksOf Action<SkillObject>
onPerkSelection Action

Properties

AvailablePerks

[DataSourceProperty]
public MBBindingList<PerkSelectionItemVM> AvailablePerks { get; set; }

Property Value

MBBindingList<PerkSelectionItemVM>

IsActive

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

Property Value

bool

Methods

ApplySelectedPerks()

public void ApplySelectedPerks()

ExecuteDeactivate()

public void ExecuteDeactivate()

IsAnyPerkSelected()

public bool IsAnyPerkSelected()

Returns

bool

IsPerkSelected(PerkObject)

public bool IsPerkSelected(PerkObject perk)

Parameters

perk PerkObject

Returns

bool

ResetSelectedPerks()

public void ResetSelectedPerks()

SetCurrentSelectionPerk(PerkVM)

public void SetCurrentSelectionPerk(PerkVM perk)

Parameters

perk PerkVM

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