Handles VON-related events.
201 {
203 switch (eventTypeId)
204 {
206 {
207
209 {
211 {
213 }
214 }
215 break;
216 }
217
219 {
220
222 {
224 {
226 }
227 }
228 break;
229 }
230
232 {
234 {
235 break;
236 }
237
239 mission.SetVoNActive(vonStateParams.param1);
241
243
245 break;
246 }
247
249 {
251 break;
252 }
253
255 {
258 {
259 GetDayZGame().AddVoiceNotification(vonStartParams);
260 }
261 break;
262 }
263
265 {
268 {
269 GetDayZGame().RemoveVoiceNotification(vonStopParams);
270 }
271 break;
272 }
273
275 {
277 break;
278 }
279 }
280 }
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.
proto native Mission GetMission()
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
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.