Class UpgradingEventArgs
Contains all information of a CustomItem before a Item gets upgraded.
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.CustomItems.API.EventArgs
Assembly: Exiled.CustomItems.dll
Syntax
public class UpgradingEventArgs : UpgradingPickupEventArgs, IPickupEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceUpgradingEventArgs(ItemPickupBase, Vector3, Scp914KnobSetting, Boolean)
Initializes a new instance of the UpgradingEventArgs class.
Declaration
public UpgradingEventArgs(ItemPickupBase item, Vector3 newPos, Scp914KnobSetting knobSetting, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Pickups.ItemPickupBase | item | |
UnityEngine.Vector3 | newPos | |
Scp914.Scp914KnobSetting | knobSetting | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceItem
Gets the upgrading Item as aCustomItem.
Declaration
public ItemPickupBase Item { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Pickups.ItemPickupBase |