Table of Contents

Class UpgradingPlayerEventArgs

Namespace
Exiled.Events.EventArgs.Scp914
Assembly
Exiled.Events.dll

Contains all information before SCP-914 upgrades a player.

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

Constructors

UpgradingPlayerEventArgs(Player, bool, bool, Scp914KnobSetting, Vector3)

Initializes a new instance of the UpgradingPlayerEventArgs class.

public UpgradingPlayerEventArgs(Player player, bool upgradeItems, bool heldOnly, Scp914KnobSetting setting, Vector3 outputPos)

Parameters

player Player

The Player being upgraded.

upgradeItems bool
heldOnly bool
setting Scp914KnobSetting

The Scp914.Scp914KnobSetting being used.

outputPos Vector3

Properties

HeldOnly

Gets or sets a value indicating whether only held items are upgraded.

public bool HeldOnly { get; set; }

Property Value

bool

IsAllowed

Gets or sets a value indicating whether the event can continue.

public bool IsAllowed { get; set; }

Property Value

bool

KnobSetting

Gets or sets the Scp914.Scp914KnobSetting being used.

public Scp914KnobSetting KnobSetting { get; set; }

Property Value

Scp914KnobSetting

OutputPosition

Gets or sets the location the player will be teleported to.

public Vector3 OutputPosition { get; set; }

Property Value

Vector3

Player

Gets the player that is being upgraded.

public Player Player { get; }

Property Value

Player

UpgradeItems

Gets or sets a value indicating whether items will be upgraded.

public bool UpgradeItems { get; set; }

Property Value

bool