DayZ 1.24
Loading...
Searching...
No Matches
Mission Class Reference

Mission class. More...

Collaboration diagram for Mission:
[legend]

Protected Attributes

ref ScriptInvoker m_OnInputDeviceChanged = new ScriptInvoker()
 
ref ScriptInvoker m_OnInputPresetChanged = new ScriptInvoker()
 
ref ScriptInvoker m_OnInputDeviceConnected = new ScriptInvoker()
 
ref ScriptInvoker m_OnInputDeviceDisconnected = new ScriptInvoker()
 
ref ScriptInvoker m_OnModMenuVisibilityChanged = new ScriptInvoker()
 

Private Member Functions

void ~Mission ()
 
void OnInit ()
 
void OnMissionStart ()
 
void OnMissionFinish ()
 
void OnUpdate (float timeslice)
 
void OnKeyPress (int key)
 
void OnKeyRelease (int key)
 
void OnMouseButtonPress (int button)
 
void OnMouseButtonRelease (int button)
 
void OnEvent (EventType eventTypeId, Param params)
 
void OnItemUsed (InventoryItem item, Man owner)
 
void AddDummyPlayerToScheduler (Man player)
 
void Reset ()
 
void ResetGUI ()
 
void OnGameplayDataHandlerLoad ()
 
Hud GetHud ()
 
ObjectSnapCallback GetInventoryDropCallback ()
 
bool IsPlayerDisconnecting (Man player)
 
UIScriptedMenu CreateScriptedMenu (int id)
 
UIScriptedWindow CreateScriptedWindow (int id)
 
WorldData GetWorldData ()
 
WorldLighting GetWorldLighting ()
 
bool IsPaused ()
 
bool IsGame ()
 
bool IsServer ()
 
void Pause ()
 
void Continue ()
 
void AbortMission ()
 
void CreateLogoutMenu (UIMenuPanel parent)
 
void StartLogoutMenu (int time)
 
void CreateDebugMonitor ()
 
void HideDebugMonitor ()
 
void RefreshCrosshairVisibility ()
 
void HideCrosshairVisibility ()
 
bool IsMissionGameplay ()
 
bool IsControlDisabled ()
 
int GetControlDisabledMode ()
 
void PlayerControlEnable (bool bForceSupress)
 
void PlayerControlDisable (int mode)
 deprecated
 
void RemoveActiveInputExcludes (array< string > excludes, bool bForceSupress=false)
 deprecated
 
void RemoveActiveInputRestriction (int restrictor)
 
void AddActiveInputExcludes (array< string > excludes)
 
void AddActiveInputRestriction (int restrictor)
 
void RefreshExcludes ()
 
bool IsInputExcludeActive (string exclude)
 
bool IsInputRestrictionActive (int restriction)
 
void EnableAllInputs (bool bForceSupress=false)
 
void ShowInventory ()
 
void HideInventory ()
 
void ShowChat ()
 
void HideChat ()
 
void UpdateVoiceLevelWidgets (int level)
 
void HideVoiceLevelWidgets ()
 
bool IsVoNActive ()
 
void SetVoNActive (bool active)
 
bool InsertCorpse (Man player)
 
UIScriptedMenu GetNoteMenu ()
 
void SetNoteMenu (UIScriptedMenu menu)
 
void SetPlayerRespawning (bool state)
 
void OnPlayerRespawned (Man player)
 
bool IsPlayerRespawning ()
 
array< vectorGetActiveRefresherLocations ()
 
void SetRespawnModeClient (int mode)
 for client-side usage
 
int GetRespawnModeClient ()
 
void SyncRespawnModeInfo (PlayerIdentity identity)
 server-side
 
ImageWidget GetMicrophoneIcon ()
 
WidgetFadeTimer GetMicWidgetFadeTimer ()
 
GameplayEffectWidgets_base GetEffectWidgets ()
 
map< int, ImageWidgetGetVoiceLevelWidgets ()
 
map< int, ref WidgetFadeTimer > GetVoiceLevelTimers ()
 
ScriptInvoker GetOnInputDeviceChanged ()
 
ScriptInvoker GetOnInputPresetChanged ()
 
ScriptInvoker GetOnInputDeviceConnected ()
 
ScriptInvoker GetOnInputDeviceDisconnected ()
 
ScriptInvoker GetOnModMenuVisibilityChanged ()
 
RainProcurementHandler GetRainProcurementHandler ()
 

Private Attributes

ScriptModule MissionScript
 
ref array< vectorm_ActiveRefresherLocations
 

Detailed Description

Mission class.

Definition at line 667 of file gameplay.c.

Constructor & Destructor Documentation

◆ ~Mission()

void Mission::~Mission ( )
private

Member Function Documentation

◆ AbortMission()

void Mission::AbortMission ( )
inlineprivate

Definition at line 751 of file gameplay.c.

751{}

◆ AddActiveInputExcludes()

void Mission::AddActiveInputExcludes ( array< string > excludes)
private

◆ AddActiveInputRestriction()

void Mission::AddActiveInputRestriction ( int restrictor)
private

◆ AddDummyPlayerToScheduler()

void Mission::AddDummyPlayerToScheduler ( Man player)
inlineprivate

Definition at line 696 of file gameplay.c.

696{}

◆ Continue()

void Mission::Continue ( )
inlineprivate

Definition at line 749 of file gameplay.c.

749{}

Referenced by UIScriptedMenu::~InGameMenu(), and UIScriptedMenu::~InGameMenuXbox().

◆ CreateDebugMonitor()

void Mission::CreateDebugMonitor ( )
inlineprivate

Definition at line 756 of file gameplay.c.

756{}

◆ CreateLogoutMenu()

void Mission::CreateLogoutMenu ( UIMenuPanel parent)
inlineprivate

Definition at line 753 of file gameplay.c.

753{}

◆ CreateScriptedMenu()

UIScriptedMenu Mission::CreateScriptedMenu ( int id)
inlineprivate

Definition at line 713 of file gameplay.c.

714 {
715 return NULL;
716 }

Referenced by CGame::CreateScriptedMenu().

◆ CreateScriptedWindow()

UIScriptedWindow Mission::CreateScriptedWindow ( int id)
inlineprivate

Definition at line 718 of file gameplay.c.

719 {
720 return NULL;
721 }

◆ EnableAllInputs()

void Mission::EnableAllInputs ( bool bForceSupress = false)
private

◆ GetActiveRefresherLocations()

array< vector > Mission::GetActiveRefresherLocations ( )
private

◆ GetControlDisabledMode()

int Mission::GetControlDisabledMode ( )
inlineprivate

Definition at line 769 of file gameplay.c.

769{}

◆ GetEffectWidgets()

GameplayEffectWidgets_base Mission::GetEffectWidgets ( )
inlineprivate

Definition at line 822 of file gameplay.c.

822{}

Referenced by ScriptedWidgetEventHandler::OnBleedingIndicationChanged().

◆ GetHud()

◆ GetInventoryDropCallback()

ObjectSnapCallback Mission::GetInventoryDropCallback ( )
inlineprivate

Definition at line 706 of file gameplay.c.

707 {
708 return NULL;
709 }

◆ GetMicrophoneIcon()

ImageWidget Mission::GetMicrophoneIcon ( )
inlineprivate

Definition at line 815 of file gameplay.c.

816 {
817 return null;
818 }

Referenced by IsVonToggled(), and ShowVoiceNotification().

◆ GetMicWidgetFadeTimer()

WidgetFadeTimer Mission::GetMicWidgetFadeTimer ( )
inlineprivate

Definition at line 820 of file gameplay.c.

820{}

Referenced by ShowVoiceNotification().

◆ GetNoteMenu()

UIScriptedMenu Mission::GetNoteMenu ( )
inlineprivate

Definition at line 799 of file gameplay.c.

799{};

◆ GetOnInputDeviceChanged()

