diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 16 | ||||
-rw-r--r-- | src/net/eathena/guildhandler.h | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 8beedbedd..63d88c624 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -427,4 +427,20 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const processGuildExpulsionContinue(nick); } +void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg) const +{ + const int length = msg.readInt16(); + if (length < 4) + return; + + const int count = (length - 4) / 88; + + for (int i = 0; i < count; i++) + { + msg.readString(24); // Name (of expulsed?) + msg.readString(24); // 'Acc' (name of expulser?) + msg.readString(24); // Message + } +} + } // namespace EAthena diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index 7370da44e..af070a3e3 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -81,6 +81,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void processGuildMemberLogin(Net::MessageIn &msg) const; void processGuildExpulsion(Net::MessageIn &msg) const; + + void processGuildExpulsionList(Net::MessageIn &msg) const; }; // extern Ea::GuildTab *guildTab; |