summaryrefslogtreecommitdiff
path: root/src/net/eathena/homunculushandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-24 13:26:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-24 13:26:48 +0300
commit054e16e52d633d144b6c11b78e989bb721c59cb2 (patch)
tree703b38d98760273b4b61ca8a951b99c8d82d1484 /src/net/eathena/homunculushandler.cpp
parent0d588890a6cd3cc9034614504ae6f18b6c5f0682 (diff)
downloadmv-054e16e52d633d144b6c11b78e989bb721c59cb2.tar.gz
mv-054e16e52d633d144b6c11b78e989bb721c59cb2.tar.bz2
mv-054e16e52d633d144b6c11b78e989bb721c59cb2.tar.xz
mv-054e16e52d633d144b6c11b78e989bb721c59cb2.zip
Add empty HomunculusHandler.
Diffstat (limited to 'src/net/eathena/homunculushandler.cpp')
-rw-r--r--src/net/eathena/homunculushandler.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/net/eathena/homunculushandler.cpp b/src/net/eathena/homunculushandler.cpp
new file mode 100644
index 000000000..c00025daa
--- /dev/null
+++ b/src/net/eathena/homunculushandler.cpp
@@ -0,0 +1,57 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "net/eathena/homunculushandler.h"
+
+#include "logger.h"
+
+#include "net/ea/eaprotocol.h"
+
+#include "net/eathena/messageout.h"
+#include "net/eathena/protocol.h"
+
+#include "debug.h"
+
+extern Net::HomunculusHandler *homunculusHandler;
+
+namespace EAthena
+{
+
+HomunculusHandler::HomunculusHandler() :
+ MessageHandler()
+{
+ static const uint16_t _messages[] =
+ {
+ 0
+ };
+ handledMessages = _messages;
+ homunculusHandler = this;
+}
+
+void HomunculusHandler::handleMessage(Net::MessageIn &msg)
+{
+ switch (msg.getId())
+ {
+ default:
+ break;
+ }
+}
+
+} // namespace EAthena