summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-18 20:25:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-18 20:25:42 +0300
commit39fadb44e907ffe2209f81643ce182b03e5c6245 (patch)
treeb5905d463a7035d95a8044b4d8f1fd111f3fa201 /src/net/ea
parentf35a9907a5ab7ff08bf8fc0d54090fa3fe05a63e (diff)
downloadplus-39fadb44e907ffe2209f81643ce182b03e5c6245.tar.gz
plus-39fadb44e907ffe2209f81643ce182b03e5c6245.tar.bz2
plus-39fadb44e907ffe2209f81643ce182b03e5c6245.tar.xz
plus-39fadb44e907ffe2209f81643ce182b03e5c6245.zip
Move processPlayerGuilPartyInfo from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beinghandler.cpp29
-rw-r--r--src/net/ea/beinghandler.h2
2 files changed, 0 insertions, 31 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 807c9b3ef..7e66c5dd2 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -375,35 +375,6 @@ void BeingHandler::processIpResponse(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processIpResponse")
}
-void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) const
-{
- BLOCK_START("BeingHandler::processPlayerGuilPartyInfo")
- if (!actorManager)
- {
- BLOCK_END("BeingHandler::processPlayerGuilPartyInfo")
- return;
- }
-
- Being *const dstBeing = actorManager->findBeing(msg.readInt32("being id"));
-
- if (dstBeing)
- {
- dstBeing->setPartyName(msg.readString(24, "party name"));
- if (!guildManager || !GuildManager::getEnableGuildBot())
- {
- dstBeing->setGuildName(msg.readString(24, "guild name"));
- dstBeing->setGuildPos(msg.readString(24, "guild pos"));
- }
- else
- {
- msg.skip(48);
- }
- dstBeing->addToCache();
- msg.readString(24, "?");
- }
- BLOCK_END("BeingHandler::processPlayerGuilPartyInfo")
-}
-
void BeingHandler::processPlayerStop(Net::MessageIn &msg) const
{
BLOCK_START("BeingHandler::processPlayerStop")
diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h
index 84758630c..ffd2b80d1 100644
--- a/src/net/ea/beinghandler.h
+++ b/src/net/ea/beinghandler.h
@@ -60,8 +60,6 @@ class BeingHandler notfinal : public Net::BeingHandler
virtual void processIpResponse(Net::MessageIn &msg) const;
- virtual void processPlayerGuilPartyInfo(Net::MessageIn &msg) const;
-
virtual void processPlayerStop(Net::MessageIn &msg) const;
virtual void processPlayerMoveToAttack(Net::MessageIn &msg) const;