summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/partyhandler.cpp10
-rw-r--r--src/net/eathena/partyhandler.h18
2 files changed, 14 insertions, 14 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index 6b132646c..a3ccb6776 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -277,7 +277,7 @@ void PartyHandler::processPartySettings(Net::MessageIn &msg)
processPartySettingsContinue(exp, item);
}
-void PartyHandler::processPartyInfo(Net::MessageIn &msg) const
+void PartyHandler::processPartyInfo(Net::MessageIn &msg)
{
bool isOldParty = false;
std::set<std::string> names;
@@ -384,7 +384,7 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg) const
}
}
-void PartyHandler::processPartyMessage(Net::MessageIn &msg) const
+void PartyHandler::processPartyMessage(Net::MessageIn &msg)
{
const int msgLength = msg.readInt16() - 8;
if (msgLength <= 0)
@@ -412,7 +412,7 @@ void PartyHandler::processPartyMessage(Net::MessageIn &msg) const
}
}
-void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const
+void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg)
{
if (!partyTab)
return;
@@ -470,7 +470,7 @@ void PartyHandler::allowInvite(const bool allow) const
outMsg.writeInt8(static_cast<int8_t>(allow ? 1 : 0));
}
-void PartyHandler::processPartyItemPickup(Net::MessageIn &msg) const
+void PartyHandler::processPartyItemPickup(Net::MessageIn &msg)
{
// +++ probably need add option to show pickup notifications
// in party tab
@@ -487,7 +487,7 @@ void PartyHandler::processPartyItemPickup(Net::MessageIn &msg) const
msg.readUInt8("item type");
}
-void PartyHandler::processPartyLeader(Net::MessageIn &msg) const
+void PartyHandler::processPartyLeader(Net::MessageIn &msg)
{
PartyMember *const oldMember = Ea::taParty->getMember(
msg.readInt32("old leder id"));
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h
index bc8c550a8..c4bab0f47 100644
--- a/src/net/eathena/partyhandler.h
+++ b/src/net/eathena/partyhandler.h
@@ -63,24 +63,24 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void changeLeader(const std::string &name) const override final;
- void processPartySettings(Net::MessageIn &msg);
-
void allowInvite(const bool allow) const override final;
protected:
- void processPartyInvitationStats(Net::MessageIn &msg);
+ static void processPartySettings(Net::MessageIn &msg);
+
+ static void processPartyInvitationStats(Net::MessageIn &msg);
- void processPartyMemberInfo(Net::MessageIn &msg);
+ static void processPartyMemberInfo(Net::MessageIn &msg);
- void processPartyInfo(Net::MessageIn &msg) const;
+ static void processPartyInfo(Net::MessageIn &msg);
- void processPartyMessage(Net::MessageIn &msg) const;
+ static void processPartyMessage(Net::MessageIn &msg);
- void processPartyInviteResponse(Net::MessageIn &msg) const;
+ static void processPartyInviteResponse(Net::MessageIn &msg);
- void processPartyItemPickup(Net::MessageIn &msg) const;
+ static void processPartyItemPickup(Net::MessageIn &msg);
- void processPartyLeader(Net::MessageIn &msg) const;
+ static void processPartyLeader(Net::MessageIn &msg);
};
} // namespace EAthena