ScriptInvoker Mission::GetOnInputDeviceChanged ( )
inlineprivate

Definition at line 828 of file gameplay.c.

829 {
832
834 }
ref ScriptInvoker m_OnInputDeviceChanged
Definition gameplay.c:673
ScriptInvoker Class provide list of callbacks usage:
Definition tools.c:116

References m_OnInputDeviceChanged.

◆ GetOnInputDeviceConnected()

ScriptInvoker Mission::GetOnInputDeviceConnected ( )
inlineprivate

Definition at line 844 of file gameplay.c.

845 {
848
850 }
ref ScriptInvoker m_OnInputDeviceConnected
Definition gameplay.c:675

References m_OnInputDeviceConnected.

◆ GetOnInputDeviceDisconnected()

ScriptInvoker Mission::GetOnInputDeviceDisconnected ( )
inlineprivate

Definition at line 852 of file gameplay.c.

853 {
856
858 }
ref ScriptInvoker m_OnInputDeviceDisconnected
Definition gameplay.c:676

References m_OnInputDeviceDisconnected.

◆ GetOnInputPresetChanged()

ScriptInvoker Mission::GetOnInputPresetChanged ( )
inlineprivate

Definition at line 836 of file gameplay.c.

837 {
840
842 }
ref ScriptInvoker m_OnInputPresetChanged
Definition gameplay.c:674

References m_OnInputPresetChanged.

◆ GetOnModMenuVisibilityChanged()

ScriptInvoker Mission::GetOnModMenuVisibilityChanged ( )
inlineprivate

Definition at line 860 of file gameplay.c.

861 {
864
866 }
ref ScriptInvoker m_OnModMenuVisibilityChanged
Definition gameplay.c:677

References m_OnModMenuVisibilityChanged.

◆ GetRainProcurementHandler()

RainProcurementHandler Mission::GetRainProcurementHandler ( )
inlineprivate

Definition at line 3 of file MissionBaseWorld.c.

4 {
5 return null;
6 }

◆ GetRespawnModeClient()

int Mission::GetRespawnModeClient ( )
inlineprivate

Definition at line 808 of file gameplay.c.

809 {
810 return -1;
811 }

◆ GetVoiceLevelTimers()

map< int, ref WidgetFadeTimer > Mission::GetVoiceLevelTimers ( )
inlineprivate

Definition at line 826 of file gameplay.c.

826{}

Referenced by ShowVoiceNotification().

◆ GetVoiceLevelWidgets()

map< int, ImageWidget > Mission::GetVoiceLevelWidgets ( )
inlineprivate

Definition at line 824 of file gameplay.c.

824{}

Referenced by ShowVoiceNotification().

◆ GetWorldData()

WorldData Mission::GetWorldData ( )
inlineprivate

Definition at line 723 of file gameplay.c.

724 {
725 return NULL;
726 }

◆ GetWorldLighting()

WorldLighting Mission::GetWorldLighting ( )
inlineprivate

Definition at line 728 of file gameplay.c.

729 {
730 return NULL;
731 }

Referenced by ManBase::UpdateLighting().

◆ HideChat()

void Mission::HideChat ( )
inlineprivate

Definition at line 787 of file gameplay.c.

787{}

◆ HideCrosshairVisibility()

void Mission::HideCrosshairVisibility ( )
inlineprivate

Definition at line 761 of file gameplay.c.

761{}

◆ HideDebugMonitor()

void Mission::HideDebugMonitor ( )
inlineprivate

Definition at line 757 of file gameplay.c.

757{}

◆ HideInventory()

void Mission::HideInventory ( )
inlineprivate

Definition at line 784 of file gameplay.c.

784{}

Referenced by Dispatcher::MissionGameplayHideInventory(), and UpdateInterval().

◆ HideVoiceLevelWidgets()

void Mission::HideVoiceLevelWidgets ( )
inlineprivate

Definition at line 790 of file gameplay.c.

790{}

Referenced by IsVonToggled().

◆ InsertCorpse()

bool Mission::InsertCorpse ( Man player)
inlineprivate

