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

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

158 {
159 if ( m_PluginsPtrs.Contains( plugin_type ) )
160 {
161 return m_PluginsPtrs.Get( plugin_type );
162 }
163
164 return null;
165 }
ref map< typename, ref PluginBase > m_PluginsPtrs
Определения PluginManager.c:4

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

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