Table of Contents

Class FinishingSenseEventArgs

Namespace
Exiled.Events.EventArgs.Scp049
Assembly
Exiled.Events.dll

Contains all information before SCP-049 finishes his sense ability.

public class FinishingSenseEventArgs : IScp049Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
FinishingSenseEventArgs
Implements
Inherited Members
Extension Methods

Constructors

FinishingSenseEventArgs(ReferenceHub, ReferenceHub, double, bool)

Initializes a new instance of the FinishingSenseEventArgs class.

public FinishingSenseEventArgs(ReferenceHub scp049, ReferenceHub target, double cooldowntime, bool isAllowed = true)

Parameters

scp049 ReferenceHub

The SCP-049 instance triggering the event.

target ReferenceHub

The player targeted by SCP-049's Sense ability.

cooldowntime double

The time in seconds before the Sense ability can be used again.

isAllowed bool

Specifies whether the Sense effect is allowed to finish.

Properties

CooldownTime

Gets or sets the cooldown duration of the Sense ability.

public double CooldownTime { get; set; }

Property Value

double

IsAllowed

Gets or sets a value indicating whether the server will finishing or not finishing 049 Sense Ability.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who is controlling SCP-049.

public Player Player { get; }

Property Value

Player

Scp049

Gets the Scp049Role triggering the event.

public Scp049Role Scp049 { get; }

Property Value

Scp049Role

Target

Gets the player who is SCP-049's active target. Can be null.

public Player Target { get; }

Property Value

Player