DayZ 1.28
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 ( !GetGame().IsDedicatedServer() && !IsInOptics() ) //quick sanity check, just in case
108 {
109 ShowSelection("hide_cover_pilot");
110 }
111 break;
112 }
113 }
proto native CGame GetGame()
const int OPTICS_STATE_DAY
Определения 3_Game/constants.c:907
const int OPTICS_STATE_NIGHTVISION
Определения 3_Game/constants.c:908

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