Table of Contents

Class CharacterCreationStageBaseVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.CharacterCreation
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 CharacterCreation
affirmativeAction Action
affirmativeActionText TextObject
negativeAction Action
negativeActionText TextObject
currentStageIndex int
totalStagesCount int
furthestIndex int
goToIndex Action<int>

Fields

_affirmativeAction

protected readonly Action _affirmativeAction

Field Value

Action

_affirmativeActionText

protected readonly TextObject _affirmativeActionText

Field Value

TextObject

_characterCreation

protected readonly CharacterCreation _characterCreation

Field Value

CharacterCreation

_negativeAction

protected readonly Action _negativeAction

Field Value

Action

_negativeActionText

protected readonly TextObject _negativeActionText

Field Value

TextObject

Properties

AnyItemSelected

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

Property Value

bool

CanAdvance

public bool CanAdvance { get; }

Property Value

bool

CurrentStageIndex

[DataSourceProperty]
public int CurrentStageIndex { get; set; }

Property Value

int

Description

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

Property Value

string

FurthestIndex

[DataSourceProperty]
public int FurthestIndex { get; set; }

Property Value

int

NextStageText

public string NextStageText { get; }

Property Value

string

PreviousStageText

public string PreviousStageText { get; }

Property Value

string

SelectionText

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

Property Value

string

Title

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

Property Value

string

TotalStageCount

[DataSourceProperty]
public int TotalStageCount { get; set; }

Property Value

int

Methods

CanAdvanceToNextStage()

public abstract bool CanAdvanceToNextStage()

Returns

bool

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