Class PlacingTantrumEventArgs
Contains all information before the tantrum is placed.
Inheritance
System.Object
PlacingTantrumEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp173
Assembly: Exiled.Events.dll
Syntax
public class PlacingTantrumEventArgs : IScp173Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourcePlacingTantrumEventArgs(Player, TantrumEnvironmentalHazard, AbilityCooldown, Boolean)
Initializes a new instance of the PlacingTantrumEventArgs class.
Declaration
public PlacingTantrumEventArgs(Player player, TantrumEnvironmentalHazard tantrumHazard, AbilityCooldown cooldown, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Hazards.TantrumEnvironmentalHazard | tantrumHazard | |
AbilityCooldown | cooldown | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceCooldown
Gets the tantrum
Declaration
public AbilityCooldown Cooldown { get; }
Property Value
Type | Description |
---|---|
AbilityCooldown |
IsAllowed
Gets or sets a value indicating whether or not the tantrum can be placed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's placing the tantrum.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp173
Gets the player's Scp173Role instance.
Declaration
public Scp173Role Scp173 { get; }
Property Value
Type | Description |
---|---|
Scp173Role |
TantrumHazard
Gets the Hazards.TantrumEnvironmentalHazard.
Declaration
public TantrumEnvironmentalHazard TantrumHazard { get; }
Property Value
Type | Description |
---|---|
Hazards.TantrumEnvironmentalHazard |