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
|
|
void | BindInput (InputAction inputAction) |
| |
|
void | UnbindInput (InputAction inputAction) |
| |
| override void | NextSlot () |
| |
| override void | PreviousSlot () |
| |
| override void | Initialize (CharacterBase character) |
| |
| override void | Equip (InventoryItem inventoryItem) |
| | equips an inventory item(if another item is already equipped it is unequipped first)
|
| |
| override void | Clear () |
| | clears the slot of its currently equipped item
|
| |
| override void | Show () |
| | shows the slot if it was hidden before
|
| |
| override void | Hide () |
| | hides the slot
|
| |
| override bool | CanUse (int quantity=1) |
| | checks if the equipped item can be used
|
| |
| override void | Use (int quantity=1) |
| | uses the equipped item
|
| |
| virtual bool | CanEquipPrevious (bool clear=true) |
| | checks if the slot can switch its equipped item to the previous one in its characters inventory
|
| |
| virtual bool | EquipPrevious (bool clear=true) |
| | equips the previous item in its characters inventory
|
| |
| virtual bool | CanEquipNext (bool clear=true) |
| | checks if the slot can switch its equipped item to the next one in its characters inventory
|
| |
| virtual bool | EquipNext (bool clear=true) |
| | equips the next item in its characters inventory
|
| |
| virtual bool | CanEquip (InventoryItem inventoryItem, bool clear=true) |
| | checks if an inventory item can be equipped
|
| |
| virtual bool | CanClear () |
| | checks whether the slot can be cleared of its equipped items
|
| |
|
|
SoulsUsableSlot | CurrentUsableSlot [get] |
| |
|
ItemSlotBase | CurrentSlot [get] |
| |
|
override InventoryItem | EquippedInventoryItem [get] |
| |
|
override bool | IsInUse [get, set] |
| |
|
override Type | ItemType [get] |
| |
|
virtual InventoryItem | EquippedInventoryItem [get] |
| |
|
virtual bool | IsHidden [get] |
| |
|
virtual bool | IsInUse [get, set] |
| |
|
Type | ItemType [get] |
| |
|
virtual CharacterBase | Character [get] |
| |
|
|
ItemSlotBase[] | Slots |
| |
|
string | Key |
| |
|
ItemSlotCategory | Category |
| |
|
int | Index |
| |
|
virtual InventoryItem | getPrevious (bool clear=true) |
| |
|
virtual InventoryItem | getNext (bool clear=true) |
| |
|
virtual void | onEquippedInventoryItemChanged () |
| |
|
virtual void | onIsInUseChanged () |
| |
|
virtual void | onIsHiddenChanged () |
| |
|
virtual void | onUsingItem (int quantity) |
| |
|
Action< bool > | IsInUseChanged |
| |
|
Action< bool > | IsHiddenChanged |
| |
|
Action< InventoryItem > | EquippedInventoryItemChanged |
| |
|
Action< int > | UsingItem |
| |
◆ NextSlot()
| override void AdventureSouls.SoulsUsableSlots.NextSlot |
( |
| ) |
|
|
inlinevirtual |
◆ PreviousSlot()
| override void AdventureSouls.SoulsUsableSlots.PreviousSlot |
( |
| ) |
|
|
inlinevirtual |