Class ActivatingWarheadPanelEventArgs
Contains all information before a player activates the warhead panel.
public class ActivatingWarheadPanelEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
ActivatingWarheadPanelEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ActivatingWarheadPanelEventArgs(Player, bool)
Initializes a new instance of the ActivatingWarheadPanelEventArgs class.
public ActivatingWarheadPanelEventArgs(Player player, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the warhead can be activated.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's trying to activate the warhead panel.
public Player Player { get; }