Class TransmittingEventArgs
Contains all information regarding the player using the radio.
Inheritance
System.Object
TransmittingEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Player
Assembly: Exiled.Events.dll
Syntax
public class TransmittingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTransmittingEventArgs(Player, VoiceModuleBase, Boolean)
Initializes a new instance of the TransmittingEventArgs class.
Declaration
public TransmittingEventArgs(Player player, VoiceModuleBase voiceModule, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
PlayerRoles.Voice.VoiceModuleBase | voiceModule | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player can transmit.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTransmitting
Gets a value indicating whether or not the player is transmitting.
Declaration
[Obsolete("IsTransmitting is always true.")]
public bool IsTransmitting { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's transmitting.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
VoiceModule
Gets the Player's PlayerRoles.Voice.VoiceModuleBase.
Declaration
public VoiceModuleBase VoiceModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.Voice.VoiceModuleBase |