Table of Contents

Class BeingObservedEventArgs

Namespace
Exiled.Events.EventArgs.Scp173
Assembly
Exiled.Events.dll

Contains all the information before SCP-173 is observed.

public class BeingObservedEventArgs : IScp173Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
BeingObservedEventArgs
Implements
Inherited Members
Extension Methods

Constructors

BeingObservedEventArgs(Player, Player, bool)

Initializes a new instance of the BeingObservedEventArgs class.

public BeingObservedEventArgs(Player target, Player scp173, bool isAllowed = true)

Parameters

target Player

The Player instance of the target.

scp173 Player

The Player instance of the SCP-173.

isAllowed bool

Whether the target will be counted as observing the SCP-173.

Properties

IsAllowed

Gets or sets a value indicating whether the player can be counted as observing.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's being observed.

public Player Player { get; }

Property Value

Player

Scp173

Gets the Scp173Role triggering the event.

public Scp173Role Scp173 { get; }

Property Value

Scp173Role

Target

Gets the player who's observing the SCP-173.

public Player Target { get; }

Property Value

Player