Table of Contents

Class HandcuffingEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before handcuffing a player.

public class HandcuffingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
HandcuffingEventArgs
Implements
Derived
Inherited Members
Extension Methods

Constructors

HandcuffingEventArgs(Player, Player, bool)

Initializes a new instance of the HandcuffingEventArgs class.

public HandcuffingEventArgs(Player cuffer, Player target, bool isAllowed = true)

Parameters

cuffer Player
target Player
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the player can be handcuffed.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the cuffer player.

public Player Player { get; }

Property Value

Player

Target

Gets the player who is getting cuffed.

public Player Target { get; }

Property Value

Player