M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState Class Reference

Inherits TaleWorlds.Core.PlayerGameState.

Public Member Functions

 CharacterCreationState (CharacterCreationContentBase baseContent)
 
 CharacterCreationState ()
 
void FinalizeCharacterCreation ()
 
void NextStage ()
 
void PreviousStage ()
 
void Refresh ()
 
int GetTotalStagesCount ()
 
int GetIndexOfCurrentStage ()
 
int GetFurthestIndex ()
 Max index player has gone to.
 
void GoToStage (int stageIndex)
 
- Public Member Functions inherited from TaleWorlds.Core.GameState
bool RegisterListener (IGameStateListener listener)
 
bool UnregisterListener (IGameStateListener listener)
 
T GetListenerOfType< T > ()
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
virtual TextObject GetName ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Public Attributes

readonly CharacterCreationContentBase CurrentCharacterCreationContent
 
- Public Attributes inherited from TaleWorlds.Core.GameState
int Level
 

Protected Member Functions

override void OnInitialize ()
 
override void OnActivate ()
 
- Protected Member Functions inherited from TaleWorlds.Core.GameState
 GameState ()
 
virtual void OnFinalize ()
 
virtual void OnDeactivate ()
 
- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Properties

CharacterCreation CharacterCreation [get]
 
ICharacterCreationStateHandler Handler [get, set]
 
CharacterCreationStageBase CurrentStage [get]
 
- Properties inherited from TaleWorlds.Core.PlayerGameState
VirtualPlayer Peer [get]
 
- Properties inherited from TaleWorlds.Core.GameState
GameState Predecessor [get]
 
bool IsActive [get]
 
IReadOnlyCollection< IGameStateListener > Listeners [get]
 
GameStateManager GameStateManager [get]
 
virtual bool IsMusicMenuState [get]
 Whether or not if this state should be treated as a menu state for the music manager.
 
virtual bool IsMenuState [get]
 Whether or not if this state is a screen/menu state for GUI.
 
virtual bool IsMission [get]
 
bool Activated [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Additional Inherited Members

- Static Public Attributes inherited from TaleWorlds.Core.GameState
static int NumberOfListenerActivations
 

Constructor & Destructor Documentation

◆ CharacterCreationState() [1/2]

TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.CharacterCreationState ( CharacterCreationContentBase baseContent)

◆ CharacterCreationState() [2/2]

TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.CharacterCreationState ( )

Member Function Documentation

◆ OnInitialize()

override void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.OnInitialize ( )
protectedvirtual

Reimplemented from TaleWorlds.Core.GameState.

◆ OnActivate()

override void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.OnActivate ( )
protectedvirtual

Reimplemented from TaleWorlds.Core.GameState.

◆ FinalizeCharacterCreation()

void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.FinalizeCharacterCreation ( )

◆ NextStage()

void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.NextStage ( )

◆ PreviousStage()

void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.PreviousStage ( )

◆ Refresh()

void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.Refresh ( )

◆ GetTotalStagesCount()

int TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.GetTotalStagesCount ( )

◆ GetIndexOfCurrentStage()

int TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.GetIndexOfCurrentStage ( )

◆ GetFurthestIndex()

int TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.GetFurthestIndex ( )

◆ GoToStage()

void TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.GoToStage ( int stageIndex)

Member Data Documentation

◆ CurrentCharacterCreationContent

readonly CharacterCreationContentBase TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.CurrentCharacterCreationContent

Property Documentation

◆ CharacterCreation

CharacterCreation TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.CharacterCreation
get

◆ Handler

ICharacterCreationStateHandler TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.Handler
getset

◆ CurrentStage

CharacterCreationStageBase TaleWorlds.CampaignSystem.CharacterCreationContent.CharacterCreationState.CurrentStage
get