Table of Contents

Class PlacingTantrumEventArgs

Namespace
Exiled.Events.EventArgs.Scp173
Assembly
Exiled.Events.dll

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

player Player
tantrumHazard TantrumEnvironmentalHazard
cooldown AbilityCooldown
isAllowed bool

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

bool

Player

Gets the player who's placing the tantrum.

public Player Player { get; }

Property Value

Player

Scp173

Gets the player's Scp173Role instance.

public Scp173Role Scp173 { get; }

Property Value

Scp173Role

TantrumHazard

Gets the Hazards.TantrumEnvironmentalHazard.

public TantrumEnvironmentalHazard TantrumHazard { get; }

Property Value

TantrumEnvironmentalHazard