diff options
-rw-r--r-- | src/net/eathena/clanrecv.cpp | 7 | ||||
-rw-r--r-- | src/net/eathena/clanrecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/clanrecv.cpp b/src/net/eathena/clanrecv.cpp index c2751ea85..00f863caf 100644 --- a/src/net/eathena/clanrecv.cpp +++ b/src/net/eathena/clanrecv.cpp @@ -49,4 +49,11 @@ void ClanRecv::processClanInfo(Net::MessageIn &msg) } } +void ClanRecv::processClanOnlineCount(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + msg.readInt16("online members count"); + msg.readInt16("total members count"); +} + } // namespace EAthena diff --git a/src/net/eathena/clanrecv.h b/src/net/eathena/clanrecv.h index c90150959..d12f7f700 100644 --- a/src/net/eathena/clanrecv.h +++ b/src/net/eathena/clanrecv.h @@ -31,6 +31,7 @@ namespace EAthena namespace ClanRecv { void processClanInfo(Net::MessageIn &msg); + void processClanOnlineCount(Net::MessageIn &msg); } // namespace ClanRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 0c84deb7d..000455bef 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -736,6 +736,12 @@ if (packetVersion >= 20120702) packet(SMSG_CLAN_INFO, 0x098a, -1, &ClanRecv::processClanInfo, 20120702); } +// 20120716 +if (packetVersion >= 20120716) +{ + packet(SMSG_CLAN_ONLINE_COUNT, 0x0988, 6, &ClanRecv::processClanOnlineCount, 20120716); +} + // 20120925 if (packetVersion >= 20120925) { |