summaryrefslogtreecommitdiff
path: root/src/net/eathena
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
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')
-rw-r--r--src/net/eathena/guildhandler.cpp8
-rw-r--r--src/net/eathena/guildhandler.h3
2 files changed, 11 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
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index 3eac0136f..89144ebad 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -75,6 +75,9 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
void requestAllianceResponse(const int beingId,
const bool accept) const override final;
+ void endAlliance(const int guildId,
+ const int flag) const override final;
+
protected:
static void processGuildUpdateCoords(Net::MessageIn &msg);