M&B: Bannerlord 1.1.0
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 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)
 
override void OnGameEnd (Game game)
 
override void OnAfterCampaignStart (Game game)
 
override void OnLoadFinished ()
 
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)
 
virtual void OnGameEnd (Game game)
 
bool DoLoadingForGameManager ()
 
virtual void OnLoadFinished ()
 
virtual void InitializeGameStarter (Game game, IGameStarter starterObject)
 
abstract void OnGameStart (Game game, IGameStarter gameStarter)
 
abstract void BeginGameStart (Game game)
 
abstract void OnNewCampaignStart (Game game, object starterObject)
 
abstract void OnAfterCampaignStart (Game game)
 
abstract void RegisterSubModuleObjects (bool isSavedCampaign)
 
abstract void AfterRegisterSubModuleObjects (bool isSavedCampaign)
 
abstract void OnGameInitializationFinished (Game game)
 
abstract void OnNewGameCreated (Game game, object initializerObject)
 
abstract void OnGameLoaded (Game game, object initializerObject)
 
abstract 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 ()
 
virtual void DoLoadingForGameManager (GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep)
 

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]
 
abstract float ApplicationTime [get]
 
abstract bool CheatMode [get]
 
abstract bool IsDevelopmentMode [get]
 
abstract bool IsEditModeOn [get]
 
abstract 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

Reimplemented from TaleWorlds.Core.GameManagerBase.

◆ DoLoadingForGameManager()

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

Reimplemented from TaleWorlds.Core.GameManagerBase.

Reimplemented in StoryMode.StoryModeGameManager.

◆ OnLoadFinished()

override void SandBox.SandBoxGameManager.OnLoadFinished ( )
virtual

Reimplemented from TaleWorlds.Core.GameManagerBase.

Reimplemented in StoryMode.StoryModeGameManager.