Class MBSubModuleBaseListWrapper
- Namespace
- Bannerlord.ButterLib.SubModuleWrappers2
- Assembly
- Bannerlord.ButterLib.dll
Wraps several MBSubModuleBase so when the game calls any method, it will be passed to its children.
public class MBSubModuleBaseListWrapper : MBSubModuleBase
- Inheritance
-
MBSubModuleBaseListWrapper
- Derived
- Inherited Members
- Extension Methods
Fields
_subModules
protected readonly List<MBSubModuleBaseWrapper> _subModules
Field Value
Properties
SubModules
public IReadOnlyList<MBSubModuleBaseWrapper> SubModules { 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/04/2024 11:27:01 +03:00 (UTC).
Commit Message
Author: Vitalii Mikhailov
Commit: 98b2786879bc1a06398803b840e05a5523711d12
Using collection expression