Class DamagingDoorEventArgs
Contains all information before damage is dealt to a Interactables.Interobjects.DoorUtils.DoorVariant.
Inheritance
System.Object
DamagingDoorEventArgs
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 SourceDamagingDoorEventArgs(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 SourceDamage
Gets or sets the damage dealt to the door.
Declaration
public float Damage { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
DamageType
Gets the Interactables.Interobjects.DoorUtils.DoorDamageType dealt to the door.
Declaration
public DoorDamageType DamageType { get; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.DoorUtils.DoorDamageType |
Door
Gets the Door object that is damaged.
Declaration
public Door Door { get; }
Property Value
Type | Description |
---|---|
Door |
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 |