Table of Contents

Class TransmittingEventArgs

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

Contains all information regarding the player using the radio.

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

Constructors

TransmittingEventArgs(Player, VoiceModuleBase, bool)

Initializes a new instance of the TransmittingEventArgs class.

public TransmittingEventArgs(Player player, VoiceModuleBase voiceModule, bool isAllowed = true)

Parameters

player Player
voiceModule VoiceModuleBase
isAllowed bool

Properties

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's transmitting.

public Player Player { get; }

Property Value

Player

VoiceModule

Gets the Player's PlayerRoles.Voice.VoiceModuleBase.

public VoiceModuleBase VoiceModule { get; }

Property Value

VoiceModuleBase