-
Notifications
You must be signed in to change notification settings - Fork 3
/
IMBSubModuleBaseEx.cs
26 lines (24 loc) · 1.08 KB
/
IMBSubModuleBaseEx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using TaleWorlds.Core;
namespace Bannerlord.ButterLib.MBSubModuleBaseExtended;
/// <summary>
/// An interface to use in your <see cref="T:TaleWorlds.MountAndBlade.MBSubModuleBase" />-derived class. Provides new SubModule events.
/// </summary>
public interface IMBSubModuleBaseEx
{
/// <summary>
/// Event that takes place right after OnSubModuleUnloaded events of all loaded submodules were handled.
/// </summary>
public void OnAllSubModulesUnLoaded();
/// <summary>
/// Event that takes place right after OnBeforeInitialModuleScreenSetAsRoot events of all loaded submodules were handled.
/// </summary>
public void OnBeforeInitialModuleScreenSetAsRootDelayed();
/// <summary>
/// Event that takes place right after OnGameStart events of all loaded submodules were handled.
/// </summary>
public void OnGameStartDelayed(Game game, IGameStarter gameStarterObject);
/// <summary>
/// Event that takes place right after OnGameEnd events of all loaded submodules were handled.
/// </summary>
public void OnGameEndDelayed(Game game);
}