Class UpgradingInventoryItemEventArgs
Contains all information before SCP-914 upgrades an item.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp914
Assembly: Exiled.Events.dll
Syntax
public class UpgradingInventoryItemEventArgs : IPlayerEvent, IItemEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceUpgradingInventoryItemEventArgs(Player, ItemBase, Scp914KnobSetting, Boolean)
Initializes a new instance of the UpgradingInventoryItemEventArgs class.
Declaration
public UpgradingInventoryItemEventArgs(Player player, ItemBase item, Scp914KnobSetting knobSetting, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InventorySystem.Items.ItemBase | item | |
Scp914.Scp914KnobSetting | knobSetting | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the upgrade is successful.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item
Gets a list of items to be upgraded inside SCP-914.
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
KnobSetting
Gets or sets SCP-914 working knob setting.
Declaration
public Scp914KnobSetting KnobSetting { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914KnobSetting |
Player
Gets the Player who owns the item to be upgraded.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp914
Gets the Scp914.Scp914Controller instance.
Declaration
[Obsolete("Use Scp914::Scp914Controller instead.")]
public Scp914Controller Scp914 { get; }
Property Value
Type | Description |
---|---|
Scp914.Scp914Controller |