diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-07 00:53:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-07 00:53:20 +0300 |
commit | b79975c115473e801fb7983bc3f5c24ae72f3db7 (patch) | |
tree | faaa07611f84792a84026d38417988a703cf1e3f /src/net/ea/guildhandler.cpp | |
parent | c623250fbc8524a1ab78791595bf1fc4344fec49 (diff) | |
download | manaverse-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.gz manaverse-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.bz2 manaverse-b79975c115473e801fb7983bc3f5c24ae72f3db7.tar.xz manaverse-b79975c115473e801fb7983bc3f5c24ae72f3db7.zip |
Move processGuildMemberLogin from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/guildhandler.cpp')
-rw-r--r-- | src/net/ea/guildhandler.cpp | 19 |
1 files changed, 0 insertions, 19 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) |