Class StranglingEventArgs
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
ReferenceHubThe Player instance which this is being instantiated from.
target
ReferenceHubThe 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
Player
Gets the Player triggering the event.
public Player Player { get; }
Property Value
Scp3114
Gets the Scp3114Role triggering the event.
public Scp3114Role Scp3114 { get; }
Property Value
Target
Gets the Player being strangled.
public Player Target { get; }