summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-07 16:26:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-07 16:26:44 +0300
commit726a46299e2efb1e010fa8524dba19871a0c6294 (patch)
tree3ce9faed100daea04600a6f3b8171dd49b791bb9 /src/net/eathena/guildhandler.cpp
parenta3cedd77c73c820d6125aaa4b8f3dacbe92705c4 (diff)
downloadmv-726a46299e2efb1e010fa8524dba19871a0c6294.tar.gz
mv-726a46299e2efb1e010fa8524dba19871a0c6294.tar.bz2
mv-726a46299e2efb1e010fa8524dba19871a0c6294.tar.xz
mv-726a46299e2efb1e010fa8524dba19871a0c6294.zip
Move processGuildExpulsionList from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp16
1 files changed, 16 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