Table of Contents

Class EducationOptionVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.Education
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class EducationOptionVM : StringItemWithActionVM, IViewModel, INotifyPropertyChanged
Inheritance
EducationOptionVM
Implements
Inherited Members

Constructors

EducationOptionVM(Action<object>, string, TextObject, TextObject, TextObject, bool, (CharacterAttribute, int)[], (SkillObject, int)[], (SkillObject, int)[], EducationCharacterProperties[])

public EducationOptionVM(Action<object> onExecute, string optionId, TextObject optionText, TextObject optionDescription, TextObject optionEffect, bool isSelected, (CharacterAttribute, int)[] optionAttributes, (SkillObject, int)[] optionSkills, (SkillObject, int)[] optionFocusPoints, EducationCampaignBehavior.EducationCharacterProperties[] characterProperties)

Parameters

onExecute Action<object>
optionId string
optionText TextObject
optionDescription TextObject
optionEffect TextObject
isSelected bool
optionAttributes (CharacterAttribute, int)[]
optionSkills (SkillObject, int)[]
optionFocusPoints (SkillObject, int)[]
characterProperties EducationCharacterProperties[]

Properties

ActionID

public string ActionID { get; }

Property Value

string

CharacterProperties

public EducationCampaignBehavior.EducationCharacterProperties[] CharacterProperties { get; }

Property Value

EducationCharacterProperties[]

IsSelected

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

Property Value

bool

OptionAttributes

public (CharacterAttribute, int)[] OptionAttributes { get; }

Property Value

(CharacterAttribute, int)[]

OptionDescription

public string OptionDescription { get; }

Property Value

string

OptionEffect

public string OptionEffect { get; }

Property Value

string

OptionFocusPoints

public (SkillObject, int)[] OptionFocusPoints { get; }

Property Value

(SkillObject, int)[]

OptionSkills

public (SkillObject, int)[] OptionSkills { get; }

Property Value

(SkillObject, int)[]

Methods

RefreshValues()

public override void RefreshValues()

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