Table of Contents

Class DamagingDoorEventArgs

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

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

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

Constructors

DamagingDoorEventArgs(DoorVariant, float, DoorDamageType)

Initializes a new instance of the DamagingDoorEventArgs class.

public DamagingDoorEventArgs(DoorVariant door, float damage, DoorDamageType doorDamageType)

Parameters

door DoorVariant
damage float

The damage being dealt.

doorDamageType DoorDamageType

Properties

Damage

Gets or sets the damage dealt to the door.

public float Damage { get; set; }

Property Value

float

DamageType

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

public DoorDamageType DamageType { get; }

Property Value

DoorDamageType

Door

Gets the Door object that is damaged.

public Door Door { get; }

Property Value

Door

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool