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

◆ SetMods()

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

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

591 {
592 m_Mods = mods;
593
594 if (mods && mods.Count() > 0)
595 {
596 string mods_text = mods[0];
597 for (int i = 1; i < mods.Count(); i++)
598 mods_text += ", " + mods[i];
599
600 m_ServerMods.SetText(mods_text);
601 }
602
603 #ifdef PLATFORM_WINDOWS
604 m_ServerModsExpand.Show((mods && mods.Count() > 0));
605 #endif
606 }
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.