Table of Contents

Class CharacterAttributeItemVM

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

Constructors

CharacterAttributeItemVM(Hero, CharacterAttribute, CharacterVM, Action<CharacterAttributeItemVM>, Action<CharacterAttributeItemVM>)

public CharacterAttributeItemVM(Hero hero, CharacterAttribute currAtt, CharacterVM developerVM, Action<CharacterAttributeItemVM> onInpectAttribute, Action<CharacterAttributeItemVM> onAddAttributePoint)

Parameters

hero Hero
currAtt CharacterAttribute
developerVM CharacterVM
onInpectAttribute Action<CharacterAttributeItemVM>
onAddAttributePoint Action<CharacterAttributeItemVM>

Properties

AttributeType

public CharacterAttribute AttributeType { get; }

Property Value

CharacterAttribute

AttributeValue

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

Property Value

int

BoundSkills

[DataSourceProperty]
public MBBindingList<AttributeBoundSkillItemVM> BoundSkills { get; set; }

Property Value

MBBindingList<AttributeBoundSkillItemVM>

CanAddPoint

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

Property Value

bool

Description

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

Property Value

string

IncreaseHelpText

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

Property Value

string

IsAttributeAtMax

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

Property Value

bool

IsInspecting

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

Property Value

bool

Name

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

Property Value

string

NameExtended

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

Property Value

string

UnspentAttributePoints

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

Property Value

int

UnspentAttributePointsText

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

Property Value

string

Methods

Commit()

public void Commit()

ExecuteAddAttributePoint()

public void ExecuteAddAttributePoint()

ExecuteInspectAttribute()

public void ExecuteInspectAttribute()

RefreshValues()

public override void RefreshValues()

RefreshWithCurrentValues()

public void RefreshWithCurrentValues()

Reset()

public void Reset()

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