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

◆ ConstructSimpleAgentList()

void PluginBase::ConstructSimpleAgentList ( )
inlineprivate

Builds simplified list of agents in <id, name> format.

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

46 {
47 string agent_name;
48 int agent_type;
49
50 for(int i = 0; i < m_AgentList.Count();i++)
51 {
52 AgentBase agent = m_AgentList.GetElement(i);
53 agent_name = agent.GetName();
54 agent_type = agent.GetAgentType();
55 m_SimpleAgentList.Insert(agent_type, agent_name);
56 }
57 }
int GetAgentType()
Определения AgentBase.c:24
string GetName()
Определения AgentBase.c:132
static ref map< int, ref AgentBase > m_AgentList
Определения PluginTransmissionAgents.c:15
ref map< int, string > m_SimpleAgentList
Определения PluginTransmissionAgents.c:16

Перекрестные ссылки AgentBase::GetAgentType(), AgentBase::GetName(), m_AgentList и m_SimpleAgentList.

Используется в GetSimpleAgentList().