Table of Contents

Class CharacterCreationGenericStageVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.CharacterCreation
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class CharacterCreationGenericStageVM : CharacterCreationStageBaseVM, IViewModel, INotifyPropertyChanged
Inheritance
CharacterCreationGenericStageVM
Implements
Inherited Members

Constructors

CharacterCreationGenericStageVM(CharacterCreation, Action, TextObject, Action, TextObject, int, int, int, int, Action<int>)

public CharacterCreationGenericStageVM(CharacterCreation characterCreationMenu, Action affirmativeAction, TextObject affirmativeActionText, Action negativeAction, TextObject negativeActionText, int stageIndex, int currentStageIndex, int totalStagesCount, int furthestIndex, Action<int> goToIndex)

Parameters

characterCreationMenu CharacterCreation
affirmativeAction Action
affirmativeActionText TextObject
negativeAction Action
negativeActionText TextObject
stageIndex int
currentStageIndex int
totalStagesCount int
furthestIndex int
goToIndex Action<int>

Fields

OnOptionSelection

public Action OnOptionSelection

Field Value

Action

Properties

CancelInputKey

[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }

Property Value

InputKeyItemVM

DescriptionText

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

Property Value

string

DoneInputKey

[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }

Property Value

InputKeyItemVM

GainedPropertiesController

[DataSourceProperty]
public CharacterCreationGainedPropertiesVM GainedPropertiesController { get; set; }

Property Value

CharacterCreationGainedPropertiesVM

NegativeEffectText

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

Property Value

string

PositiveEffectText

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

Property Value

string

SelectionList

[DataSourceProperty]
public MBBindingList<CharacterCreationOptionVM> SelectionList { get; set; }

Property Value

MBBindingList<CharacterCreationOptionVM>

Methods

ApplySelection(object)

public void ApplySelection(object optionObject)

Parameters

optionObject object

CanAdvanceToNextStage()

public override bool CanAdvanceToNextStage()

Returns

bool

OnFinalize()

public override void OnFinalize()

OnNextStage()

public override void OnNextStage()

OnPreviousStage()

public override void OnPreviousStage()

RefreshSelectedOptions()

public void RefreshSelectedOptions()

SetCancelInputKey(HotKey)

public void SetCancelInputKey(HotKey hotKey)

Parameters

hotKey HotKey

SetDoneInputKey(HotKey)

public void SetDoneInputKey(HotKey hotKey)

Parameters

hotKey HotKey

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