Class ChangingMuteStatusEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the player can be muted/unmuted.
public bool IsAllowed { get; set; }
Property Value
IsMuted
Gets a value indicating whether the player is being muted or unmuted.
public bool IsMuted { get; }
Property Value
Player
Gets the player who's being muted/unmuted.
public Player Player { get; }