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

◆ OnUpdate()

override void ActionReadPaper::OnUpdate ( ActionData action_data)
inlineprivate

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

53 {
54 super.OnUpdate(action_data);
55
56 if(!GetGame().IsDedicatedServer())
57 {
58 if (action_data.m_State == UA_FINISHED && GetGame().GetUIManager() && !GetGame().GetUIManager().IsMenuOpen(MENU_NOTE))
59 {
60 ActionManagerClient.Cast(action_data.m_Player.GetActionManager()).RequestEndAction();
61 }
62 }
63 }
proto native CGame GetGame()
const int MENU_NOTE
Определения constants.c:190
const int UA_FINISHED
Определения constants.c:464

Перекрестные ссылки ActionData, GetGame(), MENU_NOTE, ActionManagerClient::RequestEndAction() и UA_FINISHED.