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

◆ SetMods()

void ScriptedWidgetEventHandler::SetMods ( array< string > mods)
inlineprivate

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

588 {
589 m_Mods = mods;
590
591 if (mods && mods.Count() > 0)
592 {
593 string mods_text = mods[0];
594 for (int i = 1; i < mods.Count(); i++)
595 mods_text += ", " + mods[i];
596
597 m_ServerMods.SetText(mods_text);
598 }
599
600 #ifdef PLATFORM_WINDOWS
601 m_ServerModsExpand.Show((mods && mods.Count() > 0));
602 #endif
603 }
ref array< string > m_Mods
Определения ServerBrowserEntry.c:27
TextWidget m_ServerMods
Определения ServerBrowserEntry.c:25
ButtonWidget m_ServerModsExpand
Определения ServerBrowserEntry.c:26

Перекрестные ссылки m_Mods, m_ServerMods и m_ServerModsExpand.