PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
MissionBase Class Reference

Private Member Functions

void MissionGameplay ()
 
void ~MissionGameplay ()
 
InventoryMenu GetInventory ()
 
override void OnInit ()
 
UIManager GetUIManager ()
 
override void OnMissionStart ()
 
void InitInventory ()
 
void TickScheduler (float timeslice)
 
void SendMuteListToServer (map< string, bool > mute_list)
 
override void UpdateInputDevicesAvailability ()
 
override void OnMissionFinish ()
 
override void OnUpdate (float timeslice)
 
override void OnKeyPress (int key)
 
override void OnKeyRelease (int key)
 
override void OnEvent (EventType eventTypeId, Param params)
 
override void OnItemUsed (InventoryItem item, Man owner)
 
override void PlayerControlEnable (bool bForceSupress)
 Deprecated; removes last input exclude and associated controls restrictions.
 
override void PlayerControlDisable (int mode)
 Deprecated; simple input 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)
 
override void EnableAllInputs (bool bForceSupress=false)
 Removes all active input excludes and restrictions.
 
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.
 
override bool IsInputRestrictionActive (int restriction)
 Returns true if the particular 'restriction' (those govern special behaviour outside regular input excludes, EInputRestrictors) is active.
 
override int GetControlDisabledMode ()
 (mostly)DEPRECATED; only set on the old 'PlayerControlDisable' method
 
void CloseAllMenus ()
 
void DestroyAllMenus ()
 
void MoveHudForInventory (bool inv_open)
 
override void ShowInventory ()
 
override void HideInventory ()
 
void DestroyInventory ()
 
override void ResetGUI ()
 
override void ShowChat ()
 
override void HideChat ()
 
void ShowVehicleInfo ()
 
void HideVehicleInfo ()
 
override Hud GetHud ()
 
HudDebug GetHudDebug ()
 
override void RefreshCrosshairVisibility ()
 
override void HideCrosshairVisibility ()
 
override bool IsPaused ()
 
override void Pause ()
 
override void Continue ()
 
override bool IsMissionGameplay ()
 
override void AbortMission ()
 
override void CreateLogoutMenu (UIMenuPanel parent)
 
override void StartLogoutMenu (int time)
 
override void CreateDebugMonitor ()
 
override void HideDebugMonitor ()
 
protected void HandleMapToggleByKeyboardShortcut (Man player)
 
protected bool IsMapUnfoldActionRunning (ActionBase pAction)
 
void UpdateDebugMonitor ()
 
void SetActionDownTime (int time_down)
 
void SetActionUpTime (int time_up)
 
int LocalPressTime ()
 
int LocalReleaseTime ()
 
float GetHoldActionTime ()
 
void DisplayHairDebug ()
 
void ShowHairDebugValues (bool state)
 
override void UpdateVoiceLevelWidgets (int level)
 
override ImageWidget GetMicrophoneIcon ()
 
override WidgetFadeTimer GetMicWidgetFadeTimer ()
 
override map< int, ImageWidget > GetVoiceLevelWidgets ()
 
override map< int, ref WidgetFadeTimer > GetVoiceLevelTimers ()
 
override bool IsVoNActive ()
 
override void SetVoNActive (bool active)
 
override void HideVoiceLevelWidgets ()
 
override UIScriptedMenu GetNoteMenu ()
 
override void SetNoteMenu (UIScriptedMenu menu)
 
override void OnPlayerRespawned (Man player)
 
override void SetPlayerRespawning (bool state)
 
override bool IsPlayerRespawning ()
 
override array< vectorGetActiveRefresherLocations ()
 
override void SetRespawnModeClient (int mode)
 
override int GetRespawnModeClient ()
 
override GameplayEffectWidgets GetEffectWidgets ()
 
ScriptInvoker GetConnectivityInvoker ()
 
protected void OnInputBufferEvent (bool state)
 
protected void InputBufferCheck ()
 
override void OnInit ()
 
override void Reset ()
 
DayZIntroScenePC GetIntroScenePC ()
 
DayZIntroSceneXbox GetIntroSceneXbox ()
 
void CreateIntroScene ()
 
override void UpdateInputDevicesAvailability ()
 
override void OnMissionStart ()
 
override void OnMissionFinish ()
 
override void OnUpdate (float timeslice)
 
void OnMenuEnter (int menu_id)
 
void OnInputDeviceChanged (int device)
 
int SortedInsert (array< int > list, int number)
 
void PlayMusic ()
 
void StopMusic ()
 
AbstractWave GetMenuMusic ()
 
void MissionServer ()
 
void ~MissionServer ()
 
override void OnInit ()
 
override void OnMissionStart ()
 
override void OnUpdate (float timeslice)
 
override void OnGameplayDataHandlerLoad ()
 
void RandomArtillery (float deltaTime)
 
override bool IsServer ()
 
override bool IsPlayerDisconnecting (Man player)
 
void UpdatePlayersStats ()
 
protected void AddNewPlayerLogout (PlayerBase player, notnull LogoutInfo info)
 
void UpdateLogoutPlayers ()
 
override void OnEvent (EventType eventTypeId, Param params)
 
void InvokeOnConnect (PlayerBase player, PlayerIdentity identity)
 
void InvokeOnDisconnect (PlayerBase player)
 
void OnClientPrepareEvent (PlayerIdentity identity, out bool useDB, out vector pos, out float yaw, out int preloadTimeout)
 
void ControlPersonalLight (PlayerBase player)
 
void SyncGlobalLighting (PlayerBase player)
 
bool ProcessLoginData (ParamsReadContext ctx)
 returns whether received data is valid, ctx can be filled on client in StoreLoginData()
 
PlayerBase CreateCharacter (PlayerIdentity identity, vector pos, ParamsReadContext ctx, string characterName)
 
void EquipCharacter (MenuDefaultCharacterData char_data)
 Spawns character equip from received data. Checks validity against config, randomizes if invalid value and config array not empty.
 
void StartingEquipSetup (PlayerBase player, bool clothesChosen)
 can be overriden to manually set up starting equip. 'clothesChosen' is legacy parameter, does nothing.
 
bool VerifyAttachmentType (int slot_ID, string attachment_type)
 
PlayerBase OnClientNewEvent (PlayerIdentity identity, vector pos, ParamsReadContext ctx)
 
void OnClientReadyEvent (PlayerIdentity identity, PlayerBase player)
 
void OnClientRespawnEvent (PlayerIdentity identity, PlayerBase player)
 
void OnClientReconnectEvent (PlayerIdentity identity, PlayerBase player)
 
void OnClientDisconnectedEvent (PlayerIdentity identity, PlayerBase player, int logoutTime, bool authFailed)
 
void PlayerDisconnected (PlayerBase player, PlayerIdentity identity, string uid)
 
bool ShouldPlayerBeKilled (PlayerBase player)
 
void HandleBody (PlayerBase player)
 
void TickScheduler (float timeslice)
 
override bool InsertCorpse (Man player)
 
void UpdateCorpseStatesServer ()
 
override void SyncRespawnModeInfo (PlayerIdentity identity)
 
override RainProcurementHandler GetRainProcurementHandler ()
 
override array< vectorGetActiveRefresherLocations ()
 

Private Attributes

int m_LifeState
 
bool m_Initialized
 
protected UIManager m_UIManager
 
Widget m_HudRootWidget
 
ImageWidget m_MicrophoneIcon
 
ref InventoryMenu m_InventoryMenu
 
ref Chat m_Chat
 
ref ActionMenu m_ActionMenu
 
ref IngameHud m_Hud
 
ref HudDebug m_HudDebug
 
ref LogoutMenu m_Logout
 
ref DebugMonitor m_DebugMonitor
 
ref Watermark m_Watermark
 
protected ref ScriptInvoker m_OnConnectivityChanged
 
protected ref GameplayEffectWidgets m_EffectWidgets
 
ref Timer m_ChatChannelHideTimer
 
ref WidgetFadeTimer m_ChatChannelFadeTimer
 
ref WidgetFadeTimer m_MicFadeTimer
 
Widget m_ChatChannelArea
 
TextWidget m_ChatChannelText
 
NoteMenu m_Note
 
protected ref Timer m_ToggleHudTimer
 
protected const int HOLD_LIMIT_TIME = 300
 
protected int m_ActionDownTime
 
protected int m_ActionUpTime
 
protected bool m_InitOnce
 
protected bool m_ControlDisabled
 
protected int m_ControlDisabledMode
 
protected ref array< stringm_ActiveInputExcludeGroups
 
protected ref array< intm_ActiveInputRestrictions
 
protected bool m_ProcessInputExcludes
 
protected bool m_QuickbarHold
 
