Class ChangingIntercomMuteStatusEventArgs
Contains all information before a player's intercom mute status is changed.
Inheritance
System.Object
ChangingIntercomMuteStatusEventArgs
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 ChangingIntercomMuteStatusEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceChangingIntercomMuteStatusEventArgs(Player, Boolean, Boolean)
Initializes a new instance of the ChangingIntercomMuteStatusEventArgs class.
Declaration
public ChangingIntercomMuteStatusEventArgs(Player player, bool isMuted, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | isMuted | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player can be intercom muted/unmuted.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMuted
Gets a value indicating whether the player is being intercom muted or unmuted.
Declaration
public bool IsMuted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's being intercom muted/unmuted.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |