From 9ea7e62fdb31a44c1b46c89b66f1f6e4b9a71790 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Feb 2018 00:18:39 +0300 Subject: Add packet SMSG_CLAN_LEAVE 0x0989. --- src/net/eathena/clanrecv.cpp | 5 +++++ src/net/eathena/clanrecv.h | 1 + src/net/eathena/packetsin.inc | 1 + 3 files changed, 7 insertions(+) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-60-g2f50