Class JailbirdChargeCompleteEventArgs
Contains all information when a player completes charging a Jailbird.
public class JailbirdChargeCompleteEventArgs : IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
JailbirdChargeCompleteEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
JailbirdChargeCompleteEventArgs(ReferenceHub, ItemBase, bool)
Initializes a new instance of the JailbirdChargeCompleteEventArgs class.
public JailbirdChargeCompleteEventArgs(ReferenceHub player, ItemBase jailbird, bool isAllowed = true)
Parameters
playerReferenceHubThe player who completed the charge.
jailbirdItemBaseThe Jailbird item whose charge is complete.
isAllowedboolWhether the Jailbird is allowed to attack after charging.
Properties
IsAllowed
Gets or sets a value indicating whether the Jailbird is allowed to attack after charging.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the Item associated with the charged Jailbird.
public Item Item { get; }
Property Value
Jailbird
Gets the Jailbird that was fully charged.
public Jailbird Jailbird { get; }
Property Value
Player
Gets the Player who completed the charge.
public Player Player { get; }