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

Detailed Description

the weapon item carries the SoulsWeapons prefab which actually holds all the action and damage information

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

Inheritance diagram for AdventureSouls.SoulsWeaponItem:
AdventureCore.ItemBase

Public Member Functions

override bool CanEquip (CharacterBase character)
 
- Public Member Functions inherited from AdventureCore.ItemBase
virtual bool CanAdd (InventoryBase inventory, int quantity=1)
 
virtual bool OnAdd (InventoryBase inventory, int quantity, out InventoryItem inventoryItem)
 
virtual bool CanUse (CharacterBase character, int quantity=1)
 
virtual bool OnUse (CharacterBase character, int quantity=1)
 
virtual void OnEquip (CharacterBase character)
 
virtual void OnUnequip (CharacterBase character)
 
void Add (CharacterBase character)
 
void Remove (CharacterBase character)
 
void Add (CharacterActionBase action)
 
void Remove (CharacterActionBase action)
 
override string ToString ()
 

Public Attributes

SoulsWeapon Prefab
 
AttributeValue[] Requirements
 
- Public Attributes inherited from AdventureCore.ItemBase
string Key
 
string Name
 
string Description
 
Sprite Image
 
GameObject Visual
 
ItemCategory Category
 
ItemSlotCategory Slot
 

Properties

override bool IsEquippable [get]
 
- Properties inherited from AdventureCore.ItemBase
virtual bool IsStackable [get]
 
virtual bool IsEquippable [get]
 
virtual bool IsUsable [get]
 

Member Function Documentation

◆ CanEquip()

override bool AdventureSouls.SoulsWeaponItem.CanEquip ( CharacterBase character)
virtual

Reimplemented from AdventureCore.ItemBase.