Class TryUseBodyEventArgs
Contains all information before SCP-3114 tries to use a body.
Inheritance
System.Object
TryUseBodyEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp3114
Assembly: Exiled.Events.dll
Syntax
public class TryUseBodyEventArgs : IScp3114Event, IPlayerEvent, IDeniableEvent, IRagdollEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTryUseBodyEventArgs(Player, Ragdoll, Boolean)
Initializes a new instance of the TryUseBodyEventArgs class.
Declaration
public TryUseBodyEventArgs(Player player, Ragdoll ragdoll, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Ragdoll | ragdoll | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Ragdoll
Declaration
public Ragdoll Ragdoll { get; }
Property Value
Type | Description |
---|---|
Ragdoll |
Scp3114
Declaration
public Scp3114Role Scp3114 { get; }
Property Value
Type | Description |
---|---|
Scp3114Role |