Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
vonmanager.c File Reference

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

Function Documentation

◆ ~VONManagerImplementation()

Definition at line 32 of file vonmanager.c.

References m_OnPartyChatChangedEvent, and m_OnVonStateEvent.

◆ HandleInput()

override void HandleInput ( Input inp)
protected

Handles some VON related input.

Parameters
inpinput to handle

Definition at line 113 of file vonmanager.c.

References g_Game, GetGame(), Input::LocalPress_ID(), VONManagerBase::ShowVoiceNotification(), and UpdateVoiceIcon().

◆ HideVoiceNotification()

override void HideVoiceNotification ( )
protected

Hides the VON notification completely and immediately.

Definition at line 41 of file vonmanager.c.

◆ IsVonToggled()

bool IsVonToggled ( )
protected

Definition at line 42 of file vonmanager.c.

References g_Game, and mission.

◆ OnEvent()

◆ OnVOIPThresholdChanged()

override void OnVOIPThresholdChanged ( )
protected

Fires every time VOIP threshold value changes.

Definition at line 204 of file vonmanager.c.

References UpdateVoiceIcon().

◆ ShowVoiceNotification()

override void ShowVoiceNotification ( int level,
bool fading )
protected

Shows the voice notification.

Parameters
levelthe loudness of the player voice. 0 = whisper, 1 = normal, 2 = shout
fadingspecifies whether icon should slowly fade to invisibility after being displayed

Definition at line 58 of file vonmanager.c.

References g_Game, and mission.

◆ UpdateVoiceIcon()

◆ VONManagerBase()

void VONManagerBase ( )
protected

Definition at line 31 of file vonmanager.c.

Referenced by VONManager::CleanupInstance().

◆ VONManagerImplementation()

VONManagerBase Managed VONManagerImplementation ( )

Definition at line 1 of file vonmanager.c.

References VONManagerBase::VONManagerBase().

Referenced by VONManager::Init().

Variable Documentation

◆ m_OnPartyChatChangedEvent

ref ScriptInvoker m_OnPartyChatChangedEvent
protected

Definition at line 29 of file vonmanager.c.

Referenced by ~VONManagerImplementation(), and OnEvent().

◆ m_OnVonStateEvent

ref ScriptInvoker m_OnVonStateEvent
protected

Definition at line 28 of file vonmanager.c.

Referenced by ~VONManagerImplementation(), and OnEvent().

◆ m_VoNToggled

bool m_VoNToggled
protected

Definition at line 27 of file vonmanager.c.

Referenced by OnEvent(), and UpdateVoiceIcon().