Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
vonmanager.c File Reference

Go to the source code of this file.

Data Structures

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. More...
 
void ShowVoiceNotification (int level, bool fading)
 Shows the voice notification. More...
 
void HandleInput (Input inp)
 Handles some VON related input. More...
 
void OnVOIPThresholdChanged ()
 Fires every time VOIP threshold value changes. More...
 
void OnEvent (EventType eventTypeId, Param params)
 Handles VON-related events. More...
 
bool IsVonToggled ()
 
void ~VONManagerImplementation ()
 
private void UpdateVoiceIcon ()
 

Variables

protected bool m_VoNToggled
 
ref ScriptInvoker m_OnVonStateEvent
 
ref ScriptInvoker m_OnPartyChatChangedEvent
 

Function Documentation

◆ HandleInput()

override void HandleInput ( Input  inp)

Handles some VON related input.

Parameters
inpinput to handle

Definition at line 113 of file vonmanager.c.

◆ HideVoiceNotification()

override void HideVoiceNotification ( )

Hides the VON notification completely and immediately.

Definition at line 41 of file vonmanager.c.

◆ IsVonToggled()

bool VONManagerImplementation::IsVonToggled ( )

Definition at line 17 of file vonmanager.c.

◆ OnEvent()

void VONManagerImplementation::OnEvent ( EventType  eventTypeId,
Param  params 
)

Handles VON-related events.

Parameters
eventTypeIdevent that fired
paramsevent-specific parameters

Definition at line 191 of file vonmanager.c.

◆ OnVOIPThresholdChanged()

override void OnVOIPThresholdChanged ( )

Fires every time VOIP threshold value changes.

Definition at line 181 of file vonmanager.c.

◆ ShowVoiceNotification()

override void ShowVoiceNotification ( int  level,
bool  fading 
)

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.

◆ UpdateVoiceIcon()

private void UpdateVoiceIcon ( )

Definition at line 149 of file vonmanager.c.

◆ VONManagerBase()

void VONManagerImplementation::VONManagerBase ( )

Definition at line 6 of file vonmanager.c.

◆ VONManagerImplementation()

VONManagerBase Managed VONManagerImplementation ( )

Definition at line 26 of file vonmanager.c.

◆ ~VONManagerImplementation()

Definition at line 32 of file vonmanager.c.

Variable Documentation

◆ m_OnPartyChatChangedEvent

ref ScriptInvoker m_OnPartyChatChangedEvent

Definition at line 4 of file vonmanager.c.

◆ m_OnVonStateEvent

ref ScriptInvoker m_OnVonStateEvent

Definition at line 3 of file vonmanager.c.

◆ m_VoNToggled

protected bool m_VoNToggled

Definition at line 2 of file vonmanager.c.