Class CharacterCreationGenericStageVM
- 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
CharacterCreationaffirmativeAction
ActionaffirmativeActionText
TextObjectnegativeAction
ActionnegativeActionText
TextObjectstageIndex
intcurrentStageIndex
inttotalStagesCount
intfurthestIndex
intgoToIndex
Action<int>
Fields
OnOptionSelection
public Action OnOptionSelection
Field Value
Properties
CancelInputKey
[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }
Property Value
DescriptionText
[DataSourceProperty]
public string DescriptionText { get; set; }
Property Value
DoneInputKey
[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }
Property Value
GainedPropertiesController
[DataSourceProperty]
public CharacterCreationGainedPropertiesVM GainedPropertiesController { get; set; }
Property Value
NegativeEffectText
[DataSourceProperty]
public string NegativeEffectText { get; set; }
Property Value
PositiveEffectText
[DataSourceProperty]
public string PositiveEffectText { get; set; }
Property Value
SelectionList
[DataSourceProperty]
public MBBindingList<CharacterCreationOptionVM> SelectionList { get; set; }
Property Value
Methods
ApplySelection(object)
public void ApplySelection(object optionObject)
Parameters
optionObject
object
CanAdvanceToNextStage()
public override bool CanAdvanceToNextStage()
Returns
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).