diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-20 18:05:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-20 18:05:14 +0300 |
commit | f561f389d49d9a440dbf9f141a80fefb43086e6a (patch) | |
tree | 63d08d3e124463a12900ade648d9e0c4967d8c35 /src/net/eathena | |
parent | 417d18b8bf122c4bba9acac02c2c448e010e7180 (diff) | |
download | mv-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.gz mv-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.bz2 mv-f561f389d49d9a440dbf9f141a80fefb43086e6a.tar.xz mv-f561f389d49d9a440dbf9f141a80fefb43086e6a.zip |
eathena: impliment packet CMSG_GUILD_ALLIANCE_DELETE.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/guildhandler.h | 3 |
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); |