Class MakingNoiseEventArgs
Contains all information before a player makes noise.
Inheritance
System.Object
MakingNoiseEventArgs
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 MakingNoiseEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceMakingNoiseEventArgs(Player, Single, Boolean)
Initializes a new instance of the MakingNoiseEventArgs class.
Declaration
public MakingNoiseEventArgs(Player player, float distance, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Single | distance | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceDistance
Gets or sets the footsteps distance.
Declaration
public float Distance { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's making noise.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |