summaryrefslogtreecommitdiff
path: root/src/net/tmwa/specialhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-31 16:08:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-31 16:08:01 +0300
commit4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4 (patch)
treed46e066dda1338402e8ca3a1adc602ec3cb2c28a /src/net/tmwa/specialhandler.h
parent935d70ec604feaac02deb7cc23352706ad6a2f03 (diff)
downloadmanaplus-4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4.tar.gz
manaplus-4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4.tar.bz2
manaplus-4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4.tar.xz
manaplus-4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4.zip
Extract shared logic from specialhandler netcode to ea namespace.
Diffstat (limited to 'src/net/tmwa/specialhandler.h')
-rw-r--r--src/net/tmwa/specialhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/specialhandler.h b/src/net/tmwa/specialhandler.h
index 6f1e53aa0..21c1b9026 100644
--- a/src/net/tmwa/specialhandler.h
+++ b/src/net/tmwa/specialhandler.h
@@ -26,6 +26,8 @@
#include "net/net.h"
#include "net/specialhandler.h"
+#include "net/ea/specialhandler.h"
+
#include "net/tmwa/messagehandler.h"
#ifdef __GNUC__
@@ -37,15 +39,13 @@
namespace TmwAthena
{
-class SpecialHandler : public MessageHandler, public Net::SpecialHandler
+class SpecialHandler : public MessageHandler, public Ea::SpecialHandler
{
public:
SpecialHandler();
void handleMessage(Net::MessageIn &msg);
- void use(int id);
-
void use(int id, int level, int beingId);
void use(int id, int level, int x, int y);