Search Results for

    Show / Hide Table of Contents

    Class DamagingWindowEventArgs

    Contains all information before damage is dealt to a BreakableWindow.

    Inheritance
    System.Object
    DamagingWindowEventArgs
    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 DamagingWindowEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    DamagingWindowEventArgs(BreakableWindow, Single, DamageHandlerBase)

    Initializes a new instance of the DamagingWindowEventArgs class.

    Declaration
    public DamagingWindowEventArgs(BreakableWindow window, float damage, DamageHandlerBase handler)
    Parameters
    Type Name Description
    BreakableWindow window
    System.Single damage

    The damage being dealt.

    PlayerStatsSystem.DamageHandlerBase handler

    Properties

    | Improve this Doc View Source

    Handler

    Gets or sets the damage handler for this event.

    Declaration
    public DamageHandler Handler { get; set; }
    Property Value
    Type Description
    DamageHandler
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the window can be broken.

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

    Player

    Gets the Player causing the damage.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Window

    Gets the Window object that is damaged.

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

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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