Class ChangingSpeakerStatusEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether SCP-079 is able to speak to players.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-079.
public Player Player { get; }
Property Value
Room
Gets the room that the speaker is located in.
public Room Room { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }