Table of Contents

Class CharacterCreationCultureStageVM

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

Constructors

CharacterCreationCultureStageVM(CharacterCreation, Action, TextObject, Action, TextObject, int, int, int, Action<int>, Action<CultureObject>)

public CharacterCreationCultureStageVM(CharacterCreation characterCreation, Action affirmativeAction, TextObject affirmativeActionText, Action negativeAction, TextObject negativeActionText, int currentStageIndex, int totalStagesCount, int furthestIndex, Action<int> goToIndex, Action<CultureObject> onCultureSelected)

Parameters

characterCreation CharacterCreation
affirmativeAction Action
affirmativeActionText TextObject
negativeAction Action
negativeActionText TextObject
currentStageIndex int
totalStagesCount int
furthestIndex int
goToIndex Action<int>
onCultureSelected Action<CultureObject>

Properties

CancelInputKey

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

Property Value

InputKeyItemVM

Cultures

[DataSourceProperty]
public MBBindingList<CharacterCreationCultureVM> Cultures { get; set; }

Property Value

MBBindingList<CharacterCreationCultureVM>

CurrentSelectedCulture

[DataSourceProperty]
public CharacterCreationCultureVM CurrentSelectedCulture { get; set; }

Property Value

CharacterCreationCultureVM

DoneInputKey

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

Property Value

InputKeyItemVM

IsActive

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

Property Value

bool

Methods

CanAdvanceToNextStage()

public override bool CanAdvanceToNextStage()

Returns

bool

OnCultureSelection(CharacterCreationCultureVM)

public void OnCultureSelection(CharacterCreationCultureVM selectedCulture)

Parameters

selectedCulture CharacterCreationCultureVM

OnFinalize()

public override void OnFinalize()

OnNextStage()

public override void OnNextStage()

OnPreviousStage()

public override void OnPreviousStage()

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).