ManaPlus
|
#include <equipbackend.h>
Public Member Functions | |
EquipBackend () | |
Item * | getEquipment (const int index) const |
void | clear () |
void | setEquipment (const int index, const int inventoryIndex) |
Public Member Functions inherited from Equipment::Backend | |
Backend () | |
virtual | ~Backend () |
Private Attributes | |
int | mEquipment [EQUIPMENT_SIZE] |
Definition at line 38 of file equipbackend.h.
|
inline |
|
inlinevirtual |
Implements Equipment::Backend.
Definition at line 60 of file equipbackend.h.
References EQUIPMENT_SIZE, Equipped_false, PlayerInfo::getInventory(), Inventory::getItem(), mEquipment, and Item::setEquipped().
Referenced by Ea::InventoryHandler::InventoryHandler(), EAthena::InventoryRecv::processInventoryEndContinue(), EAthena::InventoryRecv::processPlayerEquipment(), TmwAthena::InventoryRecv::processPlayerEquipment(), EAthena::InventoryRecv::processPlayerInventory(), TmwAthena::InventoryRecv::processPlayerInventory(), EAthena::InventoryRecv::processPlayerInventoryAdd(), and TmwAthena::InventoryRecv::processPlayerInventoryAdd().
|
inlinevirtual |
Implements Equipment::Backend.
Definition at line 48 of file equipbackend.h.
References PlayerInfo::getInventory(), Inventory::getItem(), and mEquipment.
|
inline |
Definition at line 78 of file equipbackend.h.
References EQUIPMENT_SIZE, Equipped_false, Equipped_true, PlayerInfo::getInventory(), Inventory::getItem(), inventoryWindow, mEquipment, Item::setEquipped(), and InventoryWindow::updateButtons().
Referenced by EAthena::InventoryRecv::processInventoryEndContinue(), Ea::InventoryRecv::processPlayerArrowEquip(), EAthena::InventoryRecv::processPlayerEquip(), TmwAthena::InventoryRecv::processPlayerEquip(), EAthena::InventoryRecv::processPlayerEquipment(), TmwAthena::InventoryRecv::processPlayerEquipment(), EAthena::InventoryRecv::processPlayerUnEquip(), and TmwAthena::InventoryRecv::processPlayerUnEquip().
|
private |
Definition at line 105 of file equipbackend.h.
Referenced by clear(), EquipBackend(), getEquipment(), and setEquipment().