summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-07 00:53:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-07 00:53:20 +0300
commitb79975c115473e801fb7983bc3f5c24ae72f3db7 (patch)
treefaaa07611f84792a84026d38417988a703cf1e3f /src/net/ea
parentc623250fbc8524a1ab78791595bf1fc4344fec49 (diff)
downloadplus-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.gz
plus-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.bz2
plus-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.xz
plus-b79975c115473e801fb7983bc3f5c24ae72f3db7.zip
Move processGuildMemberLogin from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/guildhandler.cpp19
-rw-r--r--src/net/ea/guildhandler.h2
2 files changed, 0 insertions, 21 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index 3e43d6400..b36b92c0d 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -105,25 +105,6 @@ void GuildHandler::processGuildCreateResponse(Net::MessageIn &msg) const
}
}
-void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const
-{
- const int accountId = msg.readInt32(); // Account ID
- const int charId = msg.readInt32(); // Char ID
- const int online = msg.readInt32(); // Flag
- if (taGuild)
- {
- GuildMember *const m = taGuild->getMember(accountId, charId);
- if (m)
- {
- m->setOnline(online);
- if (guildTab)
- guildTab->showOnline(m->getName(), online);
- if (socialWindow)
- socialWindow->updateGuildCounter();
- }
- }
-}
-
void GuildHandler::processGuildMasterOrMember(Net::MessageIn &msg) const
{
msg.readInt32(); // Type (0x57 for member, 0xd7 for master)
diff --git a/src/net/ea/guildhandler.h b/src/net/ea/guildhandler.h
index ed5453f7d..ee3ce2672 100644
--- a/src/net/ea/guildhandler.h
+++ b/src/net/ea/guildhandler.h
@@ -53,8 +53,6 @@ class GuildHandler notfinal : public Net::GuildHandler
virtual void processGuildCreateResponse(Net::MessageIn &msg) const;
- virtual void processGuildMemberLogin(Net::MessageIn &msg) const;
-
virtual void processGuildMasterOrMember(Net::MessageIn &msg) const;
virtual void processGuildBasicInfo(Net::MessageIn &msg);