Table of Contents

Class PlayingSoundEventArgs

Namespace
Exiled.Events.EventArgs.Scp939
Assembly
Exiled.Events.dll

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

public class PlayingSoundEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
PlayingSoundEventArgs
Implements
Inherited Members
Extension Methods

Constructors

PlayingSoundEventArgs(Player, EnvMimicrySequence, bool, float, bool)

Initializes a new instance of the PlayingSoundEventArgs class.

public PlayingSoundEventArgs(Player player, EnvMimicrySequence sound, bool isReady, float cooldown, bool isAllowed = true)

Parameters

player Player
sound EnvMimicrySequence

The sound that is being played.

isReady bool

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

cooldown float

The cooldown of the environmental mimicry.

isAllowed bool

Properties

Cooldown

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

public float Cooldown { get; set; }

Property Value

float

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Remarks

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

IsReady

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

public bool IsReady { get; }

Property Value

bool

Player

Gets the player who's controlling SCP-939.

public Player Player { get; }

Property Value

Player

Scp939

Gets the Scp939Role triggering the event.

public Scp939Role Scp939 { get; }

Property Value

Scp939Role

Sound

Gets the sound being played.

public EnvMimicrySequence Sound { get; }

Property Value

EnvMimicrySequence