Class ChangingFocusEventArgs
Contains all information before SCP-939 changes its target focus.
public class ChangingFocusEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ChangingFocusEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ChangingFocusEventArgs(ReferenceHub, bool, bool)
Initializes a new instance of the ChangingFocusEventArgs class.
public ChangingFocusEventArgs(ReferenceHub player, bool state, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether SCP-939 can focus.
public bool IsAllowed { get; set; }
Property Value
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
State
Gets a value indicating whether SCP-939 is currently focusing or un-focusing.
public bool State { get; }