Class UnlockingGeneratorEventArgs
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
Properties
Generator
Gets the generator that is going to be unlocked.
public Generator Generator { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the generator can be unlocked.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's unlocking the generator.
public Player Player { get; }