Class CharacterCreationCultureStageVM
- 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
CharacterCreationaffirmativeAction
ActionaffirmativeActionText
TextObjectnegativeAction
ActionnegativeActionText
TextObjectcurrentStageIndex
inttotalStagesCount
intfurthestIndex
intgoToIndex
Action<int>onCultureSelected
Action<CultureObject>
Properties
CancelInputKey
[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }
Property Value
Cultures
[DataSourceProperty]
public MBBindingList<CharacterCreationCultureVM> Cultures { get; set; }
Property Value
CurrentSelectedCulture
[DataSourceProperty]
public CharacterCreationCultureVM CurrentSelectedCulture { get; set; }
Property Value
DoneInputKey
[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }
Property Value
IsActive
[DataSourceProperty]
public bool IsActive { get; set; }
Property Value
Methods
CanAdvanceToNextStage()
public override bool CanAdvanceToNextStage()
Returns
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).