Class UpgradingInventoryItemEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the upgrade is successful.
public bool IsAllowed { get; set; }
Property Value
Item
Gets a list of items to be upgraded inside SCP-914.
public Item Item { get; }
Property Value
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; }