Class GainingExperienceEventArgs
Contains all information before SCP-127 gains experience.
public class GainingExperienceEventArgs : IScp127Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
GainingExperienceEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
GainingExperienceEventArgs(Scp127, float, bool)
Initializes a new instance of the GainingExperienceEventArgs class.
public GainingExperienceEventArgs(Scp127 scp127, float experience, bool isAllowed = true)
Parameters
Properties
Experience
Gets or sets the gaining experience.
public float Experience { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }
Property Value
Scp127
Gets the SCP-127 instance, related to this event.
public Scp127 Scp127 { get; }
Property Value
Tier
Gets or sets the new tier.
public Scp127Tier Tier { get; set; }
Property Value
- Scp127Tier