Handles VON-related events.
215 {
217 switch (eventTypeId)
218 {
220 {
221
223 {
225 {
227 }
228 }
229 break;
230 }
231
233 {
234
236 {
238 {
240 }
241 }
242 break;
243 }
244
246 {
248 {
249 break;
250 }
251
253 mission.SetVoNActive(vonStateParams.param1);
255
257
259 break;
260 }
261
263 {
265 break;
266 }
267
269 {
272 {
273 GetDayZGame().AddVoiceNotification(vonStartParams);
274 }
275 break;
276 }
277
279 {
282 {
283 GetDayZGame().RemoveVoiceNotification(vonStopParams);
284 }
285 break;
286 }
287
289 {
291 break;
292 }
293 }
294 }
ref ScriptInvoker m_OnPartyChatChangedEvent
void HideVoiceNotification()
Hides the VON notification completely and immediately.
ref ScriptInvoker m_OnVonStateEvent
void ShowVoiceNotification(int level, bool fading)
Shows the voice notification.
Super root of all classes in Enforce script.
static bool IsVoiceThresholdMinimum()
Specifies whether user's voice activation threshold value is equal to the minimum voice activation th...
Manager class which handles Voice-over-network functionality while player is connected to a server.
Param2< string, string > VONStartSpeakingEventParams
player name, player id
const EventType PartyChatStatusChangedEventTypeID
no params
Param2< bool, bool > VONStateEventParams
listening, toggled
Param2< string, string > VONStopSpeakingEventParams
player name, player id
const EventType VONStartSpeakingEventTypeID
params: VONStartSpeakingEventParams
const EventType VONStateEventTypeID
params: VONStateEventParams
const EventType VONUserStoppedTransmittingAudioEventTypeID
no params
const EventType VONUserStartedTransmittingAudioEventTypeID
no params
const EventType VONStopSpeakingEventTypeID
params: VONStopSpeakingEventParams
const EventType MPSessionPlayerReadyEventTypeID
no params
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.