protected bool m_PlayerRespawning
 
protected int m_RespawnModeClient
 
protected bool m_PauseQueued
 
protected bool m_VoNActive
 
protected Widget m_VoiceLevels
 
protected ref map< int, ImageWidget > m_VoiceLevelsWidgets
 
protected ref map< int, ref WidgetFadeTimer > m_VoiceLevelTimers
 
protected bool m_InputBufferFull
 
UIScriptedMenu m_ConnectionMenu
 
private UIScriptedMenu m_mainmenu
 
private CreditsMenu m_CreditsMenu
 
private ref DayZIntroScenePC m_IntroScenePC
 
private ref DayZIntroSceneXbox m_IntroSceneXbox
 
bool m_NoCutscene
 
private AbstractWave m_MenuMusic
 
ref array< Man > m_Players
 
ref array< ref CorpseDatam_DeadPlayersArray
 
ref map< PlayerBase, ref LogoutInfom_LogoutPlayers
 
ref map< PlayerBase, ref LogoutInfom_NewLogoutPlayers
 
ref RainProcurementHandler m_RainProcHandler
 
const int SCHEDULER_PLAYERS_PER_TICK = 5
 
int m_currentPlayer
 
int m_RespawnMode
 
private float m_ArtyBarrageTimer = 0
 
protected bool m_PlayArty = false
 
protected float m_ArtyDelay = 0
 
protected int m_MinSimultaneousStrikes = 0
 
protected int m_MaxSimultaneousStrikes = 0
 
protected ref array< vectorm_FiringPos
 
protected const ref array< vectorCHERNARUS_STRIKE_POS
 
protected const ref array< vectorLIVONIA_STRIKE_POS
 
PlayerBase m_player
 
MissionBase m_mission
 
PluginAdditionalInfo m_moduleDefaultCharacter
 DEPRECATED.
 

Constructor & Destructor Documentation

◆ ~MissionGameplay()

void ~MissionGameplay ( )
inlineprivate

◆ ~MissionServer()

Member Function Documentation

◆ AbortMission()

override void AbortMission ( )
inlineprivate

◆ AddActiveInputExcludes()

override void AddActiveInputExcludes ( array< string excludes)
inlineprivate

Adds one or more exclude groups to disable and refreshes excludes.

References GetUApi(), RefreshExcludes(), and UAInputAPI::SupressNextFrame().

Referenced by OnUpdate(), Pause(), PlayerControlDisable(), ShowChat(), and ShowInventory().

◆ AddActiveInputRestriction()

override void AddActiveInputRestriction ( int  restrictor)
inlineprivate

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

References UAInput::ForceEnable(), GetGame(), UAInputAPI::GetInputByID(), GetPlayer(), and GetUApi().

Referenced by OnUpdate(), Pause(), PlayerControlDisable(), and ShowInventory().

◆ AddNewPlayerLogout()

protected void AddNewPlayerLogout ( PlayerBase  player,
notnull LogoutInfo  info 
)
inlineprivate

◆ CloseAllMenus()

void CloseAllMenus ( )
inlineprivate

References UIManager::CloseAll(), and GetUIManager().

Referenced by Pause().

◆ Continue()

◆ ControlPersonalLight()

void ControlPersonalLight ( PlayerBase  player)
inlineprivate

◆ CreateCharacter()

PlayerBase CreateCharacter ( PlayerIdentity  identity,
vector  pos,
ParamsReadContext  ctx,
string  characterName 
)
inlineprivate

◆ CreateDebugMonitor()

override void CreateDebugMonitor ( )
inlineprivate

◆ CreateIntroScene()

void CreateIntroScene ( )
inlineprivate

Referenced by OnInit(), and Reset().

◆ CreateLogoutMenu()

override void CreateLogoutMenu ( UIMenuPanel  parent)
inlineprivate

◆ DestroyAllMenus()

void DestroyAllMenus ( )
inlineprivate

◆ DestroyInventory()

void DestroyInventory ( )
inlineprivate

◆ DisplayHairDebug()

void DisplayHairDebug ( )
inlineprivate

References DiagMenu::GetBool(), and ShowHairDebugValues().

Referenced by OnUpdate().

◆ EnableAllInputs()

override void EnableAllInputs ( bool  bForceSupress = false)
inlineprivate

Removes all active input excludes and restrictions.

References GetUApi(), RemoveActiveInputRestriction(), UAInputAPI::SupressNextFrame(), and UAInputAPI::UpdateControls().

Referenced by OnMissionFinish().

◆ EquipCharacter()

void EquipCharacter ( MenuDefaultCharacterData  char_data)
inlineprivate

Spawns character equip from received data. Checks validity against config, randomizes if invalid value and config array not empty.

References Count, MenuDefaultCharacterData::GetAttachmentMap(), m_player, GameConstants::RESPAWN_MODE_CUSTOM, and StartingEquipSetup().

Referenced by OnClientNewEvent().

◆ GetActiveRefresherLocations() [1/2]

override array< vector > GetActiveRefresherLocations ( )
inlineprivate

◆ GetActiveRefresherLocations() [2/2]

override array< vector > GetActiveRefresherLocations ( )
inlineprivate

◆ GetConnectivityInvoker()

ScriptInvoker GetConnectivityInvoker ( )
inlineprivate

◆ GetControlDisabledMode()

override int GetControlDisabledMode ( )
inlineprivate

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

References m_ControlDisabledMode.

◆ GetEffectWidgets()

override GameplayEffectWidgets GetEffectWidgets ( )
inlineprivate

References m_EffectWidgets.

◆ GetHoldActionTime()

float GetHoldActionTime ( )
inlineprivate

◆ GetHud()

override Hud GetHud ( )
inlineprivate

◆ GetHudDebug()

HudDebug GetHudDebug ( )
inlineprivate

◆ GetIntroScenePC()

DayZIntroScenePC GetIntroScenePC ( )
inlineprivate

References Error(), and m_IntroScenePC.

◆ GetIntroSceneXbox()

DayZIntroSceneXbox GetIntroSceneXbox ( )
inlineprivate

References Error(), and m_IntroSceneXbox.

◆ GetInventory()

InventoryMenu GetInventory ( )
inlineprivate

References m_InventoryMenu.

◆ GetMenuMusic()

AbstractWave GetMenuMusic ( )
inlineprivate

References m_MenuMusic.

◆ GetMicrophoneIcon()

override ImageWidget GetMicrophoneIcon ( )
inlineprivate

References m_MicrophoneIcon.

◆ GetMicWidgetFadeTimer()

override WidgetFadeTimer GetMicWidgetFadeTimer ( )
inlineprivate

References m_MicFadeTimer.

◆ GetNoteMenu()

override UIScriptedMenu GetNoteMenu ( )
inlineprivate

References m_Note.

◆ GetRainProcurementHandler()

override RainProcurementHandler GetRainProcurementHandler ( )
inlineprivate

References m_RainProcHandler.

◆ GetRespawnModeClient()

override int GetRespawnModeClient ( )
inlineprivate

References m_RespawnModeClient.

◆ GetUIManager()

◆ GetVoiceLevelTimers()

override map< int, ref WidgetFadeTimer > GetVoiceLevelTimers ( )
inlineprivate

References m_VoiceLevelTimers.

◆ GetVoiceLevelWidgets()

override map< int, ImageWidget > GetVoiceLevelWidgets ( )
inlineprivate

References m_VoiceLevelsWidgets.

◆ HandleBody()

void HandleBody ( PlayerBase  player)
inlineprivate

References GetPlugin(), and ShouldPlayerBeKilled().

Referenced by PlayerDisconnected().

◆ HandleMapToggleByKeyboardShortcut()

◆ HideChat()

override void HideChat ( )
inlineprivate

◆ HideCrosshairVisibility()

override void HideCrosshairVisibility ( )
inlineprivate

References GetHudDebug().

◆ HideDebugMonitor()

override void HideDebugMonitor ( )
inlineprivate

◆ HideInventory()

◆ HideVehicleInfo()

void HideVehicleInfo ( )
inlineprivate

References GetHud(), and Hud::HideVehicleInfo().

◆ HideVoiceLevelWidgets()

override void HideVoiceLevelWidgets ( )
inlineprivate

Referenced by OnInit().

◆ InitInventory()

void InitInventory ( )
inlineprivate

◆ InputBufferCheck()

◆ InsertCorpse()

override bool InsertCorpse ( Man  player)
inlineprivate

References GetGame(), and GetTime().

◆ InvokeOnConnect()

void InvokeOnConnect ( PlayerBase  player,
PlayerIdentity  identity 
)
inlineprivate

References Debug::Log(), and ToString().

Referenced by OnEvent().

◆ InvokeOnDisconnect()

void InvokeOnDisconnect ( PlayerBase  player)
inlineprivate

References Debug::Log(), and ToString().

Referenced by PlayerDisconnected().

◆ IsControlDisabled()

override bool IsControlDisabled ( )
inlineprivate

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

References INPUT_EXCLUDE_ALL.

◆ IsInputExcludeActive()

override bool IsInputExcludeActive ( string  exclude)
inlineprivate

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

Referenced by OnUpdate().

◆ IsInputRestrictionActive()

override bool IsInputRestrictionActive ( int  restriction)
inlineprivate

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

Referenced by OnUpdate().

◆ IsMapUnfoldActionRunning()

protected bool IsMapUnfoldActionRunning ( ActionBase  pAction)
inlineprivate

References ActionUnfoldMap().

Referenced by OnUpdate().

◆ IsMissionGameplay()

override bool IsMissionGameplay ( )
inlineprivate

◆ IsPaused()

override bool IsPaused ( )
inlineprivate

◆ IsPlayerDisconnecting()

override bool IsPlayerDisconnecting ( Man  player)
inlineprivate

◆ IsPlayerRespawning()

override bool IsPlayerRespawning ( )
inlineprivate

References m_PlayerRespawning.

◆ IsServer()

◆ IsVoNActive()

override bool IsVoNActive ( )
inlineprivate

References m_VoNActive.

◆ LocalPressTime()

int LocalPressTime ( )
inlineprivate

References m_ActionDownTime.

Referenced by GetHoldActionTime().

◆ LocalReleaseTime()

int LocalReleaseTime ( )
inlineprivate

References m_ActionUpTime.

Referenced by GetHoldActionTime().

◆ MissionGameplay()

void MissionGameplay ( )
inlineprivate

◆ MissionServer()

◆ MoveHudForInventory()

void MoveHudForInventory ( bool  inv_open)
inlineprivate

References GetHud().

◆ OnClientDisconnectedEvent()

void OnClientDisconnectedEvent ( PlayerIdentity  identity,
PlayerBase  player,
int  logoutTime,
bool  authFailed 
)
inlineprivate

◆ OnClientNewEvent()

◆ OnClientPrepareEvent()

void OnClientPrepareEvent ( PlayerIdentity  identity,
out bool  useDB,
out vector  pos,
out float  yaw,
out int  preloadTimeout 
)
inlineprivate

References GetHive().

Referenced by OnEvent().

◆ OnClientReadyEvent()

void OnClientReadyEvent ( PlayerIdentity  identity,
PlayerBase  player 
)
inlineprivate

◆ OnClientReconnectEvent()

void OnClientReconnectEvent ( PlayerIdentity  identity,
PlayerBase  player 
)
inlineprivate

Referenced by OnEvent().

◆ OnClientRespawnEvent()

void OnClientRespawnEvent ( PlayerIdentity  identity,
PlayerBase  player 
)
inlineprivate

References GetGame(), GetPlugin(), and CGame::RPCSingleParam().

Referenced by OnEvent().

◆ OnEvent() [1/2]

◆ OnEvent() [2/2]

◆ OnGameplayDataHandlerLoad()

override void OnGameplayDataHandlerLoad ( )
inlineprivate

◆ OnInit() [1/3]

◆ OnInit() [2/3]

override void OnInit ( )
inlineprivate

◆ OnInit() [3/3]

◆ OnInputBufferEvent()

◆ OnInputDeviceChanged()

void OnInputDeviceChanged ( int  device)
inlineprivate

◆ OnItemUsed()

override void OnItemUsed ( InventoryItem  item,
Man  owner 
)
inlineprivate

References GetUIManager(), and MENU_BOOK.

◆ OnKeyPress()

override void OnKeyPress ( int  key)
inlineprivate

References Hud::KeyPress(), and m_Hud.

◆ OnKeyRelease()

override void OnKeyRelease ( int  key)
inlineprivate

◆ OnMenuEnter()

void OnMenuEnter ( int  menu_id)
inlineprivate

◆ OnMissionFinish() [1/2]

◆ OnMissionFinish() [2/2]

override void OnMissionFinish ( )
inlineprivate

◆ OnMissionStart() [1/3]

override void OnMissionStart ( )
inlineprivate

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

References g_Game, GetUIManager(), and UIManager::ShowUICursor().

