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

◆ GetSingleAgentCount()

int PlayerAgentPool::GetSingleAgentCount ( int agent_id)
inlineprotected

Number of agents of specified id.

Аргументы
agent_idId of agent to add into pool (see eAgents)
Возвращает
Count of agents specified in param

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

255 {
256 if (m_VirusPool.Contains(agent_id))
257 return m_VirusPool.Get(agent_id);
258
259 return 0;
260 }
ref map< int, float > m_VirusPool
Определения PlayerAgentPool.c:17

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

Используется в GetDebugObject(), OnStoreSave(), ReduceAgent() и SpawnAgents().