Table of Contents

Class UnlockingGeneratorEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before a generator is unlocked.

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

Constructors

UnlockingGeneratorEventArgs(Player, Scp079Generator, bool)

Initializes a new instance of the UnlockingGeneratorEventArgs class.

public UnlockingGeneratorEventArgs(Player player, Scp079Generator generator, bool isAllowed = true)

Parameters

player Player
generator Scp079Generator
isAllowed bool

Properties

Generator

Gets the generator that is going to be unlocked.

public Generator Generator { get; }

Property Value

Generator

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's unlocking the generator.

public Player Player { get; }

Property Value

Player