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

◆ ConstructSimpleAgentList()

void PluginBase::ConstructSimpleAgentList ( )
inlineprivate

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

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

48 {
49 string agent_name;
50 int agent_type;
51
52 for(int i = 0; i < m_AgentList.Count();i++)
53 {
54 AgentBase agent = m_AgentList.GetElement(i);
55 agent_name = agent.GetName();
56 agent_type = agent.GetAgentType();
57 m_SimpleAgentList.Insert(agent_type, agent_name);
58 }
59 }
int GetAgentType()
Определения AgentBase.c:33
string GetName()
Определения AgentBase.c:146
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().