M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
StoryMode.StoryModeSubModule Class Reference

Inherits TaleWorlds.MountAndBlade.MBSubModuleBase.

Public Member Functions

override void OnGameEnd (Game game)
 
override void RegisterSubModuleObjects (bool isSavedCampaign)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.MBSubModuleBase
virtual void OnConfigChanged ()
 
virtual void OnGameLoaded (Game game, object initializerObject)
 This function is called on new session start (i.e. new game start or load game).
 
virtual void OnNewGameCreated (Game game, object initializerObject)
 
virtual void BeginGameStart (Game game)
 
virtual void OnCampaignStart (Game game, object starterObject)
 
virtual void AfterRegisterSubModuleObjects (bool isSavedCampaign)
 
virtual void OnMultiplayerGameStart (Game game, object starterObject)
 
virtual void OnGameInitializationFinished (Game game)
 
virtual void OnAfterGameInitializationFinished (Game game, object starterObject)
 
virtual bool DoLoading (Game game)
 
virtual void OnMissionBehaviorInitialize (Mission mission)
 
virtual void OnBeforeMissionBehaviorInitialize (Mission mission)
 
virtual void OnInitialState ()
 Triggered when state returns to initial state.
 

Protected Member Functions

override void InitializeGameStarter (Game game, IGameStarter gameStarterObject)
 Campaign Models and Texts are initialized, Campaign Behaviors, Conversations, Objects(in ObjectManager) are NOT initialized.
 
override void OnApplicationTick (float dt)
 

Member Function Documentation

◆ InitializeGameStarter()

override void StoryMode.StoryModeSubModule.InitializeGameStarter ( Game game,
IGameStarter gameStarterObject )
protectedvirtual

◆ OnGameEnd()

override void StoryMode.StoryModeSubModule.OnGameEnd ( Game game)
virtual

◆ RegisterSubModuleObjects()

override void StoryMode.StoryModeSubModule.RegisterSubModuleObjects ( bool isSavedCampaign)
virtual

◆ OnApplicationTick()

override void StoryMode.StoryModeSubModule.OnApplicationTick ( float dt)
protectedvirtual