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

Detailed Description

instantiates the action/visual of the item equipped to it and binds input to its activation

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

Inheritance diagram for AdventureSouls.SoulsUsableSlot:
AdventureCore.ItemSlot< SoulsUsableItem >

Public Member Functions

override void Initialize (CharacterBase character)
 
void BindInput (InputAction inputAction)
 
void UnbindInput (InputAction inputAction)
 
void UseImmediately ()
 
void UseImmediately (InventoryItem item)
 
- Public Member Functions inherited from AdventureCore.ItemSlot< SoulsUsableItem >
override void Initialize (CharacterBase character)
 
override bool CanEquip (InventoryItem inventoryItem, bool clear=true)
 checks if an inventory item can be equipped
 
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
 

Public Attributes

Transform Target
 
- Public Attributes inherited from AdventureCore.ItemSlot< SoulsUsableItem >
FallbackItem
 

Protected Member Functions

override bool canEquip (SoulsUsableItem item)
 
override void equip (SoulsUsableItem item)
 
override void unequip (SoulsUsableItem item)
 
override void applyVisibility ()
 
- Protected Member Functions inherited from AdventureCore.ItemSlot< SoulsUsableItem >
override void onIsHiddenChanged ()
 
virtual bool canEquip (T item)
 
virtual void equip (T item)
 
virtual void unequip (T item)
 

Properties

CharacterActionBase EquippedAction [get]
 
- Properties inherited from AdventureCore.ItemSlot< SoulsUsableItem >
EquippedItem [get]
 
override Type ItemType [get]
 

Member Function Documentation

◆ applyVisibility()

override void AdventureSouls.SoulsUsableSlot.applyVisibility ( )
inlineprotectedvirtual