summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 18:05:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 18:05:14 +0300
commitf561f389d49d9a440dbf9f141a80fefb43086e6a (patch)
tree63d08d3e124463a12900ade648d9e0c4967d8c35 /src/net/eathena/guildhandler.cpp
parent417d18b8bf122c4bba9acac02c2c448e010e7180 (diff)
downloadManaVerse-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.gz
ManaVerse-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.bz2
ManaVerse-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.xz
ManaVerse-f561f389d49d9a440dbf9f141a80fefb43086e6a.zip
eathena: impliment packet CMSG_GUILD_ALLIANCE_DELETE.
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 76b7b0450..85000d79f 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -469,4 +469,12 @@ void GuildHandler::requestAllianceResponse(const int beingId,
outMsg.writeInt32(accept, "accept flag");
}
+void GuildHandler::endAlliance(const int guildId,
+ const int flag) const
+{
+ createOutPacket(CMSG_GUILD_ALLIANCE_DELETE);
+ outMsg.writeInt32(guildId, "guild id");
+ outMsg.writeInt32(flag, "flag");
+}
+
} // namespace EAthena