Table of Contents

Class GainingLevelEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

Contains all information before SCP-079 gains a level.

public class GainingLevelEventArgs : IScp079Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
GainingLevelEventArgs
Implements
Inherited Members
Extension Methods

Constructors

GainingLevelEventArgs(Player, int, bool)

Initializes a new instance of the GainingLevelEventArgs class.

public GainingLevelEventArgs(Player player, int newLevel, bool isAllowed = true)

Parameters

player Player
newLevel int
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the level is successfully granted.

public bool IsAllowed { get; set; }

Property Value

bool

NewLevel

Gets or sets SCP-079's new level.

public int NewLevel { get; set; }

Property Value

int

Player

Gets the player who's controlling SCP-079.

public Player Player { get; }

Property Value

Player

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role