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

◆ GetAgentTransferabilityOut()

float PluginBase::GetAgentTransferabilityOut ( int agent_id)
inlineprotected

Returns transferabilityOut attribute for given agent.

Аргументы
agent_idId of agent (see eAgents enum)
Возвращает
AgentBase::m_TransferabilityOut

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

232 {
233 if(!m_AgentList.Get(agent_id))
234 return 0;
235 return m_AgentList.Get(agent_id).GetTransferabilityOut();
236 }
static ref map< int, ref AgentBase > m_AgentList
Определения PluginTransmissionAgents.c:15

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

Используется в CalculateAgentsToTransmit() и DetermineChanceToTransmit().