◆ OnMissionStart() [2/3]

override void OnMissionStart ( )
inlineprivate

◆ OnMissionStart() [3/3]

override void OnMissionStart ( )
inlineprivate

◆ OnPlayerRespawned()

◆ OnUpdate() [1/3]

override void OnUpdate ( float  timeslice)
inlineprivate

◆ OnUpdate() [2/3]

override void OnUpdate ( float  timeslice)
inlineprivate

References g_Game.

◆ OnUpdate() [3/3]

override void OnUpdate ( float  timeslice)
inlineprivate

◆ Pause()

◆ PerformRefreshExcludes()

protected void PerformRefreshExcludes ( )
inlineprivate

applies queued excludes (0 == clear excludes)

References UAInputAPI::ActivateExclude(), GetUApi(), m_ActiveInputExcludeGroups, and UAInputAPI::UpdateControls().

Referenced by OnUpdate().

◆ PlayerControlDisable()

override void PlayerControlDisable ( int  mode)
inlineprivate

◆ PlayerControlEnable()

override void PlayerControlEnable ( bool  bForceSupress)
inlineprivate

◆ PlayerDisconnected()

◆ PlayMusic()

◆ ProcessLoginData()

bool ProcessLoginData ( ParamsReadContext  ctx)
inlineprivate

returns whether received data is valid, ctx can be filled on client in StoreLoginData()

References MenuDefaultCharacterData::DeserializeCharacterData(), GetGame(), and CGame::GetMenuDefaultCharacterData().

Referenced by OnClientNewEvent().

◆ RandomArtillery()

void RandomArtillery ( float  deltaTime)
inlineprivate

◆ RefreshCrosshairVisibility()

override void RefreshCrosshairVisibility ( )
inlineprivate

References GetHudDebug().

◆ RefreshExcludes()

override void RefreshExcludes ( )
inlineprivate

queues refresh of input excludes

Referenced by AddActiveInputExcludes(), OnUpdate(), and RemoveActiveInputExcludes().

◆ RemoveActiveInputExcludes()

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

Removes one or more exclude groups and refreshes excludes.

References GetUApi(), RefreshExcludes(), and UAInputAPI::SupressNextFrame().

Referenced by Continue(), HideChat(), HideInventory(), and PlayerControlEnable().

◆ RemoveActiveInputRestriction()

override void RemoveActiveInputRestriction ( int  restrictor)
inlineprivate

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

References UAInput::ForceEnable(), UAInputAPI::GetInputByID(), and GetUApi().

Referenced by Continue(), EnableAllInputs(), HideInventory(), and PlayerControlEnable().

◆ Reset()

override void Reset ( )
inlineprivate

◆ ResetGUI()

override void ResetGUI ( )
inlineprivate

◆ SendMuteListToServer()

void SendMuteListToServer ( map< string, bool mute_list)
inlineprivate

◆ SetActionDownTime()

void SetActionDownTime ( int  time_down)
inlineprivate

◆ SetActionUpTime()

void SetActionUpTime ( int  time_up)
inlineprivate

◆ SetNoteMenu()

override void SetNoteMenu ( UIScriptedMenu  menu)
inlineprivate

◆ SetPlayerRespawning()

override void SetPlayerRespawning ( bool  state)
inlineprivate

◆ SetRespawnModeClient()

override void SetRespawnModeClient ( int  mode)
inlineprivate

◆ SetVoNActive()

override void SetVoNActive ( bool  active)
inlineprivate

◆ ShouldPlayerBeKilled()

bool ShouldPlayerBeKilled ( PlayerBase  player)
inlineprivate

Referenced by HandleBody().

◆ ShowChat()

◆ ShowHairDebugValues()

void ShowHairDebugValues ( bool  state)
inlineprivate

◆ ShowInventory()

◆ ShowVehicleInfo()

void ShowVehicleInfo ( )
inlineprivate

References GetHud(), and Hud::ShowVehicleInfo().

◆ SortedInsert()

int SortedInsert ( array< int list,
int  number 
)
inlineprivate

References Math::Floor().

◆ StartingEquipSetup()

void StartingEquipSetup ( PlayerBase  player,
bool  clothesChosen 
)
inlineprivate

can be overriden to manually set up starting equip. 'clothesChosen' is legacy parameter, does nothing.

Referenced by EquipCharacter().

◆ StartLogoutMenu()

override void StartLogoutMenu ( int  time)
inlineprivate

