![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | VONManager |
| Manager class which handles Voice-over-network functionality while player is connected to a server. More... | |
| class | VONManagerBase |
Functions | |
| void | ~VONManagerImplementation () |
| void | HandleInput (Input inp) |
| Handles some VON related input. | |
| void | HideVoiceNotification () |
| Hides the VON notification completely and immediately. | |
| bool | IsVonToggled () |
| void | OnEvent (EventType eventTypeId, Param params) |
| Handles VON-related events. | |
| void | OnVOIPThresholdChanged () |
| Fires every time VOIP threshold value changes. | |
| void | ShowVoiceNotification (int level, bool fading) |
| Shows the voice notification. | |
| void | UpdateVoiceIcon () |
| void | VONManagerBase () |
| VONManagerBase Managed | VONManagerImplementation () |
Variables | |
| ref ScriptInvoker | m_OnPartyChatChangedEvent |
| ref ScriptInvoker | m_OnVonStateEvent |
| bool | m_VoNToggled |
| void ~VONManagerImplementation | ( | ) |
Definition at line 32 of file vonmanager.c.
References m_OnPartyChatChangedEvent, and m_OnVonStateEvent.
|
protected |
Handles some VON related input.
| inp | input to handle |
Definition at line 113 of file vonmanager.c.
References g_Game, GetGame(), Input::LocalPress_ID(), VONManagerBase::ShowVoiceNotification(), and UpdateVoiceIcon().
|
protected |
Hides the VON notification completely and immediately.
Definition at line 41 of file vonmanager.c.
|
protected |
Definition at line 42 of file vonmanager.c.
Handles VON-related events.
| eventTypeId | event that fired |
| params | event-specific parameters |
Definition at line 214 of file vonmanager.c.
References Class::CastTo(), g_Game, GetDayZGame(), VONManagerBase::HideVoiceNotification(), VONManager::IsVoiceThresholdMinimum(), m_OnPartyChatChangedEvent, m_OnVonStateEvent, m_VoNToggled, mission, MPSessionPlayerReadyEventTypeID, PartyChatStatusChangedEventTypeID, VONManagerBase::ShowVoiceNotification(), UpdateVoiceIcon(), VONStartSpeakingEventTypeID, VONStateEventTypeID, VONStopSpeakingEventTypeID, VONUserStartedTransmittingAudioEventTypeID, and VONUserStoppedTransmittingAudioEventTypeID.
|
protected |
Fires every time VOIP threshold value changes.
Definition at line 204 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 58 of file vonmanager.c.
|
private |
Definition at line 172 of file vonmanager.c.
References g_Game, VONManagerBase::HideVoiceNotification(), VONManager::IsVoiceThresholdMinimum(), 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 1 of file vonmanager.c.
References VONManagerBase::VONManagerBase().
Referenced by VONManager::Init().
|
protected |
Definition at line 29 of file vonmanager.c.
Referenced by ~VONManagerImplementation(), and OnEvent().
|
protected |
Definition at line 28 of file vonmanager.c.
Referenced by ~VONManagerImplementation(), and OnEvent().
|
protected |
Definition at line 27 of file vonmanager.c.
Referenced by OnEvent(), and UpdateVoiceIcon().