DayZ 1.30
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 строка 1028

1029 {
1030 bool active = false;
1032 {
1033 active |= m_ActiveInputExcludeGroups.Count() > 0;
1034 }
1036 {
1037 active |= m_ActiveInputRestrictions.Count() > 0;
1038 }
1039 active |= m_ControlDisabledMode >= INPUT_EXCLUDE_ALL; //legacy stuff, Justin case
1040 return active;
1041 }
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:691

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