Class TransmittingEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the player can transmit.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's transmitting.
public Player Player { get; }
Property Value
VoiceModule
Gets the Player's PlayerRoles.Voice.VoiceModuleBase.
public VoiceModuleBase VoiceModule { get; }
Property Value
- VoiceModuleBase