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

◆ OnEndClient()

override void ActionViewOptics::OnEndClient ( ActionData action_data)
inlineprivate

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

92 {
93 ItemOptics optic;
94 if (Class.CastTo(optic, action_data.m_MainItem) && optic.IsInOptics())
95 {
96 ExitOptics(optic, action_data.m_Player);
97 }
98 GetGame().GetMission().RemoveActiveInputExcludes({"actonViewOpticExcl"});
99 }
void ExitOptics(ItemOptics optic, PlayerBase player)
Определения ActionViewOptics.c:159
proto native Mission GetMission()
proto native bool IsInOptics()
is weapon in optics mode or not
void RemoveActiveInputExcludes(array< string > excludes, bool bForceSupress=false)
deprecated
proto native CGame GetGame()

Перекрестные ссылки ActionData, Class::CastTo(), ExitOptics(), GetGame(), CGame::GetMission(), ItemOptics::IsInOptics() и Mission::RemoveActiveInputExcludes().