Table of Contents

Class SavingVoiceEventArgs

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

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

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

Constructors

SavingVoiceEventArgs(ReferenceHub, ReferenceHub, bool)

Initializes a new instance of the SavingVoiceEventArgs class.

public SavingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen, bool isAllowed = true)

Parameters

player ReferenceHub
stolen ReferenceHub

The player who's voice was stolen.

isAllowed bool

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