Search Results for

    Show / Hide Table of Contents

    Class AmnesticCloudHazard

    A wrapper for SCP-939's amnestic cloud.

    Inheritance
    System.Object
    TypeCastObject<Hazard>
    Hazard
    TemporaryHazard
    AmnesticCloudHazard
    Implements
    IWrapper<Hazards.EnvironmentalHazard>
    Inherited Members
    TemporaryHazard.IsDestroyed
    TemporaryHazard.Duration
    TemporaryHazard.Destroy()
    Hazard.List
    Hazard.AffectedPlayers
    Hazard.MaxDistance
    Hazard.MaxHeightDistance
    Hazard.IsActive
    Hazard.PositionOffset
    Hazard.Room
    Hazard.Position
    Hazard.Get(EnvironmentalHazard)
    Hazard.Get(Room)
    Hazard.Get(GameObject)
    Hazard.Get(Func<Hazard, Boolean>)
    Hazard.IsInArea(Player)
    TypeCastObject<Hazard>.Cast<TObject>()
    TypeCastObject<Hazard>.Cast<TObject>(TObject)
    TypeCastObject<Hazard>.As<TObject>()
    TypeCastObject<Hazard>.Is<TObject>(TObject)
    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 Source

    AmnesticCloudHazard(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 Source

    Ability

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

    Declaration
    public Scp939AmnesticCloudAbility Ability { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility
    | Improve this Doc View Source

    Base

    Declaration
    public Scp939AmnesticCloudInstance Base { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance
    | Improve this Doc View Source

    EffectDuration

    Gets or sets duration for effects.

    Declaration
    public float EffectDuration { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    MaxHoldTime

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

    Declaration
    public float MaxHoldTime { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    MinHoldTime

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

    Declaration
    public float MinHoldTime { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Owner

    Gets the player who controls SCP-939.

    Declaration
    public Player Owner { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    State

    Gets or sets current state of cloud.

    Declaration
    public Scp939AmnesticCloudInstance.CloudState State { get; set; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudInstance.CloudState
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    TotalDuration

    Gets or sets total duration before hazard will get destroyed.

    Declaration
    public float TotalDuration { get; set; }
    Property Value
    Type Description
    System.Single

    Implements

    IWrapper<T>

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX