diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 18:38:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 18:38:32 +0300 |
commit | 35d57a3a16ad548b02aba48297160c4d8b32df4c (patch) | |
tree | b87b10f162b94101caa25f9c5aee76965ca0f09b /src/net/tmwa | |
parent | 041d2bcfc1d66090f2f5c21db03eaafca35add46 (diff) | |
download | manaplus-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.gz manaplus-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.bz2 manaplus-35d57a3a16ad548b02aba48297160c4d8b32df4c.tar.xz manaplus-35d57a3a16ad548b02aba48297160c4d8b32df4c.zip |
Remove party invite function by being object.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/partyhandler.cpp | 9 | ||||
-rw-r--r-- | src/net/tmwa/partyhandler.h | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index da8070fd2..5d7f37046 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -118,15 +118,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/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index 9ee694775..5cba1f08d 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/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, |