diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 23:35:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 23:35:11 +0300 |
commit | 8438ad4513e9aa2af4b42317aa05358e36f06e98 (patch) | |
tree | 28d3a4a29fb6e2404a24c8b467dc23430b386f66 /src/net/ea/partyhandler.cpp | |
parent | 338fdcc49fbe3254946cbc37478cedd0f160d312 (diff) | |
download | mv-8438ad4513e9aa2af4b42317aa05358e36f06e98.tar.gz mv-8438ad4513e9aa2af4b42317aa05358e36f06e98.tar.bz2 mv-8438ad4513e9aa2af4b42317aa05358e36f06e98.tar.xz mv-8438ad4513e9aa2af4b42317aa05358e36f06e98.zip |
Move processPartyInvited from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 20bb93a5c..76b08f6bb 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -83,26 +83,6 @@ void PartyHandler::processPartyCreate(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::PARTY_CREATED); } -void PartyHandler::processPartyInvited(Net::MessageIn &msg) -{ - const int id = msg.readInt32("account id"); - const std::string partyName = msg.readString(24, "party name"); - std::string nick; - - if (actorManager) - { - const Being *const being = actorManager->findBeing(id); - if (being) - { - if (being->getType() == ActorType::Player) - nick = being->getName(); - } - } - - if (socialWindow) - socialWindow->showPartyInvite(partyName, nick); -} - void PartyHandler::processPartySettingsContinue(const int16_t exp, const int16_t item) { |