Class MBSubModuleBaseWrapper
- Namespace
- Bannerlord.ButterLib.SubModuleWrappers2
- Assembly
- Bannerlord.ButterLib.dll
Wraps a MBSubModuleBase so protected methods could be called without a performance hit
public class MBSubModuleBaseWrapper : MBSubModuleBase
- Inheritance
-
MBSubModuleBaseWrapper
- Inherited Members
- Extension Methods
Constructors
MBSubModuleBaseWrapper(MBSubModuleBase)
public MBSubModuleBaseWrapper(MBSubModuleBase subModule)
Parameters
subModule
MBSubModuleBase
Properties
SubModule
public MBSubModuleBase SubModule { get; }
Property Value
Methods
AfterAsyncTickTick(float)
public virtual void AfterAsyncTickTick(float dt)
Parameters
dt
float
AfterRegisterSubModuleObjects(bool)
public virtual void AfterRegisterSubModuleObjects(bool isSavedCampaign)
Parameters
isSavedCampaign
bool
BeginGameStart(Game)
public virtual void BeginGameStart(Game game)
Parameters
game
Game
DoLoading(Game)
public virtual bool DoLoading(Game game)
Parameters
game
Game
Returns
InitializeGameStarter(Game, IGameStarter)
public virtual void InitializeGameStarter(Game game, IGameStarter starterObject)
Parameters
game
GamestarterObject
IGameStarter
OnAfterGameInitializationFinished(Game, object)
public virtual void OnAfterGameInitializationFinished(Game game, object starterObject)
Parameters
OnApplicationTick(float)
public virtual void OnApplicationTick(float dt)
Parameters
dt
float
OnBeforeInitialModuleScreenSetAsRoot()
public virtual void OnBeforeInitialModuleScreenSetAsRoot()
OnBeforeMissionBehaviorInitialize(Mission)
public virtual void OnBeforeMissionBehaviorInitialize(Mission mission)
Parameters
mission
Mission
OnCampaignStart(Game, object)
public virtual void OnCampaignStart(Game game, object starterObject)
Parameters
OnConfigChanged()
public virtual void OnConfigChanged()
OnGameEnd(Game)
public virtual void OnGameEnd(Game game)
Parameters
game
Game
OnGameInitializationFinished(Game)
public virtual void OnGameInitializationFinished(Game game)
Parameters
game
Game
OnGameLoaded(Game, object)
public virtual void OnGameLoaded(Game game, object initializerObject)
Parameters
OnGameStart(Game, IGameStarter)
public virtual void OnGameStart(Game game, IGameStarter gameStarterObject)
Parameters
game
GamegameStarterObject
IGameStarter
OnInitialState()
public virtual void OnInitialState()
OnMissionBehaviorInitialize(Mission)
public virtual void OnMissionBehaviorInitialize(Mission mission)
Parameters
mission
Mission
OnMultiplayerGameStart(Game, object)
public virtual void OnMultiplayerGameStart(Game game, object starterObject)
Parameters
OnNewGameCreated(Game, object)
public virtual void OnNewGameCreated(Game game, object initializerObject)
Parameters
OnServiceRegistration()
public virtual void OnServiceRegistration()
OnSubModuleLoad()
public virtual void OnSubModuleLoad()
OnSubModuleUnloaded()
public virtual void OnSubModuleUnloaded()
RegisterSubModuleObjects(bool)
public virtual void RegisterSubModuleObjects(bool isSavedCampaign)
Parameters
isSavedCampaign
bool
This page was last modified at 10/07/2024 08:38:12 +00:00 (UTC).