Search Results for

    Show / Hide Table of Contents

    Class MakingNoiseEventArgs

    Contains all information before a player makes noise.

    Inheritance
    System.Object
    MakingNoiseEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    MakingNoiseEventArgs(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 Source

    Distance

    Gets or sets the footsteps distance.

    Declaration
    public float Distance { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    IsAllowed

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who's making noise.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX