Class AddingTargetEventArgs
Contains all information before adding a target to SCP-096.
public class AddingTargetEventArgs : IScp096Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
AddingTargetEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
AddingTargetEventArgs(Player, Player, bool, bool)
Initializes a new instance of the AddingTargetEventArgs class.
public AddingTargetEventArgs(Player scp096, Player target, bool isLooking, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the target is allowed to be added.
public bool IsAllowed { get; set; }
Property Value
IsLooking
Gets a value indicating whether the target was being target cause of looking it's face.
public bool IsLooking { get; }
Property Value
Player
Gets the Player that is controlling SCP-096.
public Player Player { get; }
Property Value
Scp096
Gets the Scp096Role triggering the event.
public Scp096Role Scp096 { get; }
Property Value
Target
Gets the Player being added as a target.
public Player Target { get; }