Class ActivatingEventArgs
Contains all information before a player activates SCP-914.
Inheritance
System.Object
ActivatingEventArgs
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.Scp914
Assembly: Exiled.Events.dll
Syntax
public class ActivatingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceActivatingEventArgs(Player, Boolean)
Initializes a new instance of the ActivatingEventArgs class.
Declaration
public ActivatingEventArgs(Player player, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not SCP-914 can be activated.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's activating SCP-914.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |