summaryrefslogtreecommitdiff
path: root/src/net/eathena/battleground.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-23 18:13:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-23 18:13:34 +0300
commit919097c1635b11a925c452037dbfc901b56ed94a (patch)
treeb32b3575577e6b00c466a5f708da57c03d6dc8d8 /src/net/eathena/battleground.h
parent5beba12b38c13c222322af111e17ed1aada62daf (diff)
downloadplus-919097c1635b11a925c452037dbfc901b56ed94a.tar.gz
plus-919097c1635b11a925c452037dbfc901b56ed94a.tar.bz2
plus-919097c1635b11a925c452037dbfc901b56ed94a.tar.xz
plus-919097c1635b11a925c452037dbfc901b56ed94a.zip
Move receive code from battlegroundhandler into separate file.
Diffstat (limited to 'src/net/eathena/battleground.h')
-rw-r--r--src/net/eathena/battleground.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/net/eathena/battleground.h b/src/net/eathena/battleground.h
new file mode 100644
index 000000000..1653abe0a
--- /dev/null
+++ b/src/net/eathena/battleground.h
@@ -0,0 +1,44 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2015 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/>.
+ */
+
+#ifndef NET_EATHENA_BATTLEGROUND_H
+#define NET_EATHENA_BATTLEGROUND_H
+
+#ifdef EATHENA_SUPPORT
+
+#include "net/eathena/messagehandler.h"
+
+namespace EAthena
+{
+ namespace BattleGround
+ {
+ void processBattleEmblem(Net::MessageIn &msg);
+ void processBattleUpdateScore(Net::MessageIn &msg);
+ void processBattleUpdateCoords(Net::MessageIn &msg);
+ void processBattlePlay(Net::MessageIn &msg);
+ void processBattleQueueAck(Net::MessageIn &msg);
+ void processBattleBegins(Net::MessageIn &msg);
+ void processBattleNoticeDelete(Net::MessageIn &msg);
+ void processBattleJoined(Net::MessageIn &msg);
+ } // namespace BattleGround
+} // namespace EAthena
+
+#endif // EATHENA_SUPPORT
+#endif // NET_EATHENA_BATTLEGROUND_H