Definition at line 794 of file gameplay.c.

795 {
796 return false;
797 }

◆ IsControlDisabled()

bool Mission::IsControlDisabled ( )
inlineprivate

Definition at line 768 of file gameplay.c.

768{}

◆ IsGame()

bool Mission::IsGame ( )
inlineprivate

Definition at line 738 of file gameplay.c.

739 {
740 return false;
741 }

◆ IsInputExcludeActive()

bool Mission::IsInputExcludeActive ( string exclude)
private

◆ IsInputRestrictionActive()

bool Mission::IsInputRestrictionActive ( int restriction)
private

◆ IsMissionGameplay()

bool Mission::IsMissionGameplay ( )
inlineprivate

Definition at line 763 of file gameplay.c.

764 {
765 return false;
766 }

◆ IsPaused()

bool Mission::IsPaused ( )
inlineprivate

Definition at line 733 of file gameplay.c.

734 {
735 return false;
736 }

Referenced by CGame::OnPostUpdate(), and CGame::OnUpdate().

◆ IsPlayerDisconnecting()

bool Mission::IsPlayerDisconnecting ( Man player)
private

◆ IsPlayerRespawning()

bool Mission::IsPlayerRespawning ( )
private

◆ IsServer()

bool Mission::IsServer ( )
inlineprivate

Definition at line 743 of file gameplay.c.

744 {
745 return false;
746 }

◆ IsVoNActive()

bool Mission::IsVoNActive ( )
inlineprivate

Definition at line 791 of file gameplay.c.

791{}

Referenced by UpdateVoiceIcon().

◆ OnEvent()

void Mission::OnEvent ( EventType eventTypeId,
Param params )
inlineprivate

Definition at line 694 of file gameplay.c.

694{}

Referenced by CGame::OnEvent().

◆ OnGameplayDataHandlerLoad()

void Mission::OnGameplayDataHandlerLoad ( )
inlineprivate

Definition at line 699 of file gameplay.c.

699{}

◆ OnInit()

void Mission::OnInit ( )
inlineprivate

Definition at line 681 of file gameplay.c.

681{}

◆ OnItemUsed()

void Mission::OnItemUsed ( InventoryItem item,
Man owner )
inlineprivate

Definition at line 695 of file gameplay.c.

695{}

◆ OnKeyPress()

void Mission::OnKeyPress ( int key)
inlineprivate

Definition at line 690 of file gameplay.c.

690{}

Referenced by CGame::OnKeyPress().

◆ OnKeyRelease()

void Mission::OnKeyRelease ( int key)
inlineprivate

Definition at line 691 of file gameplay.c.

691{}

Referenced by CGame::OnKeyRelease().

◆ OnMissionFinish()

void Mission::OnMissionFinish ( )
inlineprivate

Definition at line 683 of file gameplay.c.

683{}

◆ OnMissionStart()

void Mission::OnMissionStart ( )
inlineprivate

Definition at line 682 of file gameplay.c.

682{}

◆ OnMouseButtonPress()

void Mission::OnMouseButtonPress ( int button)
inlineprivate

Definition at line 692 of file gameplay.c.

692{}

Referenced by CGame::OnMouseButtonPress().

◆ OnMouseButtonRelease()

void Mission::OnMouseButtonRelease ( int button)
inlineprivate

Definition at line 693 of file gameplay.c.

693{}

Referenced by CGame::OnMouseButtonRelease().

◆ OnPlayerRespawned()

void Mission::OnPlayerRespawned ( Man player)
private

◆ OnUpdate()

void Mission::OnUpdate ( float timeslice)
inlineprivate

Definition at line 684 of file gameplay.c.

685 {
686#ifdef FEATURE_CURSOR
687 m_TimeStamp++;
688#endif
689 }

Referenced by CGame::OnUpdate().

◆ Pause()

void Mission::Pause ( )
inlineprivate

Definition at line 748 of file gameplay.c.

748{}

Referenced by CGame::CheckDialogs(), and UIScriptedMenu::Init().

