summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-09 00:10:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-09 00:10:25 +0300
commitec613c9f448fc3df9267464c287869e53544d563 (patch)
treeaf87c0d767fd7fdc3a246db811dd558496c3e1fe
parente01af2f01eb2e17d259d685734cfc4277bb076f7 (diff)
downloadmv-ec613c9f448fc3df9267464c287869e53544d563.tar.gz
mv-ec613c9f448fc3df9267464c287869e53544d563.tar.bz2
mv-ec613c9f448fc3df9267464c287869e53544d563.tar.xz
mv-ec613c9f448fc3df9267464c287869e53544d563.zip
Add packet SMSG_CLAN_ONLINE_COUNT 0x0988.
-rw-r--r--src/net/eathena/clanrecv.cpp7
-rw-r--r--src/net/eathena/clanrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc6
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)
{