Class RemovingHandcuffsEventArgs
Contains all information before freeing a handcuffed player.
Inheritance
System.Object
RemovingHandcuffsEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class RemovingHandcuffsEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceRemovingHandcuffsEventArgs(Player, Player, Boolean)
Initializes a new instance of the RemovingHandcuffsEventArgs class.
Declaration
public RemovingHandcuffsEventArgs(Player cuffer, Player target, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | cuffer | The cuffer player. |
Player | target | The target player to be uncuffed. |
System.Boolean | isAllowed | Indicates whether the event can be executed or not. |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player can be handcuffed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the cuffer player.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Target
Gets the target player to be cuffed.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |