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

◆ InputsUpdate()

void ActionManagerClient::InputsUpdate ( )
inlineprotected

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

283 {
284 ActionInput ain;
286 {
288 {
289 ActionInput ai = m_CurrentActionData.m_Action.GetInput();
290 ai.Update();
291 if (m_Player.IsQBControl())
292 {
293 if (ai.JustActivate())
294 m_Player.SetActionEndInput(m_CurrentActionData.m_Action);
295 }
296 else
297 {
298 if (ai.WasEnded() && (ai.GetInputType() == ActionInputType.AIT_CONTINUOUS || ai.GetInputType() == ActionInputType.AIT_CLICKCONTINUOUS) && !m_IgnoreAutoInputEnd)
299 {
301 }
302 }
303 }
304 }
305 else
306 {
308 {
309 for (int i = 0; i < m_OrederedAllActionInput.Count();i++)
310 {
311
313 ain.Update();
314
315 if (ain.JustActivate())
316 {
317 ActionBase action = ain.GetAction();
318 if (action)
319 {
320 ActionStart(action, ain.GetUsedActionTarget(), ain.GetUsedMainItem());
321 break;
322 }
323 }
324 }
325 }
326 }
327 }
ActionInputType
Определения ActionInput.c:2
ref ActionData m_CurrentActionData
Определения ActionManagerBase.c:61
bool m_ActionsAvaibale
Определения ActionManagerBase.c:55
bool m_ActionInputWantEnd
Определения ActionManagerBase.c:53
DayZPlayer m_Player
Определения Hand_Events.c:42
void Update()
Определения ActionInput.c:114
ActionBase GetAction()
Определения ActionInput.c:182
bool WasEnded()
Определения ActionInput.c:109
int GetInputType()
Определения ActionInput.c:89
ItemBase GetUsedMainItem()
Определения ActionInput.c:192
ActionTarget GetUsedActionTarget()
Определения ActionInput.c:187
bool JustActivate()
Определения ActionInput.c:99
void ActionStart(ActionBase action, ActionTarget target, ItemBase item, Param extra_data=NULL)
Определения ActionManagerClient.c:598
bool m_IgnoreAutoInputEnd
Определения ActionManagerClient.c:18
ref array< ActionInput > m_OrederedAllActionInput
Определения ActionManagerClient.c:14
override void EndActionInput()
Определения ActionManagerClient.c:274

Перекрестные ссылки ActionStart(), EndActionInput(), ActionInput::GetAction(), ActionInput::GetInputType(), ActionInput::GetUsedActionTarget(), ActionInput::GetUsedMainItem(), ActionInput::JustActivate(), m_ActionInputWantEnd, m_ActionsAvaibale, m_CurrentActionData, m_IgnoreAutoInputEnd, m_OrederedAllActionInput, m_Player, ActionInput::Update() и ActionInput::WasEnded().

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