Table of Contents

Class StranglingEventArgs

Namespace
Exiled.Events.EventArgs.Scp3114
Assembly
Exiled.Events.dll

Contains all information before SCP-3114 strangles a player.

public class StranglingEventArgs : IScp3114Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
StranglingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

StranglingEventArgs(ReferenceHub, ReferenceHub)

Initializes a new instance of the StranglingEventArgs class.

public StranglingEventArgs(ReferenceHub hub, ReferenceHub target)

Parameters

hub ReferenceHub

The Player instance which this is being instantiated from.

target ReferenceHub

The Player being targeted.

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

Scp3114

Gets the Scp3114Role triggering the event.

public Scp3114Role Scp3114 { get; }

Property Value

Scp3114Role

Target

Gets the Player being strangled.

public Player Target { get; }

Property Value

Player