Class GeneratorActivatingEventArgs
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
Scp079GeneratorisAllowed
bool
Properties
Generator
Gets the generator.
public Generator Generator { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the generator can be activated.
public bool IsAllowed { get; set; }