WarheadPanelInteract

Raise

This Event is called when a Player Interacts with the inside Panel of the Nuke

Usage

Can be used to prevent Players from Canceling the Nuke/ Flick the Nuke Lever

WarheadPanelInteractEvent

EventArgsTypeDescription

Player

SynapsePlayer

The Player which tries to interact with the Panel

Allow

bool

If the Player is allowed to interact with the Panel

Operation

AlphaPanelOperation

The Type of Interaction

public class WarheadPanelInteractEvent : PlayerInteractEvent
{
    public PlayerInteract.AlphaPanelOperations Operation { get; set; }

    public WarheadPanelInteractEvent(SynapsePlayer player, bool allow, PlayerInteract.AlphaPanelOperations operation) :
        base(player, allow)
    {
        Operation = operation;
    }
}

Last updated