summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-07 16:07:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-07 16:14:32 +0300
commit7859c4315e8c59ebeef3b6b030f921badd542f09 (patch)
tree69986384245e2bb7f8b21da816ea8978475f6fd7 /src/net/tmwa/guildhandler.cpp
parent629aa611136745eba65dbae6ed8762c133161894 (diff)
downloadmanaplus-7859c4315e8c59ebeef3b6b030f921badd542f09.tar.gz
manaplus-7859c4315e8c59ebeef3b6b030f921badd542f09.tar.bz2
manaplus-7859c4315e8c59ebeef3b6b030f921badd542f09.tar.xz
manaplus-7859c4315e8c59ebeef3b6b030f921badd542f09.zip
Move processGuildExpulsion from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r--src/net/tmwa/guildhandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 8226bea3f..ec7c9541a 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -23,6 +23,7 @@
#include "actormanager.h"
#include "configuration.h"
+#include "notifymanager.h"
#include "being/localplayer.h"
#include "being/playerinfo.h"
@@ -37,6 +38,10 @@
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocol.h"
+#include "resources/notifytypes.h"
+
+#include "utils/delete2.h"
+
#include "debug.h"
extern Net::GuildHandler *guildHandler;
@@ -399,4 +404,14 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const
}
}
+void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const
+{
+ msg.skip(2, "len?");
+ const std::string nick = msg.readString(24, "name?");
+ msg.skip(24, "player name");
+ msg.readString(44, "message"); // Message
+
+ processGuildExpulsionContinue(nick);
+}
+
} // namespace TmwAthena