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

Inherits TaleWorlds.MountAndBlade.MBGameManager.

Inherited by StoryMode.StoryModeGameManager.

Public Member Functions

 SandBoxGameManager ()
 
 SandBoxGameManager (LoadResult loadedGameResult)
 
override void OnGameEnd (Game game)
 
override void OnAfterCampaignStart (Game game)
 
override void OnLoadFinished ()
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.MBGameManager
override void BeginGameStart (Game game)
 
override void OnNewCampaignStart (Game game, object starterObject)
 
override void RegisterSubModuleObjects (bool isSavedCampaign)
 
override void AfterRegisterSubModuleObjects (bool isSavedCampaign)
 
override void InitializeGameStarter (Game game, IGameStarter starterObject)
 
override void OnGameInitializationFinished (Game game)
 
override void OnAfterGameInitializationFinished (Game game, object initializerObject)
 
override void OnGameLoaded (Game game, object initializerObject)
 
override void OnNewGameCreated (Game game, object initializerObject)
 
override void OnGameStart (Game game, IGameStarter gameStarter)
 
bool CheckAndSetEnding ()
 
virtual void OnSessionInvitationAccepted (PlatformService.SessionInvitationType targetGameType)
 
virtual void OnPlatformRequestedMultiplayer ()
 
- Public Member Functions inherited from TaleWorlds.Core.GameManagerBase
void Initialize ()
 
GameManagerComponent AddComponent (Type componentType)
 
AddComponent< T > ()
 
GameManagerComponent GetComponent (Type componentType)
 
GetComponent< T > ()
 
IEnumerable< T > GetComponents< T > ()
 
void RemoveComponent< T > ()
 
void RemoveComponent (GameManagerComponent component)
 
void OnTick (float dt)
 
void OnGameNetworkBegin ()
 
void OnGameNetworkEnd ()
 
void OnPlayerConnect (VirtualPlayer peer)
 
void OnPlayerDisconnect (VirtualPlayer peer)
 
bool DoLoadingForGameManager ()
 
void OnGameStart (Game game, IGameStarter gameStarter)
 
void BeginGameStart (Game game)
 
void OnNewCampaignStart (Game game, object starterObject)
 
void OnAfterCampaignStart (Game game)
 
void RegisterSubModuleObjects (bool isSavedCampaign)
 
void AfterRegisterSubModuleObjects (bool isSavedCampaign)
 
void OnGameInitializationFinished (Game game)
 
void OnNewGameCreated (Game game, object initializerObject)
 
void OnGameLoaded (Game game, object initializerObject)
 
void OnAfterGameInitializationFinished (Game game, object initializerObject)
 

Protected Member Functions

override void DoLoadingForGameManager (GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep)
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.MBGameManager
 MBGameManager ()
 
List< MbObjectXmlInformationGetXmlInformationFromModule ()
 
- Protected Member Functions inherited from TaleWorlds.Core.GameManagerBase
 GameManagerBase ()
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.MountAndBlade.MBGameManager
static void StartNewGame (MBGameManager gameLoader)
 
static async void EndGame ()
 
- Static Protected Member Functions inherited from TaleWorlds.MountAndBlade.MBGameManager
static void StartNewGame ()
 
static void LoadModuleData (bool isLoadGame)
 
- Properties inherited from TaleWorlds.MountAndBlade.MBGameManager
bool IsEnding [get]
 
static new MBGameManager Current [get]
 
bool IsLoaded [get, protected set]
 
override float ApplicationTime [get]
 
override bool CheatMode [get]
 
override bool IsDevelopmentMode [get]
 
override bool IsEditModeOn [get]
 
override UnitSpawnPrioritizations UnitSpawnPrioritization [get]
 
- Properties inherited from TaleWorlds.Core.GameManagerBase
static GameManagerBase Current [get]
 
Game Game [get]
 
IEnumerable< GameManagerComponentComponents [get]
 
float ApplicationTime [get]
 
bool CheatMode [get]
 
bool IsDevelopmentMode [get]
 
bool IsEditModeOn [get]
 
UnitSpawnPrioritizations UnitSpawnPrioritization [get]
 

Constructor & Destructor Documentation

◆ SandBoxGameManager() [1/2]

SandBox.SandBoxGameManager.SandBoxGameManager ( )

◆ SandBoxGameManager() [2/2]

SandBox.SandBoxGameManager.SandBoxGameManager ( LoadResult loadedGameResult)

Member Function Documentation

◆ OnGameEnd()

override void SandBox.SandBoxGameManager.OnGameEnd ( Game game)
virtual

◆ DoLoadingForGameManager()

override void SandBox.SandBoxGameManager.DoLoadingForGameManager ( GameManagerLoadingSteps gameManagerLoadingStep,
out GameManagerLoadingSteps nextStep )
protectedvirtual

Reimplemented from TaleWorlds.Core.GameManagerBase.

Reimplemented in StoryMode.StoryModeGameManager.

◆ OnAfterCampaignStart()

override void SandBox.SandBoxGameManager.OnAfterCampaignStart ( Game game)

◆ OnLoadFinished()

override void SandBox.SandBoxGameManager.OnLoadFinished ( )
virtual