Search Results for

    Show / Hide Table of Contents

    Class PlayingSoundEventArgs

    Contains all information before SCP-939 plays a sound effect.

    Inheritance
    System.Object
    PlayingSoundEventArgs
    Implements
    IScp939Event
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 PlayingSoundEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    PlayingSoundEventArgs(Player, EnvMimicrySequence, Boolean, Single, Boolean)

    Initializes a new instance of the PlayingSoundEventArgs class.

    Declaration
    public PlayingSoundEventArgs(Player player, EnvMimicrySequence sound, bool isReady, float cooldown, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    PlayerRoles.PlayableScps.Scp939.Mimicry.EnvMimicrySequence sound

    The sound that is being played.

    System.Boolean isReady

    Whether or not SCP-939's environmental mimicry cooldown is ready.

    System.Single cooldown

    The cooldown of the environmental mimicry.

    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    Cooldown

    Gets or sets a value indicating SCP-939's environmental mimicry cooldown.

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

    IsAllowed

    Gets or sets a value indicating whether or not SCP-939 can play the sound.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    This will default to false if IsReady is false. In this case, setting it to true will override the cooldown.

    | Improve this Doc View Source

    IsReady

    Gets a value indicating whether or not SCP-939's environmental mimicry cooldown is ready.

    Declaration
    public bool IsReady { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who's controlling SCP-939.

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

    Scp939

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

    Sound

    Gets the sound being played.

    Declaration
    public EnvMimicrySequence Sound { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp939.Mimicry.EnvMimicrySequence

    Implements

    IScp939Event
    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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