Search Results for

    Show / Hide Table of Contents

    Class TransmittingEventArgs

    Contains all information regarding the player using the radio.

    Inheritance
    System.Object
    TransmittingEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    TransmittingEventArgs(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 Source

    IsAllowed

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Player

    Gets the player who's transmitting.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    VoiceModule

    Gets the Player's PlayerRoles.Voice.VoiceModuleBase.

    Declaration
    public VoiceModuleBase VoiceModule { get; }
    Property Value
    Type Description
    PlayerRoles.Voice.VoiceModuleBase

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX