Class ValidatingVisibilityEventArgs
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
Scp939VisibilityStateplayer
ReferenceHubtarget
ReferenceHubThe 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
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
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
Scp939
Gets the Scp939Role triggering the event.
public Scp939Role Scp939 { get; }
Property Value
Target
Gets the player who's being shown to SCP-939.
public Player Target { get; }
Property Value
TargetVisibilityState
Gets the info about base-game vision information.
public Scp939VisibilityState TargetVisibilityState { get; }