Search Results for

    Show / Hide Table of Contents

    Class VoiceChattingEventArgs

    Contains all information after a player presses the voicechat key.

    Inheritance
    System.Object
    VoiceChattingEventArgs
    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 VoiceChattingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    VoiceChattingEventArgs(Player, VoiceMessage, VoiceModuleBase, Boolean)

    Initializes a new instance of the VoiceChattingEventArgs class.

    Declaration
    public VoiceChattingEventArgs(Player player, VoiceMessage voiceMessage, VoiceModuleBase voiceModule, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    VoiceChat.Networking.VoiceMessage voiceMessage
    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 voicechat.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who's voicechatting.

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

    VoiceMessage

    Gets or sets the Player's VoiceMessage.

    Declaration
    public VoiceMessage VoiceMessage { get; set; }
    Property Value
    Type Description
    VoiceChat.Networking.VoiceMessage
    | 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