110 {
111 int i = 0;
113
114 array<PluginBase> pluginPtrs = {};
115 pluginPtrs.Reserve(regCount);
116
118 {
120 if ( moduleExist )
121 {
123 }
124
125 PluginBase moduleNew = PluginBase.Cast(pluginType.Spawn());
127 pluginPtrs.Insert(moduleNew);
128 }
129
130 foreach (PluginBase plugin : pluginPtrs)
131 {
132 if ( plugin )
133 {
134 plugin.OnInit();
135 }
136 }
137 }
PluginBase GetPluginByType(typename plugin_type)
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
ref map< typename, ref PluginBase > m_PluginsPtrs
ref array< typename > m_PluginRegister