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

◆ GetAgentPotencyEx()

EStatLevels PluginBase::GetAgentPotencyEx ( int agent_id,
PlayerBase player )
inlineprotected

Returns potency attribute for given agent.

Аргументы
agent_idId of agent (see eAgents enum)
playerActual player reference
Возвращает
AgentBase::m_Potency

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

173 {
174 if( !m_AgentList.Get(agent_id) )
175 return true;
176 return m_AgentList.Get(agent_id).GetPotencyEx(player);
177 }
static ref map< int, ref AgentBase > m_AgentList
Определения PluginTransmissionAgents.c:15

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