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

Detailed Description

slot for SoulsArmorItem, instantiates the armor mesh on the character and applies its bonuses

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

Inheritance diagram for AdventureSouls.SoulsArmorSlot:
AdventureCore.ItemSlot< SoulsArmorItem >

Public Member Functions

SkinnedMeshRenderer InstantiateArmor (SoulsArmorItem item, SkinnedMeshRenderer template, Transform parent)
 
- Public Member Functions inherited from AdventureCore.ItemSlot< SoulsArmorItem >
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

SkinnedMeshRenderer Template
 
- Public Attributes inherited from AdventureCore.ItemSlot< SoulsArmorItem >
FallbackItem
 

Protected Member Functions

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

Additional Inherited Members

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

Member Function Documentation

◆ applyVisibility()

override void AdventureSouls.SoulsArmorSlot.applyVisibility ( )
inlineprotectedvirtual