Search Results for

    Show / Hide Table of Contents

    Class GeneratorActivatingEventArgs

    Contains all information after activating a generator.

    Inheritance
    System.Object
    GeneratorActivatingEventArgs
    Implements
    IGeneratorEvent
    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.Map
    Assembly: Exiled.Events.dll
    Syntax
    public class GeneratorActivatingEventArgs : IGeneratorEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    GeneratorActivatingEventArgs(Scp079Generator, Boolean)

    Initializes a new instance of the GeneratorActivatingEventArgs class.

    Declaration
    public GeneratorActivatingEventArgs(Scp079Generator generator, bool isAllowed = true)
    Parameters
    Type Name Description
    MapGeneration.Distributors.Scp079Generator generator
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    Generator

    Gets the generator.

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

    IsAllowed

    Gets or sets a value indicating whether the generator can be activated or not.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    IGeneratorEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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