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

◆ SetBattleyeState()

void ScriptedWidgetEventHandler::SetBattleyeState ( int enabled = -1)
inlineprotected

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

264 {
265 string result = "#STR_server_browser_no_server_selected";
266 int color = ARGB(255, 255, 255, 255);
267
268 switch (enabled)
269 {
270 case 0:
271 {
272 result = "#server_browser_entry_disabled";
273 color = ARGB(255, 255, 0, 0);
274 break;
275 }
276 case 1:
277 {
278 result = "#server_browser_entry_enabled";
279 color = ARGB(255, 0, 255, 0);
280 break;
281 }
282 }
283
284 m_BattleyeResult.SetText(result);
285 m_BattleyeResult.SetColor(color);
286 }
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB() и m_BattleyeResult.