Table of Contents

Class MakingNoiseEventArgs

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

Contains all information before a player makes noise.

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

Constructors

MakingNoiseEventArgs(Player, float, bool)

Initializes a new instance of the MakingNoiseEventArgs class.

public MakingNoiseEventArgs(Player player, float distance, bool isAllowed = true)

Parameters

player Player
distance float
isAllowed bool

Properties

Distance

Gets or sets the footsteps distance.

public float Distance { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's making noise.

public Player Player { get; }

Property Value

Player