DayZ 1.28
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 строка 169

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

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