summaryrefslogtreecommitdiff
path: root/src/net/tmwa/itemhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/itemhandler.cpp')
-rw-r--r--src/net/tmwa/itemhandler.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/net/tmwa/itemhandler.cpp b/src/net/tmwa/itemhandler.cpp
index 8bf6239d9..eb42aa2a3 100644
--- a/src/net/tmwa/itemhandler.cpp
+++ b/src/net/tmwa/itemhandler.cpp
@@ -33,40 +33,8 @@ namespace TmwAthena
{
ItemHandler::ItemHandler() :
- MessageHandler(),
Ea::ItemHandler()
{
- static const uint16_t _messages[] =
- {
- SMSG_ITEM_VISIBLE,
- SMSG_ITEM_DROPPED,
- SMSG_ITEM_REMOVE,
- 0
- };
- handledMessages = _messages;
-}
-
-void ItemHandler::handleMessage(Net::MessageIn &msg)
-{
- BLOCK_START("ItemHandler::handleMessage")
- switch (msg.getId())
- {
- case SMSG_ITEM_VISIBLE:
- ItemRecv::processItemVisible(msg);
- break;
-
- case SMSG_ITEM_DROPPED:
- ItemRecv::processItemDropped(msg);
- break;
-
- case SMSG_ITEM_REMOVE:
- Ea::ItemRecv::processItemRemove(msg);
- break;
-
- default:
- break;
- }
- BLOCK_END("ItemHandler::handleMessage")
}
} // namespace TmwAthena