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
player
PlayerThe player who's going to start the warhead.
isAuto
boolIndicating whether the nuke was set off automatically.
isAllowed
boolIndicating 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; }