Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
VONManager Class Reference

Manager class which handles Voice-over-network functionality while player is connected to a server. More...

Static Private Member Functions

static void CleanupInstance ()
 Uninitializes VONManager, runs when user disconnects from server.
static VONManagerBase GetInstance ()
 Main way to access VONManager functionality from script.
static void Init ()
 Initializes VONManager, runs when user first connects to a server.
static bool IsVoiceThresholdMinimum ()
 Specifies whether user's voice activation threshold value is equal to the minimum voice activation threshold value.
static bool IsVONToggled ()
 Specifies whether VON mode is toggled or not.

Static Private Attributes

static ref VONManagerBase m_VONManager = new VONManagerBase()

Detailed Description

Manager class which handles Voice-over-network functionality while player is connected to a server.

Definition at line 298 of file vonmanager.c.

Member Function Documentation

◆ CleanupInstance()

void CleanupInstance ( )
inlinestaticprivate

Uninitializes VONManager, runs when user disconnects from server.

Definition at line 323 of file vonmanager.c.

References m_VONManager, and VONManagerBase().

Referenced by CGame::~CGame().

◆ GetInstance()

VONManagerBase GetInstance ( )
inlinestaticprivate

Main way to access VONManager functionality from script.

Returns
Instance of VONManagerImplementation if logged on to server, or VONManagerBase otherwise

Definition at line 306 of file vonmanager.c.

References m_VONManager.

Referenced by CGame::OnEvent(), MissionBase::OnUpdate(), and ScriptedWidgetEventHandler::OptionsMenuSounds().

◆ Init()

void Init ( )
inlinestaticprivate

Initializes VONManager, runs when user first connects to a server.

Definition at line 314 of file vonmanager.c.

References m_VONManager, and VONManagerImplementation().

Referenced by CGame::CGame().

◆ IsVoiceThresholdMinimum()

bool IsVoiceThresholdMinimum ( )
inlinestaticprivate

Specifies whether user's voice activation threshold value is equal to the minimum voice activation threshold value.

Returns
True if threshold minimum, false otherwise

Definition at line 342 of file vonmanager.c.

References Class::CastTo(), g_Game, and GameOptions::GetOptionByType().

Referenced by OnEvent(), and UpdateVoiceIcon().

◆ IsVONToggled()

bool IsVONToggled ( )
inlinestaticprivate

Specifies whether VON mode is toggled or not.

Returns
True if in Voice Activation mode, False if in Push-to-Talk mode

Definition at line 333 of file vonmanager.c.

References m_VONManager.

Field Documentation

◆ m_VONManager

ref VONManagerBase m_VONManager = new VONManagerBase()
staticprivate

Definition at line 300 of file vonmanager.c.

Referenced by CleanupInstance(), GetInstance(), Init(), and IsVONToggled().


The documentation for this class was generated from the following file: