Class ChangingSpeakerStatusEventArgs
Contains all information before SCP-079 uses a speaker.
Inheritance
System.Object
ChangingSpeakerStatusEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp079
Assembly: Exiled.Events.dll
Syntax
public class ChangingSpeakerStatusEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceChangingSpeakerStatusEventArgs(Player, Boolean)
Initializes a new instance of the ChangingSpeakerStatusEventArgs class.
Declaration
public ChangingSpeakerStatusEventArgs(Player player, bool isAllowed)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether SCP-079 is able to speak to players.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Room
Gets the room that the speaker is located in.
Declaration
public Room Room { get; }
Property Value
Type | Description |
---|---|
Room |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |