Class ActivatingWarheadPanelEventArgs
Contains all information before a player activates the warhead panel.
Inheritance
System.Object
    ActivatingWarheadPanelEventArgs
  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 ActivatingWarheadPanelEventArgs : IPlayerEvent, IDeniableEvent, IExiledEventConstructors
| Improve this Doc View SourceActivatingWarheadPanelEventArgs(Player, Boolean)
Initializes a new instance of the ActivatingWarheadPanelEventArgs class.
Declaration
public ActivatingWarheadPanelEventArgs(Player player, bool isAllowed = true)Parameters
| Type | Name | Description | 
|---|---|---|
| Player | player | |
| System.Boolean | isAllowed | 
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the warhead can be activated.
Declaration
public bool IsAllowed { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Player
Gets the player who's trying to activate the warhead panel.
Declaration
public Player Player { get; }Property Value
| Type | Description | 
|---|---|
| Player |