Table of Contents

Class ActivatingWarheadPanelEventArgs

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

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

player Player
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the warhead can be activated.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's trying to activate the warhead panel.

public Player Player { get; }

Property Value

Player