summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 17:33:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 17:33:35 +0300
commitf8de6e16f2fd5905d7dd8fffb7763861045c48b4 (patch)
tree510bdc57ab5df77775d61b9f8680942d8ea64ab4 /src/net/eathena/guildhandler.cpp
parent959581e5d9da2c0ff79a94c1773343b0c1750ea6 (diff)
downloadmv-f8de6e16f2fd5905d7dd8fffb7763861045c48b4.tar.gz
mv-f8de6e16f2fd5905d7dd8fffb7763861045c48b4.tar.bz2
mv-f8de6e16f2fd5905d7dd8fffb7763861045c48b4.tar.xz
mv-f8de6e16f2fd5905d7dd8fffb7763861045c48b4.zip
eathena: impliment packet CMSG_GUILD_ALLIANCE_REQUEST.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 4fbf4ca58..609ae9182 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -450,4 +450,15 @@ void GuildHandler::processGuildEmblem(Net::MessageIn &msg)
msg.readInt16("emblem id");
}
+void GuildHandler::requestAlliance(const Being *const being) const
+{
+ if (!being)
+ return;
+
+ createOutPacket(CMSG_GUILD_ALLIANCE_REQUEST);
+ outMsg.writeInt32(being->getId(), "account id");
+ outMsg.writeInt32(0, "inviter account id");
+ outMsg.writeInt32(0, "inviter char id");
+}
+
} // namespace EAthena