Class ValidatingVisibilityEventArgs
Contains all information before SCP-939 sees the player.
Inheritance
System.Object
ValidatingVisibilityEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp939
Assembly: Exiled.Events.dll
Syntax
public class ValidatingVisibilityEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceValidatingVisibilityEventArgs(ReferenceHub, ReferenceHub, Boolean)
Initializes a new instance of the ValidatingVisibilityEventArgs class.
Declaration
public ValidatingVisibilityEventArgs(ReferenceHub player, ReferenceHub target, bool isAllowed)
Parameters
Type | Name | Description |
---|---|---|
ReferenceHub | player | |
ReferenceHub | target | The target being shown to SCP-939. |
System.Boolean | isAllowed | Whether or not SCP-939 is allowed to view the player. |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether visibility can be validated.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-939.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp939
Declaration
public Scp939Role Scp939 { get; }
Property Value
Type | Description |
---|---|
Scp939Role |
Target
Gets the player who's being shown to SCP-939.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |