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

◆ UpdateSelectionVisibility()

override void UpdateSelectionVisibility ( )

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

95 {
96 super.UpdateSelectionVisibility();
97
98 switch (GetCurrentOpticMode())
99 {
101 HideSelection("hide_cover");
102 HideSelection("hide_cover_pilot");
103 break;
104
106 ShowSelection("hide_cover");
107 if ( !g_Game.IsDedicatedServer() && !IsInOptics() ) //quick sanity check, just in case
108 {
109 ShowSelection("hide_cover_pilot");
110 }
111 break;
112 }
113 }
DayZGame g_Game
Определения DayZGame.c:3942
const int OPTICS_STATE_DAY
Определения 3_Game/DayZ/constants.c:910
const int OPTICS_STATE_NIGHTVISION
Определения 3_Game/DayZ/constants.c:911

Перекрестные ссылки g_Game, ItemOptics::GetCurrentOpticMode(), ItemOptics::HideSelection(), GameConstants::OPTICS_STATE_DAY, GameConstants::OPTICS_STATE_NIGHTVISION и ItemOptics::ShowSelection().