summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r--src/net/eathena/battlegroundhandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp
index 9aa535c23..10555f85f 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -20,6 +20,8 @@
#include "net/eathena/battlegroundhandler.h"
+#include "logger.h"
+
#include "net/eathena/messageout.h"
#include "net/eathena/protocol.h"
@@ -35,6 +37,7 @@ BattleGroundHandler::BattleGroundHandler() :
{
static const uint16_t _messages[] =
{
+ SMSG_BATTLE_EMBLEM,
0
};
handledMessages = _messages;
@@ -45,9 +48,21 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
{
switch (msg.getId())
{
+ case SMSG_BATTLE_EMBLEM:
+ processBattleEmblem(msg);
+ break;
+
default:
break;
}
}
+void BattleGroundHandler::processBattleEmblem(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("account id");
+ msg.readString(24, "name");
+ msg.readInt16("camp");
+}
+
} // namespace EAthena