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

◆ IsControlDisabled() [2/2]

override bool MissionBase::IsControlDisabled ( )
inlineprotected

returns if ANY exclude groups, restriction (or deprecated disable, if applicable) is active

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

1006 {
1007 bool active = false;
1009 {
1010 active |= m_ActiveInputExcludeGroups.Count() > 0;
1011 }
1013 {
1014 active |= m_ActiveInputRestrictions.Count() > 0;
1015 }
1016 active |= m_ControlDisabledMode >= INPUT_EXCLUDE_ALL; //legacy stuff, Justin case
1017 return active;
1018 }
int m_ControlDisabledMode
Определения missionGameplay.c:38
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
ref array< int > m_ActiveInputRestrictions
Определения missionGameplay.c:40
const int INPUT_EXCLUDE_ALL
Определения 3_Game/DayZ/constants.c:657

Перекрестные ссылки INPUT_EXCLUDE_ALL, m_ActiveInputExcludeGroups, m_ActiveInputRestrictions и m_ControlDisabledMode.