summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 17:53:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 17:53:44 +0300
commit417d18b8bf122c4bba9acac02c2c448e010e7180 (patch)
tree7f2f8a15dcab920bc619620cda69f5909ae11fb6 /src/net/eathena/guildhandler.cpp
parentf8de6e16f2fd5905d7dd8fffb7763861045c48b4 (diff)
downloadplus-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.gz
plus-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.bz2
plus-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.xz
plus-417d18b8bf122c4bba9acac02c2c448e010e7180.zip
eathena: impliment packet CMSG_GUILD_ALLIANCE_REPLY.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 609ae9182..76b7b0450 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -461,4 +461,12 @@ void GuildHandler::requestAlliance(const Being *const being) const
outMsg.writeInt32(0, "inviter char id");
}
+void GuildHandler::requestAllianceResponse(const int beingId,
+ const bool accept) const
+{
+ createOutPacket(CMSG_GUILD_ALLIANCE_REPLY);
+ outMsg.writeInt32(beingId, "account id");
+ outMsg.writeInt32(accept, "accept flag");
+}
+
} // namespace EAthena