DayZ 1.29
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 строка 170

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

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