Class DamagingScp244EventArgs
Contains all information before damage is dealt to a InventorySystem.Items.Usables.Scp244.Scp244DeployablePickup.
Inheritance
System.Object
DamagingScp244EventArgs
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.Scp244
Assembly: Exiled.Events.dll
Syntax
public class DamagingScp244EventArgs : IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceDamagingScp244EventArgs(Scp244DeployablePickup, Single, DamageHandlerBase)
Initializes a new instance of the DamagingScp244EventArgs class.
Declaration
public DamagingScp244EventArgs(Scp244DeployablePickup scp244, float damage, DamageHandlerBase handler)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Usables.Scp244.Scp244DeployablePickup | scp244 | |
System.Single | damage | The damage being dealt. |
PlayerStatsSystem.DamageHandlerBase | handler |
Properties
| Improve this Doc View SourceHandler
Gets the Damage handler for this event.
Declaration
public DamageHandler Handler { get; }
Property Value
Type | Description |
---|---|
DamageHandler |
IsAllowed
Gets or sets a value indicating whether the Scp244Pickup can be broken.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Pickup
Gets the Scp244Pickup object that is damaged.
Declaration
public Scp244Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Scp244Pickup |