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

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

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

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