Table of Contents

Class UpgradingInventoryItemEventArgs

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

Contains all information before SCP-914 upgrades an item.

public class UpgradingInventoryItemEventArgs : IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
UpgradingInventoryItemEventArgs
Implements
Derived
Inherited Members
Extension Methods

Constructors

UpgradingInventoryItemEventArgs(Player, ItemBase, Scp914KnobSetting, bool)

Initializes a new instance of the UpgradingInventoryItemEventArgs class.

public UpgradingInventoryItemEventArgs(Player player, ItemBase item, Scp914KnobSetting knobSetting, bool isAllowed = true)

Parameters

player Player
item ItemBase

knobSetting Scp914KnobSetting
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the upgrade is successful.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets a list of items to be upgraded inside SCP-914.

public Item Item { get; }

Property Value

Item

KnobSetting

Gets or sets SCP-914 working knob setting.

public Scp914KnobSetting KnobSetting { get; set; }

Property Value

Scp914KnobSetting

Player

Gets the Player who owns the item to be upgraded.

public Player Player { get; }

Property Value

Player