Table of Contents

Class SavingByAntiScp207EventArgs

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

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

player ReferenceHub

The player who is being saved.

damageAmount float

The amount of damage that would have been applied.

handler DamageHandlerBase

The damage handler that describes the damage.

hitboxType HitboxType

The hitbox that was hit.

Properties

DamageAmount

Gets the amount of damage that would have been applied.

public float DamageAmount { get; }

Property Value

float

DamageMultiplier

Gets or sets the multiplier for the damage that is applied when the event is allowed.

public float DamageMultiplier { get; set; }

Property Value

float

DeniedDamageMultiplier

Gets or sets the multiplier for the damage that if event denied.

public float DeniedDamageMultiplier { get; set; }

Property Value

float

Handler

Gets the damage handler that describes the incoming damage.

public DamageHandlerBase Handler { get; }

Property Value

DamageHandlerBase

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

bool

Player

Gets the player who is being saved.

public Player Player { get; }

Property Value

Player