Table of Contents

Class ValidatingVisibilityEventArgs

Namespace
Exiled.Events.EventArgs.Scp939
Assembly
Exiled.Events.dll

Contains all information before SCP-939 sees the player.

public class ValidatingVisibilityEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
ValidatingVisibilityEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ValidatingVisibilityEventArgs(Scp939VisibilityState, ReferenceHub, ReferenceHub)

Initializes a new instance of the ValidatingVisibilityEventArgs class.

public ValidatingVisibilityEventArgs(Scp939VisibilityState state, ReferenceHub player, ReferenceHub target)

Parameters

state Scp939VisibilityState
player ReferenceHub
target ReferenceHub

The target being shown to SCP-939.

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

IsLateSeen

Gets or sets a value indicating whether or not the SCP-939 will detect that vision as SeenByRange.

public bool IsLateSeen { get; set; }

Property Value

bool

Remarks

Works only when IsAllowed = true, and makes player visible to SCP-939 for a while, after it's out of range.

Player

Gets the player who's controlling SCP-939.

public Player Player { get; }

Property Value

Player

Scp939

Gets the Scp939Role triggering the event.

public Scp939Role Scp939 { get; }

Property Value

Scp939Role

Target

Gets the player who's being shown to SCP-939.

public Player Target { get; }

Property Value

Player

TargetVisibilityState

Gets the info about base-game vision information.

public Scp939VisibilityState TargetVisibilityState { get; }

Property Value

Scp939VisibilityState