Table of Contents

Class PlayingVoiceEventArgs

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

Contains all information before SCP-939 plays a stolen player's voice.

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

Constructors

PlayingVoiceEventArgs(ReferenceHub, ReferenceHub)

Initializes a new instance of the PlayingVoiceEventArgs class.

public PlayingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen)

Parameters

player ReferenceHub
stolen ReferenceHub

The player who's voice was stolen.

Properties

IsAllowed

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

public bool IsAllowed { get; set; }

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

Stolen

Gets the players who's voice was stolen.

public Player Stolen { get; }

Property Value

Player