Class CharacterAttributeItemVM
- 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
HerocurrAtt
CharacterAttributedeveloperVM
CharacterVMonInpectAttribute
Action<CharacterAttributeItemVM>onAddAttributePoint
Action<CharacterAttributeItemVM>
Properties
AttributeType
public CharacterAttribute AttributeType { get; }
Property Value
AttributeValue
[DataSourceProperty]
public int AttributeValue { get; set; }
Property Value
BoundSkills
[DataSourceProperty]
public MBBindingList<AttributeBoundSkillItemVM> BoundSkills { get; set; }
Property Value
CanAddPoint
[DataSourceProperty]
public bool CanAddPoint { get; set; }
Property Value
Description
[DataSourceProperty]
public string Description { get; set; }
Property Value
IncreaseHelpText
[DataSourceProperty]
public string IncreaseHelpText { get; set; }
Property Value
IsAttributeAtMax
[DataSourceProperty]
public bool IsAttributeAtMax { get; set; }
Property Value
IsInspecting
[DataSourceProperty]
public bool IsInspecting { get; set; }
Property Value
Name
[DataSourceProperty]
public string Name { get; set; }
Property Value
NameExtended
[DataSourceProperty]
public string NameExtended { get; set; }
Property Value
UnspentAttributePoints
[DataSourceProperty]
public int UnspentAttributePoints { get; set; }
Property Value
UnspentAttributePointsText
[DataSourceProperty]
public string UnspentAttributePointsText { get; set; }
Property Value
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).