Class TryUseBodyEventArgs
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
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
Ragdoll
Gets the Ragdoll triggering the event.
public Ragdoll Ragdoll { get; }
Property Value
Scp3114
Gets the Scp3114Role triggering the event.
public Scp3114Role Scp3114 { get; }