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

◆ SetAgents()

void SetAgents ( )
private

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

124 {
125 PluginDeveloperSync developer_sync = PluginDeveloperSync.Cast( GetPlugin( PluginDeveloperSync ) );
126
127 //clear window
128 ClearAgents();
129
130 //set agents
131 if ( developer_sync.m_PlayerAgentsSynced.Count() > 0 )
132 {
133 for ( int i = 0; i < developer_sync.m_PlayerAgentsSynced.Count(); i++ )
134 {
135 SyncedValueAgent syncedValue = SyncedValueAgent.Cast(developer_sync.m_PlayerAgentsSynced.Get(i));
136 AddAgent(
137 syncedValue.GetName(),
138 syncedValue.GetValue(),
139 syncedValue.GetID(),
140 syncedValue.GetTemporaryResistanceTime(),
141 );
142 }
143 }
144 }
void ClearAgents()
Определения HudDebugWinCharAgents.c:216
void AddAgent(string title, string value, int id, float temporaryResistance)
Определения HudDebugWinCharAgents.c:189
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:316
void SyncedValueAgent(string name, string value, int id, float temporaryResistance)
Определения SyncedValue.c:111

Перекрестные ссылки AddAgent(), ClearAgents(), GetPlugin() и SyncedValueAgent().

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