Class GainingLevelEventArgs
Contains all information before SCP-079 gains a level.
Inheritance
System.Object
GainingLevelEventArgs
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.Scp079
Assembly: Exiled.Events.dll
Syntax
public class GainingLevelEventArgs : IScp079Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceGainingLevelEventArgs(Player, Int32, Boolean)
Initializes a new instance of the GainingLevelEventArgs class.
Declaration
public GainingLevelEventArgs(Player player, int newLevel, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Int32 | newLevel | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the level is successfully granted.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NewLevel
Gets or sets SCP-079's new level.
Declaration
public int NewLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Player
Gets the player who's controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |