Table of Contents

Class GeneratorActivatingEventArgs

Namespace
Exiled.Events.EventArgs.Map
Assembly
Exiled.Events.dll

Contains all information after activating a generator.

public class GeneratorActivatingEventArgs : IGeneratorEvent, IDeniableEvent, IExiledEvent
Inheritance
GeneratorActivatingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

GeneratorActivatingEventArgs(Scp079Generator, bool)

Initializes a new instance of the GeneratorActivatingEventArgs class.

public GeneratorActivatingEventArgs(Scp079Generator generator, bool isAllowed = true)

Parameters

generator Scp079Generator
isAllowed bool

Properties

Generator

Gets the generator.

public Generator Generator { get; }

Property Value

Generator

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool