summaryrefslogtreecommitdiff
path: root/src/net/eathena/familyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 17:05:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 17:05:31 +0300
commit2b20ac0419cdeeebf47dd41c18811b683f06eb4a (patch)
treef9be20d6ca320c9ecb8835c469439a7cb3a7ee3f /src/net/eathena/familyhandler.cpp
parent97899e857e2ebe6bf038b8fdfed81fb489d0d0cb (diff)
downloadmv-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.gz
mv-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.bz2
mv-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.xz
mv-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.zip
Add empty familyhandler.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r--src/net/eathena/familyhandler.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp
new file mode 100644
index 000000000..76b31ba3d
--- /dev/null
+++ b/src/net/eathena/familyhandler.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/familyhandler.h"
+
+#include "logger.h"
+
+#include "net/ea/eaprotocol.h"
+
+#include "net/eathena/messageout.h"
+#include "net/eathena/protocol.h"
+
+#include "debug.h"
+
+extern Net::FamilyHandler *familyHandler;
+
+namespace EAthena
+{
+
+FamilyHandler::FamilyHandler() :
+ MessageHandler()
+{
+ static const uint16_t _messages[] =
+ {
+ 0
+ };
+ handledMessages = _messages;
+ familyHandler = this;
+}
+
+void FamilyHandler::handleMessage(Net::MessageIn &msg)
+{
+ switch (msg.getId())
+ {
+ default:
+ break;
+ }
+}
+
+} // namespace EAthena