summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/guildhandler.cpp10
-rw-r--r--src/net/tmwa/guildhandler.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 3e9faa4c8..ed4383205 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -341,7 +341,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("emblem");
@@ -367,7 +367,7 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg) const
guildTab->loadFromLogFile("#Guild");
if (localPlayer)
localPlayer->addGuild(Ea::taGuild);
- memberList(guildId);
+ guildHandler->memberList(guildId);
}
if (localPlayer)
@@ -380,7 +380,7 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg) const
emblem, posMode, guildName.c_str());
}
-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");
@@ -399,7 +399,7 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const
}
}
-void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const
+void GuildHandler::processGuildExpulsion(Net::MessageIn &msg)
{
msg.skip(2, "len?");
const std::string nick = msg.readString(24, "name?");
@@ -409,7 +409,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/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h
index 506de89dd..8395c09db 100644
--- a/src/net/tmwa/guildhandler.h
+++ b/src/net/tmwa/guildhandler.h
@@ -74,13 +74,13 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
void checkMaster() const;
protected:
- 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 TmwAthena