Class FpsInventoryInstantUseItem
Inheritance
FpsInventoryInstantUseItem
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()
Assembly: NeoFPS.dll
Syntax
public class FpsInventoryInstantUseItem : FpsInventoryItemBase, IInventoryItem, INeoSerializableComponent, IQuickSlotItem
Properties
displayImage
Declaration
public Sprite displayImage { get; }
Property Value
isDroppable
Declaration
public bool isDroppable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isSelectable
Declaration
public virtual bool isSelectable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isSelected
Declaration
public bool isSelected { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isUsable
Declaration
public virtual bool isUsable { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
itemIdentifier
Declaration
public override int itemIdentifier { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
maxQuantity
Declaration
public override int maxQuantity { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
quickSlot
Declaration
public int quickSlot { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
slots
Declaration
public IQuickSlots slots { get; }
Property Value
wieldable
Declaration
public IWieldable wieldable { get; }
Property Value
Methods
Awake()
Declaration
protected override void Awake()
Overrides
DropItem(Vector3, Vector3, Vector3)
Declaration
public virtual bool DropItem(Vector3 position, Vector3 forward, Vector3 velocity)
Parameters
| Type |
Name |
Description |
| Vector3 |
position |
|
| Vector3 |
forward |
|
| Vector3 |
velocity |
|
Returns
| Type |
Description |
| System.Boolean |
|
OnAddToInventory(IInventory, InventoryAddResult)
Declaration
public override void OnAddToInventory(IInventory i, InventoryAddResult addResult)
Parameters
Overrides
OnDeselect()
Declaration
public virtual Waitable OnDeselect()
Returns
OnDeselectInstant()
Declaration
public virtual void OnDeselectInstant()
OnRemoveFromInventory()
Declaration
public override void OnRemoveFromInventory()
Overrides
OnSelect()
Declaration
public virtual void OnSelect()
OnValidate()
Declaration
protected override void OnValidate()
Overrides
OnZeroQuantity()
Declaration
protected override void OnZeroQuantity()
Overrides
UseItem()
Declaration
public virtual void UseItem()
Implements