Module
Namespace: uMod
Assembly: uMod.Core.dll
Inheritance Object Module
Implements IModule
Summary
Responsible for core uMod logic
Constructors
Name | Summary |
|---|---|
Module ( | Creates a new instance of the uMod class |
Fields
Name | Summary |
|---|---|
CommandLine | The command line |
Dispatcher |
Properties
Name | Summary |
|---|---|
AppDirectory | Gets the application directory |
Application | uMod Service Container |
Auth | |
ConfigDirectory | Gets the configuration directory |
Database | |
DataDirectory | Gets the data directory |
ExtensionDirectory | Gets the extension directory |
Extensions | |
GameEngine | Gets the current game engine |
InstanceDirectory | Gets the instance directory |
IsShuttingDown | This is true if the server is shutting down |
IsTesting | Determines whether or not module is in testing mode |
LangDirectory | Gets the lang directory |
Libraries | |
LogDirectory | Gets the log directory |
Logging | |
Now | Gets the number of seconds since the server started |
OnLoaded | Represents loaded event after loading completed |
OnLoggingInitialized | Represents logging initialization event |
PluginDirectory | Gets the plugin directory |
Plugins | |
RootDirectory | Gets the root directory |
RootLogger | Gets the main logger |
Server | Gets the universal server |
Strings | Gets the core locale provider |
Telemetry | |
TestDirectory | Gets the test directory |
Web |
Methods
Name | Summary |
|---|---|
Calls a deprecated hook and prints a warning | |
CallDeprecatedHook ( | Calls a deprecated hook and prints a warning |
Calls a hook | |
GetStrings ( | Gets the core locale provider for the specified language |
GetStrings ( | Get the core locale provider for the specified player |
Load ( | |
Logs a formatted debug message to the root logger | |
Logs a formatted error message to the root logger | |
Logs an exception to the root logger | |
Logs a formatted info message to the root logger | |
Logs a formatted warning message to the root logger | |
NextTick ( | Queues a callback to be called in the next server frame |
Registers a callback which will be called every server frame | |
OnFrame ( | |
OnSave () | Called when the server is saving |
OnShutdown () | Called when the server is shutting down |
Called by an engine-specific extension to register the engine clock |
Static Fields
Name | Summary |
|---|---|
Version | The current uMod version |