◆ PlayerControlDisable()

void Mission::PlayerControlDisable ( int mode)
private

deprecated

◆ PlayerControlEnable()

void Mission::PlayerControlEnable ( bool bForceSupress)
private

◆ RefreshCrosshairVisibility()

void Mission::RefreshCrosshairVisibility ( )
inlineprivate

Definition at line 759 of file gameplay.c.

759{}

◆ RefreshExcludes()

void Mission::RefreshExcludes ( )
private

◆ RemoveActiveInputExcludes()

void Mission::RemoveActiveInputExcludes ( array< string > excludes,
bool bForceSupress = false )
private

deprecated

◆ RemoveActiveInputRestriction()

void Mission::RemoveActiveInputRestriction ( int restrictor)
private

◆ Reset()

void Mission::Reset ( )
inlineprivate

Definition at line 697 of file gameplay.c.

697{}

◆ ResetGUI()

void Mission::ResetGUI ( )
inlineprivate

Definition at line 698 of file gameplay.c.

698{}

Referenced by ScriptedWidgetEventHandler::Apply().

◆ SetNoteMenu()

void Mission::SetNoteMenu ( UIScriptedMenu menu)
inlineprivate

Definition at line 800 of file gameplay.c.

800{};

◆ SetPlayerRespawning()

void Mission::SetPlayerRespawning ( bool state)
private

◆ SetRespawnModeClient()

void Mission::SetRespawnModeClient ( int mode)
private

for client-side usage

◆ SetVoNActive()

void Mission::SetVoNActive ( bool active)
inlineprivate

Definition at line 792 of file gameplay.c.

792{}

Referenced by OnEvent().

◆ ShowChat()

void Mission::ShowChat ( )
inlineprivate

Definition at line 786 of file gameplay.c.

786{}

◆ ShowInventory()

void Mission::ShowInventory ( )
inlineprivate

Definition at line 783 of file gameplay.c.

783{}

◆ StartLogoutMenu()

void Mission::StartLogoutMenu ( int time)
inlineprivate

Definition at line 754 of file gameplay.c.

754{}

◆ SyncRespawnModeInfo()

void Mission::SyncRespawnModeInfo ( PlayerIdentity identity)
inlineprivate

server-side

Definition at line 813 of file gameplay.c.

813{};

◆ UpdateVoiceLevelWidgets()

void Mission::UpdateVoiceLevelWidgets ( int level)
inlineprivate

Definition at line 788 of file gameplay.c.

788{}

Member Data Documentation

◆ m_ActiveRefresherLocations

ref array<vector> Mission::m_ActiveRefresherLocations
private

◆ m_OnInputDeviceChanged

ref ScriptInvoker Mission::m_OnInputDeviceChanged = new ScriptInvoker()
protected

Definition at line 673 of file gameplay.c.

Referenced by GetOnInputDeviceChanged().

◆ m_OnInputDeviceConnected

ref ScriptInvoker Mission::m_OnInputDeviceConnected = new ScriptInvoker()
protected

Definition at line 675 of file gameplay.c.

Referenced by GetOnInputDeviceConnected().

◆ m_OnInputDeviceDisconnected

ref ScriptInvoker Mission::m_OnInputDeviceDisconnected = new ScriptInvoker()
protected

Definition at line 676 of file gameplay.c.

Referenced by GetOnInputDeviceDisconnected().

◆ m_OnInputPresetChanged

ref ScriptInvoker Mission::m_OnInputPresetChanged = new ScriptInvoker()
protected

Definition at line 674 of file gameplay.c.

Referenced by GetOnInputPresetChanged().

◆ m_OnModMenuVisibilityChanged

ref ScriptInvoker Mission::m_OnModMenuVisibilityChanged = new ScriptInvoker()
protected

Definition at line 677 of file gameplay.c.

Referenced by GetOnModMenuVisibilityChanged().

◆ MissionScript

ScriptModule Mission::MissionScript
private

Definition at line 669 of file gameplay.c.


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