Mana
|
#include <inventoryhandler.h>
Public Types | |
enum | { GUILD_STORAGE = Inventory::TYPE_END , CART } |
Public Member Functions | |
InventoryHandler () | |
~InventoryHandler () override | |
void | handleMessage (MessageIn &msg) override |
void | event (Event::Channel channel, const Event &event) override |
size_t | getSize (int type) const override |
bool | isWeaponSlot (unsigned int slotTypeId) const override |
bool | isAmmoSlot (unsigned int slotTypeId) const override |
Equipment::Backend * | getEquipmentBackend () override |
![]() | |
MessageHandler () | |
~MessageHandler () override | |
void | setNetwork (Network *network) |
![]() | |
virtual unsigned int | getVisibleSlotsNumber () const |
virtual Position | getBoxPosition (unsigned int slotIndex) const |
virtual const std::string & | getBoxIcon (unsigned int slotIndex) const |
![]() | |
virtual | ~EventListener () |
void | listen (Event::Channel channel) |
void | ignore (Event::Channel channel) |
Private Attributes | |
EquipBackend | mEquips |
std::vector< InventoryItem > | mInventoryItems |
Inventory * | mStorage = nullptr |
InventoryWindow * | mStorageWindow = nullptr |
Additional Inherited Members | |
![]() | |
const uint16_t * | handledMessages = _no_messages |
![]() | |
Network * | mNetwork |
Definition at line 152 of file inventoryhandler.h.
anonymous enum |
Enumerator | |
---|---|
GUILD_STORAGE | |
CART |
Definition at line 156 of file inventoryhandler.h.
TmwAthena::InventoryHandler::InventoryHandler | ( | ) |
Definition at line 81 of file inventoryhandler.cpp.
|
overridevirtual |
Reimplemented from Net::InventoryHandler.
Definition at line 108 of file inventoryhandler.cpp.
|
overridevirtual |
Implements EventListener.
Definition at line 443 of file inventoryhandler.cpp.
|
inlineoverridevirtual |
Implements Net::InventoryHandler.
Definition at line 183 of file inventoryhandler.h.
|
overridevirtual |
Implements Net::InventoryHandler.
Definition at line 524 of file inventoryhandler.cpp.
|
overridevirtual |
Implements TmwAthena::MessageHandler.
Definition at line 119 of file inventoryhandler.cpp.
|
inlineoverridevirtual |
Implements Net::InventoryHandler.
Definition at line 178 of file inventoryhandler.h.
|
inlineoverridevirtual |
Implements Net::InventoryHandler.
Definition at line 172 of file inventoryhandler.h.
|
private |
Definition at line 189 of file inventoryhandler.h.
|
private |
Definition at line 190 of file inventoryhandler.h.
|
private |
Definition at line 191 of file inventoryhandler.h.
|
private |
Definition at line 192 of file inventoryhandler.h.