Table of Contents

Class MBSubModuleBaseSimpleWrapper

Namespace
Bannerlord.BUTR.Shared.Utils
Assembly
Bannerlord.ButterLib.dll

Wraps a MBSubModuleBase so protected methods could be called without a performance hit

public class MBSubModuleBaseSimpleWrapper : MBSubModuleBase
Inheritance
MBSubModuleBaseSimpleWrapper
Inherited Members
Extension Methods

Constructors

MBSubModuleBaseSimpleWrapper(MBSubModuleBase)

public MBSubModuleBaseSimpleWrapper(MBSubModuleBase subModule)

Parameters

subModule MBSubModuleBase

Properties

SubModule

public MBSubModuleBase SubModule { get; }

Property Value

MBSubModuleBase

Methods

AfterAsyncTickTick(float)

protected override void AfterAsyncTickTick(float dt)

Parameters

dt float

AfterRegisterSubModuleObjects(bool)

public override void AfterRegisterSubModuleObjects(bool isSavedCampaign)

Parameters

isSavedCampaign bool

BeginGameStart(Game)

public override void BeginGameStart(Game game)

Parameters

game Game

DoLoading(Game)

public override bool DoLoading(Game game)

Parameters

game Game

Returns

bool

InitializeGameStarter(Game, IGameStarter)

protected override void InitializeGameStarter(Game game, IGameStarter starterObject)

Parameters

game Game
starterObject IGameStarter

OnAfterGameInitializationFinished(Game, object)

public override void OnAfterGameInitializationFinished(Game game, object starterObject)

Parameters

game Game
starterObject object

OnApplicationTick(float)

protected override void OnApplicationTick(float dt)

Parameters

dt float

OnBeforeInitialModuleScreenSetAsRoot()

protected override void OnBeforeInitialModuleScreenSetAsRoot()

OnBeforeMissionBehaviorInitialize(Mission)

public override void OnBeforeMissionBehaviorInitialize(Mission mission)

Parameters

mission Mission

OnCampaignStart(Game, object)

public override void OnCampaignStart(Game game, object starterObject)

Parameters

game Game
starterObject object

OnConfigChanged()

public override void OnConfigChanged()

OnGameEnd(Game)

public override void OnGameEnd(Game game)

Parameters

game Game

OnGameInitializationFinished(Game)

public override void OnGameInitializationFinished(Game game)

Parameters

game Game

OnGameLoaded(Game, object)

public override void OnGameLoaded(Game game, object initializerObject)

Parameters

game Game
initializerObject object

OnGameStart(Game, IGameStarter)

protected override void OnGameStart(Game game, IGameStarter gameStarterObject)

Parameters

game Game
gameStarterObject IGameStarter

OnInitialState()

public override void OnInitialState()

OnMissionBehaviorInitialize(Mission)

public override void OnMissionBehaviorInitialize(Mission mission)

Parameters

mission Mission

OnMultiplayerGameStart(Game, object)

public override void OnMultiplayerGameStart(Game game, object starterObject)

Parameters

game Game
starterObject object

OnNewGameCreated(Game, object)

public override void OnNewGameCreated(Game game, object initializerObject)

Parameters

game Game
initializerObject object

OnSubModuleLoad()

protected override void OnSubModuleLoad()

OnSubModuleUnloaded()

protected override void OnSubModuleUnloaded()

RegisterSubModuleObjects(bool)

public override void RegisterSubModuleObjects(bool isSavedCampaign)

Parameters

isSavedCampaign bool