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

◆ GetAgentTransferabilityIn()

float PluginBase::GetAgentTransferabilityIn ( int agent_id)
inlineprotected

Returns transferabilityIn attribute for given agent.

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

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

117 {
118 if( !m_AgentList.Get(agent_id) ) return 0;
119 return m_AgentList.Get(agent_id).GetTransferabilityIn();
120 }
static ref map< int, ref AgentBase > m_AgentList
Определения PluginTransmissionAgents.c:15

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

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