Class FinishingSenseEventArgs
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
scp049ReferenceHubThe SCP-049 instance triggering the event.
targetReferenceHubThe player targeted by SCP-049's Sense ability.
cooldowntimedoubleThe time in seconds before the Sense ability can be used again.
isAllowedboolSpecifies 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
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
Player
Gets the player who is controlling SCP-049.
public Player Player { get; }
Property Value
Scp049
Gets the Scp049Role triggering the event.
public Scp049Role Scp049 { get; }
Property Value
Target
Gets the player who is SCP-049's active target. Can be null.
public Player Target { get; }