Class PlacingTantrumEventArgs
Contains all information before the tantrum is placed.
public class PlacingTantrumEventArgs : IScp173Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
PlacingTantrumEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
PlacingTantrumEventArgs(Player, TantrumEnvironmentalHazard, AbilityCooldown, bool)
Initializes a new instance of the PlacingTantrumEventArgs class.
public PlacingTantrumEventArgs(Player player, TantrumEnvironmentalHazard tantrumHazard, AbilityCooldown cooldown, bool isAllowed = true)
Parameters
Properties
Cooldown
Gets the tantrum PlayerRoles.Subroutines.AbilityCooldown.
public AbilityCooldown Cooldown { get; }
Property Value
- AbilityCooldown
IsAllowed
Gets or sets a value indicating whether the tantrum can be placed.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's placing the tantrum.
public Player Player { get; }
Property Value
Scp173
Gets the player's Scp173Role instance.
public Scp173Role Scp173 { get; }
Property Value
TantrumHazard
Gets the Hazards.TantrumEnvironmentalHazard.
public TantrumEnvironmentalHazard TantrumHazard { get; }
Property Value
- TantrumEnvironmentalHazard