Class StartingEventArgs
Contains all information before starting the warhead.
public class StartingEventArgs : StoppingEventArgs, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
StartingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
StartingEventArgs(Player, bool, bool)
Initializes a new instance of the StartingEventArgs class.
public StartingEventArgs(Player player, bool isAuto, bool isAllowed = true)
Parameters
playerPlayerThe player who's going to start the warhead.
isAutoboolIndicating whether the nuke was set off automatically.
isAllowedboolIndicating whether the event can be executed.
Properties
IsAuto
Gets or sets a value indicating whether the nuke was set off automatically.
public bool IsAuto { get; set; }