DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | VONManagerBase |
class | VONManager |
Manager class which handles Voice-over-network functionality while player is connected to a server. More... | |
Functions | |
VONManagerBase Managed | VONManagerImplementation () |
void | VONManagerBase () |
void | HideVoiceNotification () |
Hides the VON notification completely and immediately. | |
void | ShowVoiceNotification (int level, bool fading) |
Shows the voice notification. | |
void | HandleInput (Input inp) |
Handles some VON related input. | |
void | OnVOIPThresholdChanged () |
Fires every time VOIP threshold value changes. | |
void | OnEvent (EventType eventTypeId, Param params) |
Handles VON-related events. | |
bool | IsVonToggled () |
void | ~VONManagerImplementation () |
void | UpdateVoiceIcon () |
Variables | |
bool | m_VoNToggled |
ref ScriptInvoker | m_OnVonStateEvent |
ref ScriptInvoker | m_OnPartyChatChangedEvent |
Handles some VON related input.
inp | input to handle |
Definition at line 103 of file VONManager.c.
References GetGame(), and UpdateVoiceIcon().
Hides the VON notification completely and immediately.
Definition at line 41 of file VONManager.c.
|
protected |
Definition at line 42 of file VONManager.c.
References GetGame(), Mission::GetMicrophoneIcon(), Mission::HideVoiceLevelWidgets(), and mission.
Handles VON-related events.
eventTypeId | event that fired |
params | event-specific parameters |
Definition at line 167 of file VONManager.c.
References Class::CastTo(), GetDayZGame(), GetGame(), VONManagerBase::HideVoiceNotification(), VONManager::IsVoiceThresholdMinimum(), m_OnPartyChatChangedEvent, m_OnVonStateEvent, m_VoNToggled, mission, MPSessionPlayerReadyEventTypeID, PartyChatStatusChangedEventTypeID, Mission::SetVoNActive(), VONManagerBase::ShowVoiceNotification(), UpdateVoiceIcon(), VONStartSpeakingEventTypeID, VONStateEventTypeID, VONStopSpeakingEventTypeID, VONUserStartedTransmittingAudioEventTypeID, and VONUserStoppedTransmittingAudioEventTypeID.
Fires every time VOIP threshold value changes.
Definition at line 157 of file VONManager.c.
References UpdateVoiceIcon().
Shows the voice notification.
level | the loudness of the player voice. 0 = whisper, 1 = normal, 2 = shout |
fading | specifies whether icon should slowly fade to invisibility after being displayed |
Definition at line 56 of file VONManager.c.
References GetGame(), Mission::GetMicrophoneIcon(), Mission::GetMicWidgetFadeTimer(), Mission::GetVoiceLevelTimers(), Mission::GetVoiceLevelWidgets(), and mission.
|
private |
Definition at line 133 of file VONManager.c.
References GetGame(), VONManagerBase::HideVoiceNotification(), VONManager::IsVoiceThresholdMinimum(), Mission::IsVoNActive(), m_VoNToggled, mission, and VONManagerBase::ShowVoiceNotification().
Referenced by HandleInput(), OnEvent(), and OnVOIPThresholdChanged().
|
protected |
Definition at line 31 of file VONManager.c.
Referenced by VONManager::CleanupInstance().
VONManagerBase Managed VONManagerImplementation | ( | ) |
Definition at line 32 of file VONManager.c.
References m_OnPartyChatChangedEvent, and m_OnVonStateEvent.
|
protected |
Definition at line 29 of file VONManager.c.
Referenced by OnEvent(), and ~VONManagerImplementation().
|
protected |
Definition at line 28 of file VONManager.c.
Referenced by OnEvent(), and ~VONManagerImplementation().
|
protected |
Definition at line 27 of file VONManager.c.
Referenced by OnEvent(), and UpdateVoiceIcon().