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

◆ InterruptGestureCheck()

bool InterruptGestureCheck ( )
protected

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

1326 {
1327 //init pass
1329 {
1332
1333 for (int i = 0; i < m_InterruptInputsCount; i++)
1334 {
1335 m_InterruptInputDirect.Insert(GetUApi().GetInputByName(m_InterruptInputs[i]).GetPersistentWrapper());
1336 }
1337 }
1338
1339 //interrupts any callback if restrain action is in progress, takes priority
1340 if (!m_Callback.m_IsFullbody)
1341 return false;
1342
1343 for (int idx = 0; idx < m_InterruptInputsCount; idx++)
1344 {
1345 if (m_InterruptInputDirect[idx].InputP().LocalPress())
1346 {
1347 return true;
1348 }
1349 }
1350
1351 return false;
1352 }
EmoteCB m_Callback
Определения EmoteManager.c:125
int m_InterruptInputsCount
Определения EmoteManager.c:154
ref array< string > m_InterruptInputs
Определения EmoteManager.c:127
ref array< UAIDWrapper > m_InterruptInputDirect
Определения EmoteManager.c:128
proto native UAInputAPI GetUApi()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки GetUApi(), m_Callback, m_InterruptInputDirect, m_InterruptInputs и m_InterruptInputsCount.

Используется в Update().