◆ StopMusic()

void StopMusic ( )
inlineprivate

◆ SyncGlobalLighting()

void SyncGlobalLighting ( PlayerBase  player)
inlineprivate

◆ SyncRespawnModeInfo()

override void SyncRespawnModeInfo ( PlayerIdentity  identity)
inlineprivate

◆ TickScheduler() [1/2]

void TickScheduler ( float  timeslice)
inlineprivate

◆ TickScheduler() [2/2]

void TickScheduler ( float  timeslice)
inlineprivate

◆ UpdateCorpseStatesServer()

◆ UpdateDebugMonitor()

◆ UpdateInputDevicesAvailability() [1/2]

override void UpdateInputDevicesAvailability ( )
inlineprivate

References g_Game.

Referenced by MissionBaseWorld::MissionBase().

◆ UpdateInputDevicesAvailability() [2/2]

override void UpdateInputDevicesAvailability ( )
inlineprivate

References g_Game.

◆ UpdateLogoutPlayers()

void UpdateLogoutPlayers ( )
inlineprivate

References GetGame(), GetTime(), and PlayerDisconnected().

Referenced by OnUpdate().

◆ UpdatePlayersStats()

◆ UpdateVoiceLevelWidgets()

override void UpdateVoiceLevelWidgets ( int  level)
inlineprivate

References GetUIManager(), and MENU_CHAT_INPUT.

Referenced by ShowChat().

◆ VerifyAttachmentType()

bool VerifyAttachmentType ( int  slot_ID,
string  attachment_type 
)
inlineprivate

Field Documentation

◆ CHERNARUS_STRIKE_POS

protected const ref array<vector> CHERNARUS_STRIKE_POS
private
Initial value:
=
{
"-500.00 165.00 5231.69",
"-500.00 300.00 9934.41",
"10406.86 192.00 15860.00",
"4811.75 370.00 15860.00",
"-500.00 453.00 15860.00"
}

◆ HOLD_LIMIT_TIME

protected const int HOLD_LIMIT_TIME = 300
private

◆ LIVONIA_STRIKE_POS

protected const ref array<vector> LIVONIA_STRIKE_POS
private
Initial value:
=
{
"7440.00 417.00 -500.00",
"-500.00 276.00 5473.00",
"-500.00 265.00 9852.00",
"4953.00 240.00 13300.00",
"9620.00 188.00 13300.00",
"13300.00 204.00 10322.00",
"13300.00 288.00 6204.00",
"13300.00 296.00 -500.00"
}

◆ m_ActionDownTime

protected int m_ActionDownTime
private

Referenced by LocalPressTime().

◆ m_ActionMenu

ref ActionMenu m_ActionMenu
private

◆ m_ActionUpTime

protected int m_ActionUpTime
private

Referenced by LocalReleaseTime().

◆ m_ActiveInputExcludeGroups

protected ref array<string> m_ActiveInputExcludeGroups
private

Referenced by PerformRefreshExcludes().

◆ m_ActiveInputRestrictions

protected ref array<int> m_ActiveInputRestrictions
private

◆ m_ArtyBarrageTimer

private float m_ArtyBarrageTimer = 0
private

◆ m_ArtyDelay

protected float m_ArtyDelay = 0
private

◆ m_Chat

ref Chat m_Chat
private

◆ m_ChatChannelArea

Widget m_ChatChannelArea
private

◆ m_ChatChannelFadeTimer

ref WidgetFadeTimer m_ChatChannelFadeTimer
private

◆ m_ChatChannelHideTimer

ref Timer m_ChatChannelHideTimer
private

◆ m_ChatChannelText

TextWidget m_ChatChannelText
private

◆ m_ConnectionMenu

UIScriptedMenu m_ConnectionMenu
private

◆ m_ControlDisabled

protected bool m_ControlDisabled
private

◆ m_ControlDisabledMode

protected int m_ControlDisabledMode
private

Referenced by GetControlDisabledMode().

◆ m_CreditsMenu

private CreditsMenu m_CreditsMenu
private

◆ m_currentPlayer

int m_currentPlayer
private

◆ m_DeadPlayersArray

ref array<ref CorpseData> m_DeadPlayersArray
private

◆ m_DebugMonitor

ref DebugMonitor m_DebugMonitor
private

◆ m_EffectWidgets

protected ref GameplayEffectWidgets m_EffectWidgets
private

