Table of Contents

Class GainingExperienceEventArgs

Namespace
Exiled.Events.EventArgs.Scp127
Assembly
Exiled.Events.dll

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

scp127 Scp127
experience float
isAllowed bool

Properties

Experience

Gets or sets the gaining experience.

public float Experience { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

Scp127

Gets the SCP-127 instance, related to this event.

public Scp127 Scp127 { get; }

Property Value

Scp127

Tier

Gets or sets the new tier.

public Scp127Tier Tier { get; set; }

Property Value

Scp127Tier