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

◆ UpdateStatsWidget()

void UpdateStatsWidget ( int index,
RemotePlayerStatDebug rpd )

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

134 {
135 array<string> names = new array<string>;
136 array<string> values = new array<string>;
137 rpd.SerializeNames(names, m_DebugType);
138 rpd.SerializeValues(values,m_DebugType);
139 m_StatListWidgets[index].ClearItems();
140
141 for (int i = 0; i < names.Count(); ++i)
142 {
143 m_StatListWidgets[index].AddItem( names.Get(i), null, 0, i );
144 m_StatListWidgets[index].SetItem( i, values.Get(i), null, 1 );
145 }
146 }
eRemoteDebugType m_DebugType
Определения PluginRemotePlayerDebugClient.c:19
ref TextListboxWidget m_StatListWidgets[MAX_SIMULTANIOUS_PLAYERS]
Определения PluginRemotePlayerDebugClient.c:16
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки m_DebugType, m_StatListWidgets и RemotePlayerStatDebug().

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