Class GainingLevelEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the level is successfully granted.
public bool IsAllowed { get; set; }
Property Value
NewLevel
Gets or sets SCP-079's new level.
public int NewLevel { get; set; }
Property Value
Player
Gets the player who's controlling SCP-079.
public Player Player { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }