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

◆ GetTemporaryResistance()

float PlayerAgentPool::GetTemporaryResistance ( int agentId)
inlineprotected

Returns remaining temporary resistance time for specified agent.

Аргументы

param agent_id Id of agent to add into pool (see eAgents)

Возвращает
time in seconds

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

376 {
377 if (m_AgentTemporaryResistance.Contains(agentId))
378 return m_AgentTemporaryResistance[agentId];
379
380 return 0.0;
381 }
ref map< int, float > m_AgentTemporaryResistance
Определения PlayerAgentPool.c:19

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

Используется в AddAgent(), GetDebugObject(), GrowAgents(), OnStoreSave() и ProcessTemporaryResistance().