summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 16:46:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 16:46:47 +0300
commitfbf357addfe7c7d367a3203be3ad78aba278bcf6 (patch)
tree0696ffc5360a791d47bd4ce5596e903223ffb775 /src/net/eathena/battlegroundhandler.cpp
parentf49ff6e34d8a1715b3f669ca45db2814f0ce25d5 (diff)
downloadmv-fbf357addfe7c7d367a3203be3ad78aba278bcf6.tar.gz
mv-fbf357addfe7c7d367a3203be3ad78aba278bcf6.tar.bz2
mv-fbf357addfe7c7d367a3203be3ad78aba278bcf6.tar.xz
mv-fbf357addfe7c7d367a3203be3ad78aba278bcf6.zip
eathena: add partial support for packet SMSG_BATTLE_NOTICE_DELETE 0x08db.
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r--src/net/eathena/battlegroundhandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp
index 9672ab94e..7024f33bc 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -43,6 +43,7 @@ BattleGroundHandler::BattleGroundHandler() :
SMSG_BATTLE_PLAY,
SMSG_BATTLE_QUEUE_ACK,
SMSG_BATTLE_BEGINS,
+ SMSG_BATTLE_NOTICE_DELETE,
0
};
handledMessages = _messages;
@@ -77,6 +78,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
processBattleBegins(msg);
break;
+ case SMSG_BATTLE_NOTICE_DELETE:
+ processBattleNoticeDelete(msg);
+ break;
+
default:
break;
}
@@ -127,4 +132,11 @@ void BattleGroundHandler::processBattleBegins(Net::MessageIn &msg)
msg.readString(24, "game name");
}
+void BattleGroundHandler::processBattleNoticeDelete(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("type");
+ msg.readString(24, "bg name");
+}
+
} // namespace EAthena