Class DisguisingEventArgs
Contains all information before SCP-3114 disguises to a new role.
public class DisguisingEventArgs : IScp3114Event, IPlayerEvent, IDeniableEvent, IRagdollEvent, IExiledEvent
- Inheritance
-
DisguisingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
DisguisingEventArgs(Player, Ragdoll, bool)
Initializes a new instance of the DisguisingEventArgs class.
public DisguisingEventArgs(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; }