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

◆ ~ActionUnfoldMapCB()

void ActionUnfoldMapCB::~ActionUnfoldMapCB ( )
inlineprivate

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

17 {
18 if (GetGame() && GetGame().GetMission())
19 {
20 if (!CfgGameplayHandler.GetUse3DMap())
21 {
23 }
24 else
25 {
26 GetGame().GetMission().RemoveActiveInputExcludes({"loopedactions"}, false);
27 }
28 GetGame().GetMission().RemoveActiveInputRestriction(EInputRestrictors.MAP);
29 }
30
31 if (!m_ActionData || !m_ActionData.m_Player)
32 return;
33
34 ItemMap chernomap = ItemMap.Cast(m_ActionData.m_Player.GetItemInHands());
35 if (chernomap && m_ActionData.m_Player.IsMapOpen())
36 {
37 chernomap.SetMapStateOpen(false, m_ActionData.m_Player);
38 }
39 }
ActionData m_ActionData
Определения AnimatedActionBase.c:3
proto native Mission GetMission()
void RemoveActiveInputRestriction(int restrictor)
void RemoveActiveInputExcludes(array< string > excludes, bool bForceSupress=false)
deprecated
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetMission(), CfgGameplayHandler::GetUse3DMap(), ActionBaseCB::m_ActionData, Mission::RemoveActiveInputExcludes() и Mission::RemoveActiveInputRestriction().