Class BeingObservedEventArgs
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
PlayerThe Player instance of the target.
scp173
PlayerThe Player instance of the SCP-173.
isAllowed
boolWhether 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
Player
Gets the player who's being observed.
public Player Player { get; }
Property Value
Scp173
Gets the Scp173Role triggering the event.
public Scp173Role Scp173 { get; }
Property Value
Target
Gets the player who's observing the SCP-173.
public Player Target { get; }