DIFF

class MissionGameplaySource

MissionBenchmark MissionGameplay MissionBase MissionBaseWorld Mission

All members, including inherited

Constructors 2

void ~MissionGameplay()

Constants 1

protected const int HOLD_LIMIT_TIME = 300

ms

Members 41

int m_LifeState
bool m_Initialized
Referenced by MissionGameplay(), and OnInit()
protected UIManager m_UIManager
Referenced by GetUIManager(), OnInit(), OnUpdate()
Show 1 more, ShowChat()
Widget m_HudRootWidget
Referenced by MissionGameplay(), OnInit(), OnMissionFinish()
Show 1 more, OnUpdate()
ref InventoryMenu m_InventoryMenu
ref Chat m_Chat
Referenced by DestroyAllMenus(), MissionGameplay(), OnEvent()
Show 2 more, OnInit(), and OnMissionFinish()
ref ActionMenu m_ActionMenu
ref IngameHud m_Hud
Referenced by GetHud(), MissionGameplay(), OnEvent()
Show 3 more, OnInit(), OnKeyPress(), and OnUpdate()
ref HudDebug m_HudDebug
ref LogoutMenu m_Logout
ref Watermark m_Watermark
Referenced by OnInit()
protected ref ScriptInvoker m_OnConnectivityChanged
protected ref GameplayEffectWidgets m_EffectWidgets
ref Timer m_ChatChannelHideTimer
ref WidgetFadeTimer m_ChatChannelFadeTimer
Widget m_ChatChannelArea
Referenced by OnEvent(), OnInit(), and ShowChat()
TextWidget m_ChatChannelText
Referenced by OnEvent(), and OnInit()
NoteMenu m_Note
Referenced by GetNoteMenu(), and SetNoteMenu()
protected ref Timer m_ToggleHudTimer
Referenced by MissionGameplay()
protected int m_ActionDownTime
protected int m_ActionUpTime
protected bool m_InitOnce
protected bool m_ControlDisabled

DEPRECATED; disabled mode stored below

protected int m_ControlDisabledMode
protected ref array<string> m_ActiveInputExcludeGroups

exclude groups defined in 'specific.xml' file

protected ref array<int> m_ActiveInputRestrictions

additional scripted restrictions

protected bool m_ProcessInputExcludes
Referenced by OnUpdate(), and RefreshExcludes()
protected bool m_QuickbarHold
Referenced by OnUpdate()
protected bool m_PlayerRespawning
protected int m_RespawnModeClient

for client-side usage

protected bool m_PauseQueued
protected bool m_VoNActive
protected Widget m_VoiceLevels
Referenced by OnInit()
protected ref map<int,ImageWidget> m_VoiceLevelsWidgets
protected ref map<int,ref WidgetFadeTimer> m_VoiceLevelTimers
protected bool m_InputBufferFull
UIScriptedMenu m_ConnectionMenu
private float m_ExitButtonDisabledRemainingTime

Methods 85

void InitInventory()

Only once the game is loaded should we take control of the cursor

Referenced by ResetGUI(), and ShowInventory()
void SendMuteListToServer(map<string, bool> mute_list)
override void OnUpdate(float timeslice)
References ActionManagerBase.ActionPossibilityCheck(), AddActiveInputExcludes(), AddActiveInputRestriction()
Show 129 more, Hologram.AddProjectionRotation(), DbgUI.Begin(), PlayerBase.CanManipulateInventory(), GesturesMenu.CanOpenMenu(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), GesturesMenu.CloseMenu(), RadialQuickbarMenu.CloseMenu(), InGameMenuXbox.CloseOnline(), Continue(), Input.DisableKey(), DisplayHairDebug(), DbgUI.End(), SEffectManager.Event_OnFrameUpdate(), InGameMenuXbox.FeedbackDialogVisible(), UIManager.FindMenu(), PlayerBase.GetActionManager(), DiagMenu.GetBool(), Human.GetCommand_Vehicle(), PlayerBase.GetHologramLocal(), IngameHud.GetHudVisibility(), CGame.GetInput(), UAInputAPI.GetInputByID(), ItemManager.GetInstance(), VONManager.GetInstance(), RadialQuickbarMenu.GetItemToAssign(), CfgGameplayHandler.GetMapIgnoreMapOwnership(), UIManager.GetMenu(), UIManager.GetMenu(), RadialQuickbarMenu.GetMenuInstance(), Hologram.GetParentEntity(), UIMenuPanel.GetParentMenu(), CGame.GetPlayer(), Man.GetPlayerState(), ActionManagerBase.GetRunningAction(), ItemManager.GetSelectedItem(), Mission.GetTimeStamp(), GetUApi(), GetUIManager(), CGame.GetUIManager(), CfgGameplayHandler.GetUse3DMap(), VONManagerBase.HandleInput(), HandleMapToggleByKeyboardShortcut(), ActionMenu.Hide(), HideInventory(), Object.IsAlive(), CGame.IsAppActive(), IsCLIParam(), IngameHudVisibility.IsContextFlagActive(), UIManager.IsDialogVisible(), PlayerBase.IsEmotePlaying(), Input.IsEnabledMouseAndKeyboardEvenOnServer(), IsInputExcludeActive(), IsInputRestrictionActive(), PlayerBase.IsInRasedProne(), UAInput.IsLocked(), IsMapUnfoldActionRunning(), GesturesMenu.IsMenuClosing(), RadialQuickbarMenu.IsMenuClosing(), UIManager.IsMenuOpen(), UIManager.IsMenuOpen(), CGame.IsMultiplayer(), InGameMenuXbox.IsOnlineOpen(), InventoryMenu.IsOpened(), IsPaused(), PlayerBase.IsPlacingLocal(), DayZPlayerImplement.IsRaised(), PlayerBase.IsSprinting(), Man.IsUnconscious(), PlayerBase.IsUnconscious(), UAInput.LocalHold(), UAInput.LocalPress(), UAInput.LocalRelease(), UAInput.LocalValue(), UAInput.Lock(), ActionMenu.NextAction(), ActionMenu.NextActionCategory(), MissionBase.OnUpdate(), GesturesMenu.OpenMenu(), RadialQuickbarMenu.OpenMenu(), Pause(), PerformRefreshExcludes(), EntityAI.PlacementCanBeRotated(), ActionMenu.PrevAction(), ActionMenu.PrevActionCategory(), ActionMenu.Refresh(), RefreshExcludes(), UIManager.ScreenFadeOut(), UIManager.ScreenFadeVisible(), UIManager.ScreenFadeVisible(), RadialQuickbarMenu.SetItemToAssign(), Widget.Show(), ShowChat(), IngameHud.ShowHudPlayer(), IngameHud.ShowHudUI(), ShowInventory(), IngameHud.ShowQuickbarPlayer(), UIManager.ShowUICursor(), Hologram.SubtractProjectionRotation(), DbgUI.Text(), TickScheduler(), UAInput.Unlock(), WorldData.UpdateBaseEnvTemperature(), UpdateDebugMonitor(), MissionBase.UpdateDummyScheduler(), Hologram.UpdateHologram(), MissionBase.UpdateInputDeviceDiag(), UIMenuPanel.UseKeyboard(), UIMenuPanel.UseMouse(), IngameHud.ZeroingKeyPress(), RadialQuickbarMenu.instance, m_ActionMenu, m_ExitButtonDisabledRemainingTime, m_Hud, m_HudRootWidget, m_InventoryMenu, m_LifeState, DayZPlayerImplement.m_MovementState, m_PauseQueued, m_ProcessInputExcludes, m_QuickbarHold, m_UIManager, and MissionBase.m_WorldData
override void OnKeyPress(int key)

Only once the game is loaded should we take control of the cursor

override void OnKeyRelease(int key)
override void OnItemUsed(InventoryItem item, Man owner)
override void SetInputSuppression(bool state)DEVELOPER
override bool GetInputSuppression()DEVELOPER
override void PlayerControlEnable(bool bForceSupress)

Deprecated; removes last input exclude and associated controls restrictions

override void RemoveActiveInputExcludes(array<string> excludes, bool bForceSupress = false)

Removes one or more exclude groups and refreshes excludes

override void RemoveActiveInputRestriction(int restrictor)

Removes one restriction (specific behaviour oudside regular excludes, defined below)

override void AddActiveInputExcludes(array<string> excludes)

Adds one or more exclude groups to disable and refreshes excludes

override void AddActiveInputRestriction(int restrictor)

Adds one input restriction (specific behaviour oudside regular excludes, defined below)

override void RefreshExcludes()

queues refresh of input excludes

protected void PerformRefreshExcludes()

applies queued excludes (0 == clear excludes)

Referenced by OnUpdate()
override void EnableAllInputs(bool bForceSupress = false)

Removes all active input excludes and restrictions

Referenced by OnMissionFinish()
override bool IsControlDisabled()

returns if ANY exclude groups, restriction (or deprecated disable, if applicable) is active

override bool IsInputExcludeActive(string exclude)

Returns true if the particular input exclude group had been activated via script and is active

Referenced by OnUpdate()
override bool IsInputRestrictionActive(int restriction)

Returns true if the particular 'restriction' (those govern special behaviour outside regular input excludes, *EInputRestrictors*) is active

Referenced by OnUpdate()
override int GetControlDisabledMode()

(mostly)DEPRECATED; only set on the old 'PlayerControlDisable' method

void CloseAllMenus()
Referenced by Pause()
void MoveHudForInventory(bool inv_open)
override void ResetGUI()
override void HideChat()
void ShowVehicleInfo()
void HideVehicleInfo()
override void RefreshCrosshairVisibility()
override void HideCrosshairVisibility()
override bool IsPaused()
Referenced by Continue(), OnUpdate(), and Pause()
override bool IsMissionGameplay()
override void AbortMission()
Referenced by CreateLogoutMenu()
override void StartLogoutMenu(int time)
override void CreateDebugMonitor()
override void HideDebugMonitor()
protected bool IsMapUnfoldActionRunning(ActionBase pAction)
References Class.Type()
Referenced by OnUpdate()
void SetActionDownTime(int time_down)
References m_ActionDownTime
void SetActionUpTime(int time_up)
References m_ActionUpTime
int LocalPressTime()
References m_ActionDownTime
Referenced by GetHoldActionTime()
int LocalReleaseTime()
References m_ActionUpTime
Referenced by GetHoldActionTime()
float GetHoldActionTime()
void DisplayHairDebug()
Referenced by OnUpdate()
override ImageWidget GetMicrophoneIcon()
References m_MicrophoneIcon
override WidgetFadeTimer GetMicWidgetFadeTimer()
References m_MicFadeTimer
override map<int,ImageWidget> GetVoiceLevelWidgets()
override map<int,ref WidgetFadeTimer> GetVoiceLevelTimers()
override bool IsVoNActive()
References m_VoNActive
override void SetVoNActive(bool active)
References m_VoNActive
override void HideVoiceLevelWidgets()
References map.Count(), map.Get(), Widget.Show()
Show 1 more, m_VoiceLevelsWidgets
Referenced by OnInit()
override UIScriptedMenu GetNoteMenu()
References m_Note
override void SetNoteMenu(UIScriptedMenu menu)
References Class.Cast(), and m_Note
override void SetPlayerRespawning(bool state)
override bool IsPlayerRespawning()
Referenced by Pause()
override array<vector> GetActiveRefresherLocations()
override void SetRespawnModeClient(int mode)
override int GetRespawnModeClient()
override GameplayEffectWidgets GetEffectWidgets()
References m_EffectWidgets
ScriptInvoker GetConnectivityInvoker()
float GetExitButtonDisabledRemainingTime()
void SetExitButtonDisabledRemainingTime(float value)