Referenced by GetEffectWidgets().

◆ m_FiringPos

protected ref array<vector> m_FiringPos
private

◆ m_Hud

ref IngameHud m_Hud
private

Referenced by GetHud().

◆ m_HudDebug

ref HudDebug m_HudDebug
private

Referenced by GetHudDebug().

◆ m_HudRootWidget

Widget m_HudRootWidget
private

Referenced by OnMissionFinish().

◆ m_Initialized

bool m_Initialized
private

◆ m_InitOnce

protected bool m_InitOnce
private

◆ m_InputBufferFull

protected bool m_InputBufferFull
private

◆ m_IntroScenePC

private ref DayZIntroScenePC m_IntroScenePC
private

Referenced by GetIntroScenePC(), and Reset().

◆ m_IntroSceneXbox

private ref DayZIntroSceneXbox m_IntroSceneXbox
private

Referenced by GetIntroSceneXbox(), and Reset().

◆ m_InventoryMenu

ref InventoryMenu m_InventoryMenu
private

Referenced by GetInventory(), and OnUpdate().

◆ m_LifeState

int m_LifeState
private

◆ m_Logout

ref LogoutMenu m_Logout
private

◆ m_LogoutPlayers

ref map<PlayerBase, ref LogoutInfo> m_LogoutPlayers
private

◆ m_mainmenu

private UIScriptedMenu m_mainmenu
private

◆ m_MaxSimultaneousStrikes

protected int m_MaxSimultaneousStrikes = 0
private

◆ m_MenuMusic

private AbstractWave m_MenuMusic
private

DEPRECATED

Referenced by GetMenuMusic().

◆ m_MicFadeTimer

ref WidgetFadeTimer m_MicFadeTimer
private

Referenced by GetMicWidgetFadeTimer().

◆ m_MicrophoneIcon

ImageWidget m_MicrophoneIcon
private

Referenced by GetMicrophoneIcon().

◆ m_MinSimultaneousStrikes

protected int m_MinSimultaneousStrikes = 0
private

◆ m_mission

MissionBase m_mission
private

◆ m_moduleDefaultCharacter

PluginAdditionalInfo m_moduleDefaultCharacter
private

DEPRECATED.

◆ m_NewLogoutPlayers

ref map<PlayerBase, ref LogoutInfo> m_NewLogoutPlayers
private

◆ m_NoCutscene

bool m_NoCutscene
private

◆ m_Note

NoteMenu m_Note
private

Referenced by GetNoteMenu().

◆ m_OnConnectivityChanged

protected ref ScriptInvoker m_OnConnectivityChanged
private

Referenced by GetConnectivityInvoker().

◆ m_PauseQueued

protected bool m_PauseQueued
private

◆ m_PlayArty

protected bool m_PlayArty = false
private

◆ m_player

PlayerBase m_player
private

◆ m_PlayerRespawning

protected bool m_PlayerRespawning
private

Referenced by IsPlayerRespawning().

◆ m_Players

ref array<Man> m_Players
private

◆ m_ProcessInputExcludes

protected bool m_ProcessInputExcludes
private

◆ m_QuickbarHold

protected bool m_QuickbarHold
private

◆ m_RainProcHandler

ref RainProcurementHandler m_RainProcHandler
private

◆ m_RespawnMode

int m_RespawnMode
private

◆ m_RespawnModeClient

protected int m_RespawnModeClient
private

Referenced by GetRespawnModeClient().

◆ m_ToggleHudTimer

protected ref Timer m_ToggleHudTimer
private

◆ m_UIManager

protected UIManager m_UIManager
private

Referenced by GetUIManager().

◆ m_VoiceLevels

protected Widget m_VoiceLevels
private

◆ m_VoiceLevelsWidgets

protected ref map<int,ImageWidget> m_VoiceLevelsWidgets
private

Referenced by GetVoiceLevelWidgets().

◆ m_VoiceLevelTimers

protected ref map<int,ref WidgetFadeTimer> m_VoiceLevelTimers
private

Referenced by GetVoiceLevelTimers().

◆ m_VoNActive

protected bool m_VoNActive
private

Referenced by IsVoNActive().

◆ m_Watermark

ref Watermark m_Watermark
private

◆ SCHEDULER_PLAYERS_PER_TICK

const int SCHEDULER_PLAYERS_PER_TICK = 5
private

The documentation for this class was generated from the following files: