class PluginManagerSource
Constructors 2
void PluginManager()void ~PluginManager()References map.Count(), map.GetElement(), DayZGame.GetUpdateQueue()
Show 3 more
, PluginBase.OnDestroy(), ScriptInvoker.Remove(), and m_PluginsPtrsMembers 2
list of modules for creation
private ref map<typename, ref PluginBase> m_PluginsPtrsplugin, plugin pointer
Referenced by ~PluginManager(), GetPluginByType(), MainOnUpdate()
Show 2 more
, PluginManager(), and PluginsInit()Methods 8
void Init()References DayZGame.GetUpdateQueue(), ScriptInvoker.Insert(), RegisterPlugin()
Show 2 more
, RegisterPluginDebug(), and RegisterPluginDiag()Referenced by PluginManagerInit()
void PluginsInit()References Class.Cast(), array.Count(), GetPluginByType()
Show 8 more
, array.Insert(), PluginBase.OnInit(), map.Remove(), array.Reserve(), map.Set(), typename.Spawn(), m_PluginRegister, and m_PluginsPtrsReferenced by PluginManagerInit()
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)
module_tpyetypenameclass type of plugin
Returns: PluginBase
PluginRepairing plugin = GetPluginManager().GetPluginByType(PluginRepairing);protected 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.
module_tpyetypenameclass type of plugin
Returns: void
class PluginRepairing extends PluginBase
{
...
}
RegisterPlugin(PluginRepairing);References array.Insert(), CGame.IsClient(), CGame.IsDebug()
Show 4 more
, CGame.IsMultiplayer(), CGame.IsServer(), string.ToType(), and m_PluginRegisterprotected void RegisterPluginDebug(string plugin_class_name, bool reg_on_client, bool reg_on_server)Register new PluginBase to PluginManager for storing and handling plugin.
module_tpyetypenameclass type of plugin
Returns: void
class PluginRepairing extends PluginBase
{
...
}
RegisterPlugin(PluginRepairing);References RegisterPlugin()
Referenced by Init()
References RegisterPlugin()
Referenced by Init()