Class AddingObserverEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the player can be added as an observer.
public bool IsAllowed { get; set; }
Property Value
Observer
Gets the target who has looked at SCP-173.
public Player Observer { get; }
Property Value
Player
Gets the player who's controlling SCP-173.
public Player Player { get; }
Property Value
Scp173
Gets the Scp173Role triggering the event.
public Scp173Role Scp173 { get; }