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

◆ AddActiveInputExcludes()

override void MissionBase::AddActiveInputExcludes ( array< string > excludes)
inlineprotected

Adds one or more exclude groups to disable and refreshes excludes.

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

952 {
953 super.AddActiveInputExcludes(excludes);
954
955 if (excludes.Count() != 0)
956 {
957 bool changed = false;
959 {
960 m_ActiveInputExcludeGroups = new array<string>;
961 }
962
963 foreach (string excl : excludes)
964 {
965 if (m_ActiveInputExcludeGroups.Find(excl) == -1)
966 {
967 m_ActiveInputExcludeGroups.Insert(excl);
968 changed = true;
969 }
970 }
971
972 if (changed)
973 {
975 #ifdef BULDOZER
977 #endif
978 }
979 }
980 }
proto native UAInputAPI GetUApi()
override void RefreshExcludes()
queues refresh of input excludes
Определения missionGameplay.c:1021
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
proto native void SupressNextFrame(bool bForce)

Перекрестные ссылки GetUApi(), m_ActiveInputExcludeGroups, RefreshExcludes() и UAInputAPI::SupressNextFrame().

Используется в OnUpdate(), Pause(), PlayerControlDisable(), ShowChat() и ShowInventory().