Class SavingByAntiScp207EventArgs
Contains all information before a player is saved from death by the Anti-SCP-207 effect.
public class SavingByAntiScp207EventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
SavingByAntiScp207EventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
SavingByAntiScp207EventArgs(ReferenceHub, float, DamageHandlerBase, HitboxType)
Initializes a new instance of the SavingByAntiScp207EventArgs class.
public SavingByAntiScp207EventArgs(ReferenceHub player, float damageAmount, DamageHandlerBase handler, HitboxType hitboxType)
Parameters
playerReferenceHubThe player who is being saved.
damageAmountfloatThe amount of damage that would have been applied.
handlerDamageHandlerBaseThe damage handler that describes the damage.
hitboxTypeHitboxTypeThe hitbox that was hit.
Properties
DamageAmount
Gets the amount of damage that would have been applied.
public float DamageAmount { get; }
Property Value
DamageMultiplier
Gets or sets the multiplier for the damage that is applied when the event is allowed.
public float DamageMultiplier { get; set; }
Property Value
DeniedDamageMultiplier
Gets or sets the multiplier for the damage that if event denied.
public float DeniedDamageMultiplier { get; set; }
Property Value
Handler
Gets the damage handler that describes the incoming damage.
public DamageHandlerBase Handler { get; }
Property Value
HitboxType
Gets the hitbox that was hit.
public HitboxType HitboxType { get; }
Property Value
- HitboxType
IsAllowed
Gets or sets a value indicating whether the event is allowed.
If set to false, the event will be denied.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who is being saved.
public Player Player { get; }