Class DamagingScp244EventArgs
Contains all information before damage is dealt to a InventorySystem.Items.Usables.Scp244.Scp244DeployablePickup.
public class DamagingScp244EventArgs : IDeniableEvent, IExiledEvent
- Inheritance
-
DamagingScp244EventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
DamagingScp244EventArgs(Scp244DeployablePickup, float, DamageHandlerBase)
Initializes a new instance of the DamagingScp244EventArgs class.
public DamagingScp244EventArgs(Scp244DeployablePickup scp244, float damage, DamageHandlerBase handler)
Parameters
scp244
Scp244DeployablePickupdamage
floatThe damage being dealt.
handler
DamageHandlerBase
Properties
Handler
Gets the Damage handler for this event.
public DamageHandler Handler { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the Scp244Pickup can be broken.
public bool IsAllowed { get; set; }
Property Value
Pickup
Gets the Scp244Pickup object that is damaged.
public Scp244Pickup Pickup { get; }