M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.Module Class Referencesealed

Inherits DotNetObject, and TaleWorlds.Core.IGameStateManagerOwner.

Public Types

enum  XmlInformationType {
  Parameters ,
  MbObjectType
}
 

Public Member Functions

Type GetSubModule (string name)
 
void SetInitialModuleScreenAsRootScreen ()
 
bool CheckIfSubmoduleCanBeLoadable (SubModuleInfo subModuleInfo)
 
void ClearStateOptions ()
 
void AddInitialStateOption (InitialStateOption initialStateOption)
 
IEnumerable< InitialStateOptionGetInitialStateOptions ()
 
InitialStateOption GetInitialStateOptionWithId (string id)
 
void ExecuteInitialStateOptionWithId (string id)
 
void SetEditorMissionTester (IEditorMissionTester editorMissionTester)
 
void StartMissionForEditorAux (string missionName, string sceneName, string levels, bool forReplay, string replayFileName, bool isRecord)
 
MultiplayerGameMode GetMultiplayerGameMode (string gameType)
 
void AddMultiplayerGameMode (MultiplayerGameMode multiplayerGameMode)
 
MBReadOnlyList< MultiplayerGameTypeInfoGetMultiplayerGameTypes ()
 
bool StartMultiplayerGame (string multiplayerGameType, string scene)
 
async void ShutDownWithDelay (string reason, int seconds)
 

Static Public Member Functions

static void GetMetaMeshPackageMapping (Dictionary< string, string > metaMeshPackageMappings)
 
static void GetItemMeshNames (HashSet< string > itemMeshNames)
 

Properties

GameTextManager GlobalTextManager [get]
 
JobManager JobManager [get]
 
MBReadOnlyList< MBSubModuleBaseSubModules [get]
 
GameStateManager GlobalGameStateManager [get]
 
bool ReturnToEditorState [get]
 
bool LoadingFinished [get]
 
bool IsOnlyCoreContentEnabled [get]
 
bool MultiplayerRequested [get]
 
GameStartupInfo StartupInfo [get]
 
static Module CurrentModule [get]
 

Events

Action SkinsXMLHasChanged
 
Action ImguiProfilerTick
 

Member Enumeration Documentation

◆ XmlInformationType

Enumerator
Parameters 
MbObjectType 

Member Function Documentation

◆ GetSubModule()

Type TaleWorlds.MountAndBlade.Module.GetSubModule ( string name)

◆ GetMetaMeshPackageMapping()

static void TaleWorlds.MountAndBlade.Module.GetMetaMeshPackageMapping ( Dictionary< string, string > metaMeshPackageMappings)
static

◆ GetItemMeshNames()

static void TaleWorlds.MountAndBlade.Module.GetItemMeshNames ( HashSet< string > itemMeshNames)
static

◆ SetInitialModuleScreenAsRootScreen()

void TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen ( )

◆ CheckIfSubmoduleCanBeLoadable()

bool TaleWorlds.MountAndBlade.Module.CheckIfSubmoduleCanBeLoadable ( SubModuleInfo subModuleInfo)

◆ ClearStateOptions()

void TaleWorlds.MountAndBlade.Module.ClearStateOptions ( )

◆ AddInitialStateOption()

void TaleWorlds.MountAndBlade.Module.AddInitialStateOption ( InitialStateOption initialStateOption)

◆ GetInitialStateOptions()

IEnumerable< InitialStateOption > TaleWorlds.MountAndBlade.Module.GetInitialStateOptions ( )

◆ GetInitialStateOptionWithId()

InitialStateOption TaleWorlds.MountAndBlade.Module.GetInitialStateOptionWithId ( string id)

◆ ExecuteInitialStateOptionWithId()

void TaleWorlds.MountAndBlade.Module.ExecuteInitialStateOptionWithId ( string id)

◆ SetEditorMissionTester()

void TaleWorlds.MountAndBlade.Module.SetEditorMissionTester ( IEditorMissionTester editorMissionTester)

◆ StartMissionForEditorAux()

void TaleWorlds.MountAndBlade.Module.StartMissionForEditorAux ( string missionName,
string sceneName,
string levels,
bool forReplay,
string replayFileName,
bool isRecord )

◆ GetMultiplayerGameMode()

MultiplayerGameMode TaleWorlds.MountAndBlade.Module.GetMultiplayerGameMode ( string gameType)

◆ AddMultiplayerGameMode()

void TaleWorlds.MountAndBlade.Module.AddMultiplayerGameMode ( MultiplayerGameMode multiplayerGameMode)

◆ GetMultiplayerGameTypes()

MBReadOnlyList< MultiplayerGameTypeInfo > TaleWorlds.MountAndBlade.Module.GetMultiplayerGameTypes ( )

◆ StartMultiplayerGame()

bool TaleWorlds.MountAndBlade.Module.StartMultiplayerGame ( string multiplayerGameType,
string scene )

◆ ShutDownWithDelay()

async void TaleWorlds.MountAndBlade.Module.ShutDownWithDelay ( string reason,
int seconds )

Property Documentation

◆ GlobalTextManager

GameTextManager TaleWorlds.MountAndBlade.Module.GlobalTextManager
get

◆ JobManager

JobManager TaleWorlds.MountAndBlade.Module.JobManager
get

◆ SubModules

MBReadOnlyList<MBSubModuleBase> TaleWorlds.MountAndBlade.Module.SubModules
get

◆ GlobalGameStateManager

GameStateManager TaleWorlds.MountAndBlade.Module.GlobalGameStateManager
get

◆ ReturnToEditorState

bool TaleWorlds.MountAndBlade.Module.ReturnToEditorState
get

◆ LoadingFinished

bool TaleWorlds.MountAndBlade.Module.LoadingFinished
get

◆ IsOnlyCoreContentEnabled

bool TaleWorlds.MountAndBlade.Module.IsOnlyCoreContentEnabled
get

◆ MultiplayerRequested

bool TaleWorlds.MountAndBlade.Module.MultiplayerRequested
get

◆ StartupInfo

GameStartupInfo TaleWorlds.MountAndBlade.Module.StartupInfo
get

◆ CurrentModule

Module TaleWorlds.MountAndBlade.Module.CurrentModule
staticget

Event Documentation

◆ SkinsXMLHasChanged

Action TaleWorlds.MountAndBlade.Module.SkinsXMLHasChanged

◆ ImguiProfilerTick

Action TaleWorlds.MountAndBlade.Module.ImguiProfilerTick