DayZ 1.30
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:284
PluginBase GetPluginByType(typename plugin_type)
Returns registred plugin by class type, better is to use global funtion GetPlugin(typename plugin_typ...
Определения PluginManager.c:167

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

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

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

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