PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
VONManager.c File Reference

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.
 
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 ()
 
private void UpdateVoiceIcon ()
 

Variables

protected bool m_VoNToggled
 
ref ScriptInvoker m_OnVonStateEvent
 
ref ScriptInvoker m_OnPartyChatChangedEvent
 

Function Documentation

◆ HandleInput()

override void HandleInput ( Input  inp)

◆ HideVoiceNotification()

override void HideVoiceNotification ( )

Hides the VON notification completely and immediately.

◆ IsVonToggled()

◆ OnEvent()

◆ OnVOIPThresholdChanged()

override void OnVOIPThresholdChanged ( )

Fires every time VOIP threshold value changes.

References UpdateVoiceIcon().

◆ 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

References GetGame(), Mission::GetMicrophoneIcon(), Mission::GetMicWidgetFadeTimer(), CGame::GetMission(), Mission::GetVoiceLevelTimers(), Mission::GetVoiceLevelWidgets(), and mission.

◆ UpdateVoiceIcon()

◆ VONManagerBase()

void VONManagerBase ( )

◆ VONManagerImplementation()

VONManagerBase Managed VONManagerImplementation ( )

Referenced by VONManager::Init().

◆ ~VONManagerImplementation()

Variable Documentation

◆ m_OnPartyChatChangedEvent

ref ScriptInvoker m_OnPartyChatChangedEvent

◆ m_OnVonStateEvent

ref ScriptInvoker m_OnVonStateEvent

◆ m_VoNToggled

protected bool m_VoNToggled

Referenced by OnEvent(), and UpdateVoiceIcon().