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

◆ OnFinish()

override void ActionUnfoldMapCB::OnFinish ( bool pCanceled)
inlineprivate

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

88 {
89 if (m_ActionData && m_ActionData.m_Player)
90 {
91 if (m_ActionData && m_ActionData.m_ActionComponent)
92 m_ActionData.m_State = m_ActionData.m_ActionComponent.Interrupt(m_ActionData);
93
94 if ((!GetGame().IsDedicatedServer()) && GetGame().GetUIManager() && GetGame().GetUIManager().IsMenuOpen(MENU_MAP))
95 {
97 }
98
99 ActionUnfoldMap action = ActionUnfoldMap.Cast(m_ActionData.m_Action);
102
103 m_ActionData.m_Player.SetMapClosingSyncSet(false); //reset
104
105 ItemMap chernomap = ItemMap.Cast(m_ActionData.m_Player.GetItemInHands());
106 if (chernomap && m_ActionData.m_Player.IsMapOpen())
107 {
108 chernomap.SetMapStateOpen(false, m_ActionData.m_Player);
109 }
110
111 if (action)
112 action.End(m_ActionData);
113 }
114 }
ActionUnfoldMapCB ActionBaseCB ActionUnfoldMap()
Определения ActionUnfoldMap.c:174
ActionData m_ActionData
Определения AnimatedActionBase.c:3
int m_FinalMovementState
Определения ActionUnfoldMap.c:7
int m_InitMovementState
Определения ActionUnfoldMap.c:6
proto native UIManager GetUIManager()
UIScriptedMenu FindMenu(int id)
Returns menu with specific ID if it is open (see MenuID)
Определения UIManager.c:160
proto native CGame GetGame()
const int MENU_MAP
Определения constants.c:191

Перекрестные ссылки ActionUnfoldMap(), UIManager::FindMenu(), GetGame(), CGame::GetUIManager(), ActionBaseCB::m_ActionData, m_FinalMovementState, m_InitMovementState и MENU_MAP.