Table of Contents

Class ChangingFocusEventArgs

Namespace
Exiled.Events.EventArgs.Scp939
Assembly
Exiled.Events.dll

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

player ReferenceHub
state bool

The state of the focus.

isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether SCP-939 can focus.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's controlling SCP-939.

public Player Player { get; }

Property Value

Player

Scp939

Gets the Scp939Role triggering the event.

public Scp939Role Scp939 { get; }

Property Value

Scp939Role

State

Gets a value indicating whether SCP-939 is currently focusing or un-focusing.

public bool State { get; }

Property Value

bool