Search Results for

    Show / Hide Table of Contents

    Class DamagingDoorEventArgs

    Contains all information before damage is dealt to a Interactables.Interobjects.DoorUtils.DoorVariant.

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

    Constructors

    | Improve this Doc View Source

    DamagingDoorEventArgs(DoorVariant, Single, DoorDamageType)

    Initializes a new instance of the DamagingDoorEventArgs class.

    Declaration
    public DamagingDoorEventArgs(DoorVariant door, float damage, DoorDamageType doorDamageType)
    Parameters
    Type Name Description
    Interactables.Interobjects.DoorUtils.DoorVariant door
    System.Single damage

    The damage being dealt.

    Interactables.Interobjects.DoorUtils.DoorDamageType doorDamageType

    Properties

    | Improve this Doc View Source

    Damage

    Gets or sets the damage dealt to the door.

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

    DamageType

    Gets the Interactables.Interobjects.DoorUtils.DoorDamageType dealt to the door.

    Declaration
    public DoorDamageType DamageType { get; }
    Property Value
    Type Description
    Interactables.Interobjects.DoorUtils.DoorDamageType
    | Improve this Doc View Source

    Door

    Gets the Door object that is damaged.

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

    IsAllowed

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

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    IDeniableEvent
    IExiledEvent

    Extension Methods

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