Last updated 2 years ago
This event is raised when the Warhead is canceled
Can be used to prevent that a player cancels the Warhead
Useful for Auto Nuke or similar
public class CancelWarheadEvent : PlayerInteractEvent { public CancelWarheadEvent(SynapsePlayer player, bool allow) : base(player, allow) { } }
Player
SynapsePlayer
The Player who pressed the Cancel Button or null
Allow
bool
If the Player is allowed to press the Button