Table of Contents

Class ChangingSpeakerStatusEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

Contains all information before SCP-079 uses a speaker.

public class ChangingSpeakerStatusEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Inheritance
ChangingSpeakerStatusEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ChangingSpeakerStatusEventArgs(Player, bool)

Initializes a new instance of the ChangingSpeakerStatusEventArgs class.

public ChangingSpeakerStatusEventArgs(Player player, bool isAllowed)

Parameters

player Player
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether SCP-079 is able to speak to players.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's controlling SCP-079.

public Player Player { get; }

Property Value

Player

Room

Gets the room that the speaker is located in.

public Room Room { get; }

Property Value

Room

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role