Class ActivatingSenseEventArgs
Contains all information before SCP-049 good sense of the doctor is activated.
Inheritance
System.Object
ActivatingSenseEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp049
Assembly: Exiled.Events.dll
Syntax
public class ActivatingSenseEventArgs : IScp049Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceActivatingSenseEventArgs(Player, Player, Boolean)
Initializes a new instance of the ActivatingSenseEventArgs class with information before SCP-049 sense is activated.
Declaration
public ActivatingSenseEventArgs(Player player, Player target, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Player | target | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceCooldown
Gets or sets the cooldown of the ability.
Declaration
[Obsolete("Use FailedCooldown instead of this")]
public float Cooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Duration
Gets or sets the duration of the Effect.
Declaration
public float Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FailedCooldown
Gets or sets the cooldown of the ability.
Declaration
public float FailedCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not the server will send 049 information on the recall.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the Player who is playing as SCP-049.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp049
Declaration
public Scp049Role Scp049 { get; }
Property Value
Type | Description |
---|---|
Scp049Role |
Target
Gets or sets the Player who the sense ability is affecting.
Declaration
public Player Target { get; set; }
Property Value
Type | Description |
---|---|
Player |