Loading...
Searching...
No Matches
AdventureSouls.SoulsUsableSlots Class Reference

Detailed Description

special item slot proxy that rebinds input to the current usable slot when the slots behind the proxy are rotated through

https://adventure.softleitner.com/manual/item

Inheritance diagram for AdventureSouls.SoulsUsableSlots:
AdventureCore.ItemSlotProxy AdventureCore.ItemSlotBase

Public Member Functions

void BindInput (InputAction inputAction)
 
void UnbindInput (InputAction inputAction)
 
override void NextSlot ()
 
override void PreviousSlot ()
 
- Public Member Functions inherited from AdventureCore.ItemSlotProxy
override void Initialize (CharacterBase character)
 
override void Equip (InventoryItem inventoryItem)
 
override void Clear ()
 
override void Show ()
 
override void Hide ()
 
override bool CanUse (int quantity=1)
 
override void Use (int quantity=1)
 
- Public Member Functions inherited from AdventureCore.ItemSlotBase
virtual void EquipPrevious (bool clear=true)
 
virtual void EquipNext (bool clear=true)
 
virtual bool CanEquip (InventoryItem inventoryItem)
 

Properties

SoulsUsableSlot CurrentUsableSlot [get]
 
- Properties inherited from AdventureCore.ItemSlotProxy
ItemSlotBase CurrentSlot [get]
 
override InventoryItem EquippedInventoryItem [get]
 
override bool IsInUse [get, set]
 
override Type ItemType [get]
 
- Properties inherited from AdventureCore.ItemSlotBase
virtual InventoryItem EquippedInventoryItem [get]
 
bool IsHidden [get]
 
virtual bool IsInUse [get, set]
 
Type ItemType [get]
 
CharacterBase Character [get]
 

Additional Inherited Members

- Public Attributes inherited from AdventureCore.ItemSlotProxy
ItemSlotBase[] Slots
 
- Public Attributes inherited from AdventureCore.ItemSlotBase
string Key
 
ItemSlotCategory Category
 
int Index
 
- Protected Member Functions inherited from AdventureCore.ItemSlotBase
virtual void onEquippedInventoryItemChanged ()
 
virtual void onIsInUseChanged ()
 
- Events inherited from AdventureCore.ItemSlotBase
Action< bool > IsInUseChanged
 
Action< InventoryItemEquippedInventoryItemChanged
 

Member Function Documentation

◆ NextSlot()

override void AdventureSouls.SoulsUsableSlots.NextSlot ( )
inlinevirtual

Reimplemented from AdventureCore.ItemSlotProxy.

◆ PreviousSlot()

override void AdventureSouls.SoulsUsableSlots.PreviousSlot ( )
inlinevirtual

Reimplemented from AdventureCore.ItemSlotProxy.