Class GameManagerBase
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public abstract class GameManagerBase
- Inheritance
-
GameManagerBase
- Derived
- Inherited Members
Constructors
GameManagerBase()
protected GameManagerBase()
Properties
ApplicationTime
public abstract float ApplicationTime { get; }
Property Value
CheatMode
public abstract bool CheatMode { get; }
Property Value
Components
public IEnumerable<GameManagerComponent> Components { get; }
Property Value
Current
public static GameManagerBase Current { get; }
Property Value
Game
public Game Game { get; }
Property Value
IsDevelopmentMode
public abstract bool IsDevelopmentMode { get; }
Property Value
IsEditModeOn
public abstract bool IsEditModeOn { get; }
Property Value
UnitSpawnPrioritization
public abstract UnitSpawnPrioritizations UnitSpawnPrioritization { get; }
Property Value
Methods
AddComponent(Type)
public GameManagerComponent AddComponent(Type componentType)
Parameters
componentType
Type
Returns
AddComponent<T>()
public T AddComponent<T>() where T : GameManagerComponent, new()
Returns
- T
Type Parameters
T
AfterRegisterSubModuleObjects(bool)
public abstract void AfterRegisterSubModuleObjects(bool isSavedCampaign)
Parameters
isSavedCampaign
bool
BeginGameStart(Game)
public abstract void BeginGameStart(Game game)
Parameters
game
Game
DoLoadingForGameManager()
public bool DoLoadingForGameManager()
Returns
DoLoadingForGameManager(GameManagerLoadingSteps, out GameManagerLoadingSteps)
protected virtual void DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep)
Parameters
gameManagerLoadingStep
GameManagerLoadingStepsnextStep
GameManagerLoadingSteps
GetComponent(Type)
public GameManagerComponent GetComponent(Type componentType)
Parameters
componentType
Type
Returns
GetComponent<T>()
public T GetComponent<T>() where T : GameManagerComponent
Returns
- T
Type Parameters
T
GetComponents<T>()
public IEnumerable<T> GetComponents<T>() where T : GameManagerComponent
Returns
- IEnumerable<T>
Type Parameters
T
Initialize()
public void Initialize()
InitializeGameStarter(Game, IGameStarter)
public virtual void InitializeGameStarter(Game game, IGameStarter starterObject)
Parameters
game
GamestarterObject
IGameStarter
OnAfterCampaignStart(Game)
public abstract void OnAfterCampaignStart(Game game)
Parameters
game
Game
OnAfterGameInitializationFinished(Game, object)
public abstract void OnAfterGameInitializationFinished(Game game, object initializerObject)
Parameters
OnGameEnd(Game)
public virtual void OnGameEnd(Game game)
Parameters
game
Game
OnGameInitializationFinished(Game)
public abstract void OnGameInitializationFinished(Game game)
Parameters
game
Game
OnGameLoaded(Game, object)
public abstract void OnGameLoaded(Game game, object initializerObject)
Parameters
OnGameNetworkBegin()
public void OnGameNetworkBegin()
OnGameNetworkEnd()
public void OnGameNetworkEnd()
OnGameStart(Game, IGameStarter)
public abstract void OnGameStart(Game game, IGameStarter gameStarter)
Parameters
game
GamegameStarter
IGameStarter
OnLoadFinished()
public virtual void OnLoadFinished()
OnNewCampaignStart(Game, object)
public abstract void OnNewCampaignStart(Game game, object starterObject)
Parameters
OnNewGameCreated(Game, object)
public abstract void OnNewGameCreated(Game game, object initializerObject)
Parameters
OnPlayerConnect(VirtualPlayer)
public void OnPlayerConnect(VirtualPlayer peer)
Parameters
peer
VirtualPlayer
OnPlayerDisconnect(VirtualPlayer)
public void OnPlayerDisconnect(VirtualPlayer peer)
Parameters
peer
VirtualPlayer
OnTick(float)
public void OnTick(float dt)
Parameters
dt
float
RegisterSubModuleObjects(bool)
public abstract void RegisterSubModuleObjects(bool isSavedCampaign)
Parameters
isSavedCampaign
bool
RemoveComponent(GameManagerComponent)
public void RemoveComponent(GameManagerComponent component)
Parameters
component
GameManagerComponent
RemoveComponent<T>()
public void RemoveComponent<T>() where T : GameManagerComponent
Type Parameters
T
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).