summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/partyhandler.cpp9
-rw-r--r--src/net/eathena/partyhandler.h2
-rw-r--r--src/net/partyhandler.h2
-rw-r--r--src/net/tmwa/partyhandler.cpp9
-rw-r--r--src/net/tmwa/partyhandler.h2
5 files changed, 0 insertions, 24 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,
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h
index d604f5eed..b6537b52f 100644
--- a/src/net/partyhandler.h
+++ b/src/net/partyhandler.h
@@ -46,8 +46,6 @@ class PartyHandler notfinal
virtual void join(const int partyId) const = 0;
- virtual void invite(const Being *const player) const = 0;
-
virtual void invite(const std::string &name) const = 0;
virtual void inviteResponse(const std::string &inviter,
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,