DayZ 1.24
|
Protected Member Functions | |
void | RegisterPlugin (string plugin_class_name, bool reg_on_client, bool reg_on_server, bool reg_on_release=true) |
Register new PluginBase to PluginManager for storing and handling plugin. | |
void | RegisterPluginDebug (string plugin_class_name, bool reg_on_client, bool reg_on_server) |
Register new PluginBase to PluginManager for storing and handling plugin. | |
void | RegisterPluginDiag (string plugin_class_name, bool reg_on_client, bool reg_on_server) |
bool | UnregisterPlugin (string plugin_class_name) |
Private Member Functions | |
void | PluginManager () |
void | ~PluginManager () |
void | Init () |
void | PluginsInit () |
void | MainOnUpdate (float delta_time) |
PluginBase | GetPluginByType (typename plugin_type) |
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_type) | |
Private Attributes | |
ref array< typename > | m_PluginRegister |
ref map< typename, ref PluginBase > | m_PluginsPtrs |
Definition at line 1 of file PluginManager.c.
|
inlineprivate |
Definition at line 9 of file PluginManager.c.
References m_PluginRegister, and m_PluginsPtrs.
|
inlineprivate |
Definition at line 18 of file PluginManager.c.
References CALL_CATEGORY_GAMEPLAY, GetGame(), m_PluginsPtrs, and MainOnUpdate().
|
inlineprivate |
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_type)
module_tpye | typename class type of plugin |
PluginBase
Definition at line 151 of file PluginManager.c.
References m_PluginsPtrs.
Referenced by GetPlugin(), and PluginsInit().
|
inlineprivate |
Definition at line 39 of file PluginManager.c.
References CALL_CATEGORY_GAMEPLAY, GetGame(), MainOnUpdate(), RegisterPlugin(), RegisterPluginDebug(), and RegisterPluginDiag().
Definition at line 130 of file PluginManager.c.
References m_PluginsPtrs.
Referenced by Init(), and ~PluginManager().
|
inlineprivate |
Definition at line 101 of file PluginManager.c.
References GetPluginByType(), m_PluginRegister, and m_PluginsPtrs.
|
inlineprotected |
Register new PluginBase to PluginManager for storing and handling plugin.
module_tpye | typename class type of plugin |
void
Definition at line 175 of file PluginManager.c.
References GetGame(), and m_PluginRegister.
Referenced by Init(), RegisterPluginDebug(), and RegisterPluginDiag().
|
inlineprotected |
Register new PluginBase to PluginManager for storing and handling plugin.
module_tpye | typename class type of plugin |
void
Definition at line 217 of file PluginManager.c.
References RegisterPlugin().
Referenced by Init().
|
inlineprotected |
Definition at line 224 of file PluginManager.c.
References RegisterPlugin().
Referenced by Init().
Definition at line 236 of file PluginManager.c.
References m_PluginRegister.
Definition at line 3 of file PluginManager.c.
Referenced by PluginManager(), PluginsInit(), RegisterPlugin(), and UnregisterPlugin().
|
private |
Definition at line 4 of file PluginManager.c.
Referenced by GetPluginByType(), MainOnUpdate(), PluginManager(), PluginsInit(), and ~PluginManager().