Search Results for

    Show / Hide Table of Contents

    Class PlacingTantrumEventArgs

    Contains all information before the tantrum is placed.

    Inheritance
    System.Object
    PlacingTantrumEventArgs
    Implements
    IScp173Event
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    PlacingTantrumEventArgs(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 Source

    Cooldown

    Gets the tantrum .

    Declaration
    public AbilityCooldown Cooldown { get; }
    Property Value
    Type Description
    AbilityCooldown
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Player

    Gets the player who's placing the tantrum.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Scp173

    Gets the player's Scp173Role instance.

    Declaration
    public Scp173Role Scp173 { get; }
    Property Value
    Type Description
    Scp173Role
    | Improve this Doc View Source

    TantrumHazard

    Gets the Hazards.TantrumEnvironmentalHazard.

    Declaration
    public TantrumEnvironmentalHazard TantrumHazard { get; }
    Property Value
    Type Description
    Hazards.TantrumEnvironmentalHazard

    Implements

    IScp173Event
    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX