summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 14:51:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 14:51:02 +0300
commitd08e40706207d56cdeee73cab17f2ea61ab1082c (patch)
tree4caa8862828d2c6dee2df1aa6fff8d2d92eea275 /src/net/tmwa/guildhandler.cpp
parent32bf758a1267689cac65e10f69c73b8efa40bb94 (diff)
downloadmanaverse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.gz
manaverse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.bz2
manaverse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.xz
manaverse-d08e40706207d56cdeee73cab17f2ea61ab1082c.zip
Remove unused guildid parameter from guild handler.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r--src/net/tmwa/guildhandler.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 60cdbd453..4947f99da 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -212,8 +212,7 @@ void GuildHandler::create(const std::string &name) const
outMsg.writeString(name, 24, "guild name");
}
-void GuildHandler::invite(const int guildId A_UNUSED,
- const std::string &name) const
+void GuildHandler::invite(const std::string &name) const
{
if (!actorManager)
return;
@@ -229,8 +228,7 @@ void GuildHandler::invite(const int guildId A_UNUSED,
}
}
-void GuildHandler::invite(const int guildId A_UNUSED,
- const Being *const being) const
+void GuildHandler::invite(const Being *const being) const
{
if (!being)
return;
@@ -275,8 +273,7 @@ void GuildHandler::kick(const GuildMember *restrict const member,
outMsg.writeString(reason, 40, "message");
}
-void GuildHandler::chat(const int guildId A_UNUSED,
- const std::string &text) const
+void GuildHandler::chat(const std::string &text) const
{
if (!localPlayer)
return;
@@ -288,7 +285,7 @@ void GuildHandler::chat(const int guildId A_UNUSED,
outMsg.writeString(str, static_cast<int>(str.length()), "message");
}
-void GuildHandler::memberList(const int guildId A_UNUSED) const
+void GuildHandler::memberList() const
{
// 0 = basic info + alliance info
// 1 = position name list + member list
@@ -300,7 +297,7 @@ void GuildHandler::memberList(const int guildId A_UNUSED) const
outMsg.writeInt32(1, "action"); // Request member list
}
-void GuildHandler::info(const int guildId A_UNUSED)
+void GuildHandler::info()
{
// 0 = basic info + alliance info
// 1 = position name list + member list
@@ -367,7 +364,7 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg)
guildTab->loadFromLogFile("#Guild");
if (localPlayer)
localPlayer->addGuild(Ea::taGuild);
- guildHandler->memberList(guildId);
+ guildHandler->memberList();
}
if (localPlayer)