Class PlacingAmnesticCloudEventArgs
Contains all information before SCP-939 uses its amnestic cloud ability.
Inheritance
System.Object
PlacingAmnesticCloudEventArgs
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.Scp939
Assembly: Exiled.Events.dll
Syntax
public class PlacingAmnesticCloudEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourcePlacingAmnesticCloudEventArgs(Player, Boolean, Boolean, Single, Boolean)
Initializes a new instance of the PlacingAmnesticCloudEventArgs class.
Declaration
public PlacingAmnesticCloudEventArgs(Player player, bool state, bool isReady, float cooldown, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | state | Whether or not SCP-939 is attempting to place an amnestic cloud. |
System.Boolean | isReady | Whether or not the cooldown is ready. |
System.Single | cooldown | SCP-939's amnestic cloud cooldown. |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceCooldown
Gets or sets a value indicating SCP-939's amnestic cloud cooldown.
Declaration
public float Cooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not SCP-939 can place an amnestic cloud.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsReady
Gets or sets a value indicating whether or not SCP-939's amnestic cloud cooldown is ready.
Declaration
public bool IsReady { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-939.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp939
Declaration
public Scp939Role Scp939 { get; }
Property Value
Type | Description |
---|---|
Scp939Role |
State
Gets a value indicating whether or not SCP-939 is ready to place its amnestic cloud.
Declaration
public bool State { get; }
Property Value
Type | Description |
---|---|
System.Boolean |