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

Detailed Description

instantiates the SoulsWeapon and binds inputs to the appropriate actions

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

Inheritance diagram for AdventureSouls.SoulsWeaponSlot:
AdventureCore.ItemSlot< SoulsWeaponItem >

Public Member Functions

override void Initialize (CharacterBase character)
 
void BindInput (InputAction lightInput, InputAction heavyInput)
 
void UnbindInput (InputAction lightInput, InputAction heavyInput)
 
void ToggleTwoHand ()
 
- Public Member Functions inherited from AdventureCore.ItemSlot< SoulsWeaponItem >
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

SoulsWeaponSlot Opposite
 
Transform Target
 
bool IsLeft
 
int LayerOffset
 
- Public Attributes inherited from AdventureCore.ItemSlot< SoulsWeaponItem >
FallbackItem
 

Protected Member Functions

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

Properties

SoulsWeapon Weapon [get]
 
CharacterActionBindings LightBindings [get]
 
CharacterActionBindings HeavyBindings [get]
 
bool IsTwoHanded [get]
 
- Properties inherited from AdventureCore.ItemSlot< SoulsWeaponItem >
EquippedItem [get]
 
override Type ItemType [get]
 

Member Function Documentation

◆ applyVisibility()

override void AdventureSouls.SoulsWeaponSlot.applyVisibility ( )
inlineprotectedvirtual