Interface IQuickSlots
Assembly: NeoFPS.dll
Syntax
public interface IQuickSlots
Properties
backupSlot
Declaration
IQuickSlotItem backupSlot { get; }
Property Value
isBackupItemSelected
Declaration
bool isBackupItemSelected { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isLocked
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
numSlots
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
selected
Declaration
IQuickSlotItem selected { get; }
Property Value
Methods
AutoSwitchSlot(Int32)
Declaration
void AutoSwitchSlot(int slot)
Parameters
| Type |
Name |
Description |
| System.Int32 |
slot |
|
ClearSlots()
Declaration
DropAllWieldables()
Declaration
DropItem(IQuickSlotItem)
Declaration
void DropItem(IQuickSlotItem item)
Parameters
DropSelected()
Declaration
GetSlotItem(Int32)
Declaration
IQuickSlotItem GetSlotItem(int slot)
Parameters
| Type |
Name |
Description |
| System.Int32 |
slot |
|
Returns
IsSlotSelectable(Int32)
Declaration
bool IsSlotSelectable(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Boolean |
|
LockSelectionToBackupItem(Object, Boolean)
Declaration
bool LockSelectionToBackupItem(Object o, bool silent)
Parameters
| Type |
Name |
Description |
| Object |
o |
|
| System.Boolean |
silent |
|
Returns
| Type |
Description |
| System.Boolean |
|
LockSelectionToNothing(Object, Boolean)
Declaration
bool LockSelectionToNothing(Object o, bool silent)
Parameters
| Type |
Name |
Description |
| Object |
o |
|
| System.Boolean |
silent |
|
Returns
| Type |
Description |
| System.Boolean |
|
LockSelectionToSlot(Int32, Object)
Declaration
bool LockSelectionToSlot(int index, Object o)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Object |
o |
|
Returns
| Type |
Description |
| System.Boolean |
|
SelectBackupItem(Boolean, Boolean)
Declaration
bool SelectBackupItem(bool toggle, bool silent)
Parameters
| Type |
Name |
Description |
| System.Boolean |
toggle |
|
| System.Boolean |
silent |
|
Returns
| Type |
Description |
| System.Boolean |
|
SelectNextSlot()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
SelectPreviousSlot()
Declaration
bool SelectPreviousSlot()
Returns
| Type |
Description |
| System.Boolean |
|
SelectSlot(Int32)
Declaration
bool SelectSlot(int slot)
Parameters
| Type |
Name |
Description |
| System.Int32 |
slot |
|
Returns
| Type |
Description |
| System.Boolean |
|
SelectStartingSlot()
Declaration
bool SelectStartingSlot()
Returns
| Type |
Description |
| System.Boolean |
|
SetSlotItem(Int32, IQuickSlotItem)
Declaration
void SetSlotItem(int slot, IQuickSlotItem item)
Parameters
SwitchSelection()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
UnlockSelection(Object)
Declaration
void UnlockSelection(Object o)
Parameters
| Type |
Name |
Description |
| Object |
o |
|
Events
onItemDropped
Declaration
event UnityAction<IQuickSlotItem> onItemDropped
Event Type
onSelectionChanged
Declaration
event UnityAction<int, IQuickSlotItem> onSelectionChanged
Event Type
onSlotItemChanged
Declaration
event UnityAction<int, IQuickSlotItem> onSlotItemChanged
Event Type