Table of Contents

Class TryUseBodyEventArgs

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

Contains all information before SCP-3114 tries to use a body.

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

Constructors

TryUseBodyEventArgs(Player, Ragdoll, bool)

Initializes a new instance of the TryUseBodyEventArgs class.

public TryUseBodyEventArgs(Player player, Ragdoll ragdoll, bool isAllowed = true)

Parameters

player Player
ragdoll Ragdoll
isAllowed bool

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

Ragdoll

Gets the Ragdoll triggering the event.

public Ragdoll Ragdoll { get; }

Property Value

Ragdoll

Scp3114

Gets the Scp3114Role triggering the event.

public Scp3114Role Scp3114 { get; }

Property Value

Scp3114Role