summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/guildhandler.cpp12
-rw-r--r--src/net/eathena/guildhandler.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index f64569d10..148195770 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -203,7 +203,7 @@ void GuildHandler::handleMessage(Net::MessageIn &msg)
}
}
-void GuildHandler::processGuildUpdateCoords(Net::MessageIn &msg) const
+void GuildHandler::processGuildUpdateCoords(Net::MessageIn &msg)
{
const int id = msg.readInt32("account id");
const int x = msg.readInt16("x");
@@ -354,7 +354,7 @@ void GuildHandler::checkMaster() const
MessageOut msg(CMSG_GUILD_CHECK_MASTER);
}
-void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg) const
+void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg)
{
const int guildId = msg.readInt32("guild id");
const int emblem = msg.readInt32("elblem id");
@@ -379,7 +379,7 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg) const
guildTab->loadFromLogFile("#Guild");
if (localPlayer)
localPlayer->addGuild(Ea::taGuild);
- memberList(guildId);
+ guildHandler->memberList(guildId);
}
if (localPlayer)
@@ -389,7 +389,7 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg) const
}
}
-void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const
+void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg)
{
const int accountId = msg.readInt32("account id");
const int charId = msg.readInt32("char id");
@@ -414,7 +414,7 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const
}
}
-void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const
+void GuildHandler::processGuildExpulsion(Net::MessageIn &msg)
{
const std::string nick = msg.readString(24, "name");
msg.readString(40, "message");
@@ -422,7 +422,7 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const
processGuildExpulsionContinue(nick);
}
-void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg) const
+void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg)
{
const int length = msg.readInt16("len");
if (length < 4)
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index 8b19ea51d..92ef20612 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -74,15 +74,15 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
void checkMaster() const;
protected:
- void processGuildUpdateCoords(Net::MessageIn &msg) const;
+ static void processGuildUpdateCoords(Net::MessageIn &msg);
- void processGuildPositionInfo(Net::MessageIn &msg) const;
+ static void processGuildPositionInfo(Net::MessageIn &msg);
- void processGuildMemberLogin(Net::MessageIn &msg) const;
+ static void processGuildMemberLogin(Net::MessageIn &msg);
- void processGuildExpulsion(Net::MessageIn &msg) const;
+ static void processGuildExpulsion(Net::MessageIn &msg);
- void processGuildExpulsionList(Net::MessageIn &msg) const;
+ static void processGuildExpulsionList(Net::MessageIn &msg);
};
} // namespace EAthena