M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.SandBoxSubModule Class Reference

Inherits TaleWorlds.MountAndBlade.MBSubModuleBase.

Public Member Functions

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

Protected Member Functions

override void OnSubModuleLoad ()
 This is the function which is called first when application is started.
 
override void InitializeGameStarter (Game game, IGameStarter gameStarterObject)
 This is the function which is called first when game is started.
 
override void OnBeforeInitialModuleScreenSetAsRoot ()
 

Member Function Documentation

◆ OnSubModuleLoad()

override void SandBox.SandBoxSubModule.OnSubModuleLoad ( )
protectedvirtual

◆ InitializeGameStarter()

override void SandBox.SandBoxSubModule.InitializeGameStarter ( Game game,
IGameStarter gameStarterObject )
protectedvirtual

◆ OnCampaignStart()

override void SandBox.SandBoxSubModule.OnCampaignStart ( Game game,
object starterObject )
virtual

◆ OnGameInitializationFinished()

override void SandBox.SandBoxSubModule.OnGameInitializationFinished ( Game game)
virtual

◆ RegisterSubModuleObjects()

override void SandBox.SandBoxSubModule.RegisterSubModuleObjects ( bool isSavedCampaign)
virtual

◆ AfterRegisterSubModuleObjects()

override void SandBox.SandBoxSubModule.AfterRegisterSubModuleObjects ( bool isSavedCampaign)
virtual

◆ OnInitialState()

override void SandBox.SandBoxSubModule.OnInitialState ( )
virtual

◆ OnGameLoaded()

override void SandBox.SandBoxSubModule.OnGameLoaded ( Game game,
object starterObject )
virtual

◆ OnBeforeInitialModuleScreenSetAsRoot()

override void SandBox.SandBoxSubModule.OnBeforeInitialModuleScreenSetAsRoot ( )
protectedvirtual

◆ OnConfigChanged()

override void SandBox.SandBoxSubModule.OnConfigChanged ( )
virtual