Table of Contents

Class AddingTargetEventArgs

Namespace
Exiled.Events.EventArgs.Scp096
Assembly
Exiled.Events.dll

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

scp096 Player
target Player
isLooking bool
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the target is allowed to be added.

public bool IsAllowed { get; set; }

Property Value

bool

IsLooking

Gets a value indicating whether the target was being target cause of looking it's face.

public bool IsLooking { get; }

Property Value

bool

Player

Gets the Player that is controlling SCP-096.

public Player Player { get; }

Property Value

Player

Scp096

Gets the Scp096Role triggering the event.

public Scp096Role Scp096 { get; }

Property Value

Scp096Role

Target

Gets the Player being added as a target.

public Player Target { get; }

Property Value

Player