Class ChargingEventArgs
Contains all information before SCP-096 charges.
Inheritance
System.Object
ChargingEventArgs
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.Scp096
Assembly: Exiled.Events.dll
Syntax
public class ChargingEventArgs : IScp096Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceChargingEventArgs(Player, Boolean)
Initializes a new instance of the ChargingEventArgs class.
Declaration
public ChargingEventArgs(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-096 can charge.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who is controlling SCP-096.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp096
Declaration
public Scp096Role Scp096 { get; }
Property Value
Type | Description |
---|---|
Scp096Role |