Interface IMBSubModuleBaseEx
- Namespace
- Bannerlord.ButterLib.MBSubModuleBaseExtended
- Assembly
- Bannerlord.ButterLib.dll
An interface to use in your MBSubModuleBase-derived class. Provides new SubModule events.
public interface IMBSubModuleBaseEx
Methods
OnAllSubModulesUnLoaded()
Event that takes place right after OnSubModuleUnloaded events of all loaded submodules were handled.
void OnAllSubModulesUnLoaded()
OnBeforeInitialModuleScreenSetAsRootDelayed()
Event that takes place right after OnBeforeInitialModuleScreenSetAsRoot events of all loaded submodules were handled.
void OnBeforeInitialModuleScreenSetAsRootDelayed()
OnGameEndDelayed(Game)
Event that takes place right after OnGameEnd events of all loaded submodules were handled.
void OnGameEndDelayed(Game game)
Parameters
game
Game
OnGameStartDelayed(Game, IGameStarter)
Event that takes place right after OnGameStart events of all loaded submodules were handled.
void OnGameStartDelayed(Game game, IGameStarter gameStarterObject)
Parameters
game
GamegameStarterObject
IGameStarter