diff options
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp index ec7c9541a..0c1757f86 100644 --- a/src/net/tmwa/guildhandler.cpp +++ b/src/net/tmwa/guildhandler.cpp @@ -414,4 +414,20 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const processGuildExpulsionContinue(nick); } +void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg) const +{ + const int length = msg.readInt16("len"); + 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, "name of expluser"); + msg.readString(24, "message"); + } +} + } // namespace TmwAthena |