Class AmnesticCloudHazard
A wrapper for SCP-939's amnestic cloud.
Implements
IWrapper<Hazards.EnvironmentalHazard>
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.API.Features.Hazards
Assembly: Exiled.API.dll
Syntax
public class AmnesticCloudHazard : TemporaryHazard, IWrapper<EnvironmentalHazard>
Constructors
| Improve this Doc View SourceAmnesticCloudHazard(Scp939AmnesticCloudInstance)
Initializes a new instance of the AmnesticCloudHazard class.
Declaration
public AmnesticCloudHazard(Scp939AmnesticCloudInstance hazard)
Parameters
Type | Name | Description |
---|---|---|
PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance | hazard | The PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance instance. |
Properties
| Improve this Doc View SourceAbility
Gets the PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility for this instance.
Declaration
public Scp939AmnesticCloudAbility Ability { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility |
Base
Declaration
public Scp939AmnesticCloudInstance Base { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance |
EffectDuration
Gets or sets duration for effects.
Declaration
public float EffectDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxHoldTime
Gets or sets maximum time to press key to spawn cloud.
Declaration
public float MaxHoldTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MinHoldTime
Gets or sets minimum time to press key to spawn cloud.
Declaration
public float MinHoldTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Owner
Gets the player who controls SCP-939.
Declaration
public Player Owner { get; }
Property Value
Type | Description |
---|---|
Player |
State
Gets or sets current state of cloud.
Declaration
public Scp939AmnesticCloudInstance.CloudState State { get; set; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance.CloudState |
TargetState
Gets or sets a value indicating whether or not hazard is active or not.
Declaration
public bool TargetState { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TotalDuration
Gets or sets total duration before hazard will get destroyed.
Declaration
public float TotalDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |