summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
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);