Table of Contents

Class ChangingMuteStatusEventArgs

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

Contains all information before a player's mute status is changed.

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

Constructors

ChangingMuteStatusEventArgs(Player, bool, bool)

Initializes a new instance of the ChangingMuteStatusEventArgs class.

public ChangingMuteStatusEventArgs(Player player, bool isMuted, bool isAllowed = true)

Parameters

player Player
isMuted bool
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the player can be muted/unmuted.

public bool IsAllowed { get; set; }

Property Value

bool

IsMuted

Gets a value indicating whether the player is being muted or unmuted.

public bool IsMuted { get; }

Property Value

bool

Player

Gets the player who's being muted/unmuted.

public Player Player { get; }

Property Value

Player