summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-09 00:18:39 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-09 00:18:39 +0300
commit9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790 (patch)
tree08ff80a9f93d87ae80c7126b4dff11698ef47457
parentec613c9f448fc3df9267464c287869e53544d563 (diff)
downloadmanaplus-9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790.tar.gz
manaplus-9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790.tar.bz2
manaplus-9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790.tar.xz
manaplus-9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790.zip
Add packet SMSG_CLAN_LEAVE 0x0989.
-rw-r--r--src/net/eathena/clanrecv.cpp5
-rw-r--r--src/net/eathena/clanrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/clanrecv.cpp b/src/net/eathena/clanrecv.cpp
index 00f863caf..57c89419c 100644
--- a/src/net/eathena/clanrecv.cpp
+++ b/src/net/eathena/clanrecv.cpp
@@ -56,4 +56,9 @@ void ClanRecv::processClanOnlineCount(Net::MessageIn &msg)
msg.readInt16("total members count");
}
+void ClanRecv::processClanLeave(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/clanrecv.h b/src/net/eathena/clanrecv.h
index d12f7f700..95c0dd0b5 100644
--- a/src/net/eathena/clanrecv.h
+++ b/src/net/eathena/clanrecv.h
@@ -32,6 +32,7 @@ namespace EAthena
{
void processClanInfo(Net::MessageIn &msg);
void processClanOnlineCount(Net::MessageIn &msg);
+ void processClanLeave(Net::MessageIn &msg);
} // namespace ClanRecv
} // namespace EAthena
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 000455bef..f2ffc2462 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -804,6 +804,7 @@ if (packetVersion >= 20131223)
packet(SMSG_BEING_VISIBLE, 0x09dd, -1, &BeingRecv::processBeingVisible, 20131223);
packet(SMSG_WHISPER_RESPONSE, 0x09df, 7, &ChatRecv::processWhisperResponse, 20131223);
packet(SMSG_SKILL_NO_DAMAGE, 0x09cb, 17, &Ea::BeingRecv::processSkillNoDamage, 20131223);
+ packet(SMSG_CLAN_LEAVE, 0x0989, 2, &ClanRecv::processClanLeave, 20131223);
}
// 20131230