Table of Contents

Class ChargingJailbirdEventArgs

Namespace
Exiled.Events.EventArgs.Item
Assembly
Exiled.Events.dll

Contains all information before a player charges a Jailbird.

public class ChargingJailbirdEventArgs : IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
ChargingJailbirdEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ChargingJailbirdEventArgs(ReferenceHub, ItemBase, bool)

Initializes a new instance of the ChargingJailbirdEventArgs class.

public ChargingJailbirdEventArgs(ReferenceHub player, ItemBase swingItem, bool isAllowed = true)

Parameters

player ReferenceHub
swingItem ItemBase

The item being charged.

isAllowed bool

Whether the item can be charged.

Properties

IsAllowed

Gets or sets a value indicating whether the Jailbird can be charged.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item that is being charged.

public Item Item { get; }

Property Value

Item

Jailbird

Gets the Jailbird that is being charged.

public Jailbird Jailbird { get; }

Property Value

Jailbird

Player

Gets the Player who's charging an item.

public Player Player { get; }

Property Value

Player