summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 18:38:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 18:38:32 +0300
commit35d57a3a16ad548b02aba48297160c4d8b32df4c (patch)
treeb87b10f162b94101caa25f9c5aee76965ca0f09b /src/net/eathena
parent041d2bcfc1d66090f2f5c21db03eaafca35add46 (diff)
downloadmanaverse-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.gz
manaverse-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.bz2
manaverse-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.xz
manaverse-35d57a3a16ad548b02aba48297160c4d8b32df4c.zip
Remove party invite function by being object.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/partyhandler.cpp9
-rw-r--r--src/net/eathena/partyhandler.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index 43cb8066f..f4bb882b3 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -124,15 +124,6 @@ void PartyHandler::create(const std::string &name) const
outMsg.writeString(name.substr(0, 23), 24);
}
-void PartyHandler::invite(const Being *const being) const
-{
- if (being)
- {
- MessageOut outMsg(CMSG_PARTY_INVITE);
- outMsg.writeInt32(being->getId());
- }
-}
-
void PartyHandler::invite(const std::string &name) const
{
if (!actorManager)
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h
index 35693af89..5db8a505e 100644
--- a/src/net/eathena/partyhandler.h
+++ b/src/net/eathena/partyhandler.h
@@ -42,8 +42,6 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void create(const std::string &name) const override final;
- void invite(const Being *const being) const override final;
-
void invite(const std::string &name) const override final;
void inviteResponse(const std::string &inviter,