Table of Contents

Class AddingObserverEventArgs

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

Contains all information before a player sees SCP-173.

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

Constructors

AddingObserverEventArgs(Player, Player, bool)

Initializes a new instance of the AddingObserverEventArgs class.

public AddingObserverEventArgs(Player player, Player observer, bool isAllowed = true)

Parameters

player Player
observer Player
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the player can be added as an observer.

public bool IsAllowed { get; set; }

Property Value

bool

Observer

Gets the target who has looked at SCP-173.

public Player Observer { get; }

Property Value

Player

Player

Gets the player who's controlling SCP-173.

public Player Player { get; }

Property Value

Player

Scp173

Gets the Scp173Role triggering the event.

public Scp173Role Scp173 { get; }

Property Value

Scp173Role