Class AddingTargetEventArgs
Contains all information before adding a target to SCP-096.
Inheritance
System.Object
AddingTargetEventArgs
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 AddingTargetEventArgs : IScp096Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceAddingTargetEventArgs(Player, Player, Boolean, Boolean)
Initializes a new instance of the AddingTargetEventArgs class.
Declaration
public AddingTargetEventArgs(Player scp096, Player target, bool isLooking, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | scp096 | |
Player | target | |
System.Boolean | isLooking | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the target is allowed to be added.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLooking
Gets a value indicating whether or not the target was being target cause of looking it's face.
Declaration
public bool IsLooking { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the Player that 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 |
Target
Gets the Player being added as a target.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |