DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetPluginByType()

PluginBase PluginManager::GetPluginByType ( typename plugin_type )
inlineprivate

Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_type)

Аргументы
module_tpyetypename class type of plugin
Возвращает
PluginBase
PluginRepairing plugin = GetPluginManager().GetPluginByType(PluginRepairing);
PluginManager GetPluginManager()
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
Определения PluginManager.c:283
PluginBase GetPluginByType(typename plugin_type)
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
Определения PluginManager.c:166

См. определение в файле PluginManager.c строка 166

167 {
168 if ( m_PluginsPtrs.Contains( plugin_type ) )
169 {
170 return m_PluginsPtrs.Get( plugin_type );
171 }
172
173 return null;
174 }
ref map< typename, ref PluginBase > m_PluginsPtrs
Определения PluginManager.c:4

Перекрестные ссылки m_PluginsPtrs.

Используется в GetPlugin(), GetPluginSafe() и PluginsInit().