Handles VON-related events.
218 {
220 switch (eventTypeId)
221 {
223 {
224
226 {
228 {
230 }
231 }
232 break;
233 }
234
236 {
237
239 {
241 {
243 }
244 }
245 break;
246 }
247
249 {
251 {
252 break;
253 }
254
256 mission.SetVoNActive(vonStateParams.param1);
258
260
262 break;
263 }
264
266 {
268 break;
269 }
270
272 {
275 {
276 GetDayZGame().AddVoiceNotification(vonStartParams);
277 }
278 break;
279 }
280
282 {
285 {
286 GetDayZGame().RemoveVoiceNotification(vonStopParams);
287 }
288 break;
289 }
290
292 {
294 break;
295 }
296 }
297 }
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.