Class MakingNoiseEventArgs
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
Properties
Distance
Gets or sets the footsteps distance.
public float Distance { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's making noise.
public Player Player { get; }