Table of Contents

Class VoiceChattingEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after a player presses the voicechat key.

public class VoiceChattingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
VoiceChattingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

VoiceChattingEventArgs(Player, VoiceModuleBase, VoiceMessage)

Initializes a new instance of the VoiceChattingEventArgs class.

public VoiceChattingEventArgs(Player player, VoiceModuleBase voiceModule, VoiceMessage voiceMessage)

Parameters

player Player
voiceModule VoiceModuleBase
voiceMessage VoiceMessage

Properties

IsAllowed

Gets or sets a value indicating whether the player can voicechat.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's voicechatting.

public Player Player { get; }

Property Value

Player

VoiceMessage

Gets or sets the Player's VoiceMessage.

public VoiceMessage VoiceMessage { get; set; }

Property Value

VoiceMessage

VoiceModule

Gets the Player's PlayerRoles.Voice.VoiceModuleBase.

public VoiceModuleBase VoiceModule { get; }

Property Value

VoiceModuleBase