Class CharacterCreationStageBaseVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public abstract class CharacterCreationStageBaseVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
CharacterCreationStageBaseVM
- Implements
- Derived
- Inherited Members
Constructors
CharacterCreationStageBaseVM(CharacterCreation, Action, TextObject, Action, TextObject, int, int, int, Action<int>)
protected CharacterCreationStageBaseVM(CharacterCreation characterCreation, Action affirmativeAction, TextObject affirmativeActionText, Action negativeAction, TextObject negativeActionText, int currentStageIndex, int totalStagesCount, int furthestIndex, Action<int> goToIndex)
Parameters
characterCreation
CharacterCreationaffirmativeAction
ActionaffirmativeActionText
TextObjectnegativeAction
ActionnegativeActionText
TextObjectcurrentStageIndex
inttotalStagesCount
intfurthestIndex
intgoToIndex
Action<int>
Fields
_affirmativeAction
protected readonly Action _affirmativeAction
Field Value
_affirmativeActionText
protected readonly TextObject _affirmativeActionText
Field Value
_characterCreation
protected readonly CharacterCreation _characterCreation
Field Value
_negativeAction
protected readonly Action _negativeAction
Field Value
_negativeActionText
protected readonly TextObject _negativeActionText
Field Value
Properties
AnyItemSelected
[DataSourceProperty]
public bool AnyItemSelected { get; set; }
Property Value
CanAdvance
public bool CanAdvance { get; }
Property Value
CurrentStageIndex
[DataSourceProperty]
public int CurrentStageIndex { get; set; }
Property Value
Description
[DataSourceProperty]
public string Description { get; set; }
Property Value
FurthestIndex
[DataSourceProperty]
public int FurthestIndex { get; set; }
Property Value
NextStageText
public string NextStageText { get; }
Property Value
PreviousStageText
public string PreviousStageText { get; }
Property Value
SelectionText
[DataSourceProperty]
public string SelectionText { get; set; }
Property Value
Title
[DataSourceProperty]
public string Title { get; set; }
Property Value
TotalStageCount
[DataSourceProperty]
public int TotalStageCount { get; set; }
Property Value
Methods
CanAdvanceToNextStage()
public abstract bool CanAdvanceToNextStage()
Returns
ExecuteGoToIndex(int)
public virtual void ExecuteGoToIndex(int index)
Parameters
index
int
OnNextStage()
public abstract void OnNextStage()
OnPreviousStage()
public abstract void OnPreviousStage()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).