Class UpgradingPickupEventArgs
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 UpgradingPickupEventArgs : IPickupEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceUpgradingPickupEventArgs(ItemPickupBase, Vector3, Scp914KnobSetting)
Initializes a new instance of the UpgradingPickupEventArgs class.
Declaration
public UpgradingPickupEventArgs(ItemPickupBase item, Vector3 newPos, Scp914KnobSetting knobSetting)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.Pickups.ItemPickupBase | item | |
UnityEngine.Vector3 | newPos | |
Scp914.Scp914KnobSetting | knobSetting |
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 |
KnobSetting
Gets or sets SCP-914 working knob setting.
Declaration
public Scp914KnobSetting KnobSetting { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914KnobSetting |
OutputPosition
Gets or sets the position the item will be output to.
Declaration
public Vector3 OutputPosition { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Pickup
Gets a list of items to be upgraded inside SCP-914.
Declaration
public Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Pickup |
Scp914
Gets the Scp914.Scp914Controller instance.
Declaration
[Obsolete("Use Scp914::Scp914Controller instead.")]
public Scp914Controller Scp914 { get; }
Property Value
Type | Description |
---|---|
Scp914.Scp914Controller |