Table of Contents

Class AmnesticCloudHazard

Namespace
Exiled.API.Features.Hazards
Assembly
Exiled.API.dll

A wrapper for SCP-939's amnestic cloud.

public class AmnesticCloudHazard : TemporaryHazard, IWrapper<EnvironmentalHazard>
Inheritance
AmnesticCloudHazard
Implements
IWrapper<EnvironmentalHazard>
Inherited Members
Extension Methods

Constructors

AmnesticCloudHazard(Scp939AmnesticCloudInstance)

Initializes a new instance of the AmnesticCloudHazard class.

public AmnesticCloudHazard(Scp939AmnesticCloudInstance hazard)

Parameters

hazard Scp939AmnesticCloudInstance

The PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance instance.

Properties

Ability

Gets the PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility for this instance.

public Scp939AmnesticCloudAbility Ability { get; }

Property Value

Scp939AmnesticCloudAbility

AmnesticCloudPrefab

Gets the amnestic cloud prefab.

public static Scp939AmnesticCloudInstance AmnesticCloudPrefab { get; }

Property Value

Scp939AmnesticCloudInstance

Base

Gets the Hazards.EnvironmentalHazard.

public Scp939AmnesticCloudInstance Base { get; }

Property Value

Scp939AmnesticCloudInstance

EffectDuration

Gets or sets duration for effects.

public float EffectDuration { get; set; }

Property Value

float

MaxHoldTime

Gets or sets maximum time to press key to spawn cloud.

public float MaxHoldTime { get; set; }

Property Value

float

MinHoldTime

Gets or sets minimum time to press key to spawn cloud.

public float MinHoldTime { get; set; }

Property Value

float

Owner

Gets the player who controls SCP-939.

public Player Owner { get; }

Property Value

Player

State

Gets or sets current state of cloud.

public Scp939AmnesticCloudInstance.CloudState State { get; set; }

Property Value

Scp939AmnesticCloudInstance.CloudState

TargetState

Gets or sets a value indicating whether hazard is active.

public bool TargetState { get; set; }

Property Value

bool

TotalDuration

Gets or sets total duration before hazard will get destroyed.

public float TotalDuration { get; set; }

Property Value

float

Type

Gets the HazardType associated with the current Hazard.

public override HazardType Type { get; }

Property Value

HazardType