diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-09 01:58:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-09 01:58:49 +0300 |
commit | 2dbb4469658b27c8fb6be109c4d0841e57619353 (patch) | |
tree | 0cfe0b83ae98cdc8054b790e814fdc244b4b6699 /src/net | |
parent | 2412dbfa04badde084321e2a8284e423f35f41f4 (diff) | |
download | plus-2dbb4469658b27c8fb6be109c4d0841e57619353.tar.gz plus-2dbb4469658b27c8fb6be109c4d0841e57619353.tar.bz2 plus-2dbb4469658b27c8fb6be109c4d0841e57619353.tar.xz plus-2dbb4469658b27c8fb6be109c4d0841e57619353.zip |
Add packet SMSG_GUILD_ONLINE_INFO 0x016d.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/guildrecv.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/guildrecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/guildrecv.cpp b/src/net/eathena/guildrecv.cpp index ef49698ee..ec446edf5 100644 --- a/src/net/eathena/guildrecv.cpp +++ b/src/net/eathena/guildrecv.cpp @@ -158,4 +158,13 @@ void GuildRecv::processGuildEmblem(Net::MessageIn &msg) msg.readInt16("emblem id"); } +void GuildRecv::processOnlineInfo(Net::MessageIn &msg) +{ + // look like unused packet + UNIMPLIMENTEDPACKET; + msg.readBeingId("being id"); + msg.readInt32("char id"); + msg.readInt32("online"); +} + } // namespace EAthena diff --git a/src/net/eathena/guildrecv.h b/src/net/eathena/guildrecv.h index 6b6256d50..408b494c6 100644 --- a/src/net/eathena/guildrecv.h +++ b/src/net/eathena/guildrecv.h @@ -40,6 +40,7 @@ namespace EAthena void processGuildExpulsion(Net::MessageIn &msg); void processGuildExpulsionList(Net::MessageIn &msg); void processGuildEmblem(Net::MessageIn &msg); + void processOnlineInfo(Net::MessageIn &msg); } // namespace GuildRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 0968a1fda..6b3e35e71 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -292,6 +292,7 @@ packet(SMSG_BOOKING_SUB_FILTERING_LIST, 0x090c, 30, nullptr, packet(SMSG_MERGE_ITEM, 0x096d, -1, &InventoryRecv::processMergeItem, 0); packet(SMSG_ACK_MERGE_ITEMS, 0x096f, 7, &InventoryRecv::processMergeItemResponse, 0); packet(SMSG_ADD_MAP_MARKER, 0x09c1, 10, &MapRecv::processAddMapMarker, 0); +packet(SMSG_GUILD_ONLINE_INFO, 0x016d, 14, &GuildRecv::processOnlineInfo, 0); // 3 if (packetVersion >= 3) |