diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/guildhandler.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 350eb3bed..bcd13afab 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -501,4 +501,10 @@ void GuildHandler::requestOpposition(const Being *const being) const outMsg.writeInt32(being->getId(), "account id"); } +void GuildHandler::breakGuild(const std::string &name) const +{ + createOutPacket(CMSG_GUILD_BREAK); + outMsg.writeString(name, 40, "name"); +} + } // namespace EAthena diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index d7406c2b6..d74bcd82a 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -86,6 +86,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void requestOpposition(const Being *const being) const override final; + void breakGuild(const std::string &name) const override final; + protected: static void processGuildUpdateCoords(Net::MessageIn &msg); |