Class GeneratorActivatingEventArgs
Contains all information after activating a generator.
Inheritance
System.Object
GeneratorActivatingEventArgs
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 SourceGeneratorActivatingEventArgs(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 SourceGenerator
Gets the generator.
Declaration
public Generator Generator { get; }
Property Value
Type | Description |
---|---|
Generator |
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 |