Loading...
Searching...
No Matches
AdventureCore.ItemSlotProxy Class Reference

Detailed Description

special slot that redirects to one of a number of other slots
the actual slot currently being used can be rotated through using NextSlot and PreviousSlot

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

Inheritance diagram for AdventureCore.ItemSlotProxy:
AdventureCore.ItemSlotBase AdventureSouls.SoulsUsableSlots

Public Member Functions

override void Initialize (CharacterBase character)
 
override void Equip (InventoryItem inventoryItem)
 
override void Clear ()
 
override void Show ()
 
override void Hide ()
 
override bool CanUse (int quantity=1)
 
override void Use (int quantity=1)
 
virtual void NextSlot ()
 
virtual void PreviousSlot ()
 
- Public Member Functions inherited from AdventureCore.ItemSlotBase
virtual void EquipPrevious (bool clear=true)
 
virtual void EquipNext (bool clear=true)
 
virtual bool CanEquip (InventoryItem inventoryItem)
 

Public Attributes

ItemSlotBase[] Slots
 
- Public Attributes inherited from AdventureCore.ItemSlotBase
string Key
 
ItemSlotCategory Category
 
int Index
 

Properties

ItemSlotBase CurrentSlot [get]
 
override InventoryItem EquippedInventoryItem [get]
 
override bool IsInUse [get, set]
 
override Type ItemType [get]
 
- Properties inherited from AdventureCore.ItemSlotBase
virtual InventoryItem EquippedInventoryItem [get]
 
bool IsHidden [get]
 
virtual bool IsInUse [get, set]
 
Type ItemType [get]
 
CharacterBase Character [get]
 

Additional Inherited Members

- Protected Member Functions inherited from AdventureCore.ItemSlotBase
virtual void onEquippedInventoryItemChanged ()
 
virtual void onIsInUseChanged ()
 
- Events inherited from AdventureCore.ItemSlotBase
Action< bool > IsInUseChanged
 
Action< InventoryItemEquippedInventoryItemChanged
 

Member Function Documentation

◆ CanUse()

override bool AdventureCore.ItemSlotProxy.CanUse ( int quantity = 1)
virtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Clear()

override void AdventureCore.ItemSlotProxy.Clear ( )
virtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Equip()

override void AdventureCore.ItemSlotProxy.Equip ( InventoryItem inventoryItem)
virtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Hide()

override void AdventureCore.ItemSlotProxy.Hide ( )
virtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Initialize()

override void AdventureCore.ItemSlotProxy.Initialize ( CharacterBase character)
inlinevirtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Show()

override void AdventureCore.ItemSlotProxy.Show ( )
virtual

Reimplemented from AdventureCore.ItemSlotBase.

◆ Use()

override void AdventureCore.ItemSlotProxy.Use ( int quantity = 1)
virtual

Reimplemented from AdventureCore.ItemSlotBase.