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

◆ InterruptGestureCheck()

bool InterruptGestureCheck ( )
protected

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

1093 {
1094 //init pass
1096 {
1099
1100 for (int i = 0; i < m_InterruptInputsCount; i++)
1101 {
1102 m_InterruptInputDirect.Insert(GetUApi().GetInputByName(m_InterruptInputs[i]));
1103 }
1104 }
1105
1106 //interrupts any callback if restrain action is in progress, takes priority
1107 if (!m_Callback.m_IsFullbody)
1108 return false;
1109
1110 for (int idx = 0; idx < m_InterruptInputsCount; idx++)
1111 {
1112 if (m_InterruptInputDirect[idx].LocalPress())
1113 {
1114 return true;
1115 }
1116 }
1117
1118 return false;
1119 }
EmoteCB m_Callback
Определения EmoteManager.c:111
ref array< UAInput > m_InterruptInputDirect
Определения EmoteManager.c:114
int m_InterruptInputsCount
Определения EmoteManager.c:137
ref array< string > m_InterruptInputs
Определения EmoteManager.c:113
proto native UAInputAPI GetUApi()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

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

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