diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-20 17:53:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-20 17:53:44 +0300 |
commit | 417d18b8bf122c4bba9acac02c2c448e010e7180 (patch) | |
tree | 7f2f8a15dcab920bc619620cda69f5909ae11fb6 /src/net/eathena | |
parent | f8de6e16f2fd5905d7dd8fffb7763861045c48b4 (diff) | |
download | manaverse-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.gz manaverse-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.bz2 manaverse-417d18b8bf122c4bba9acac02c2c448e010e7180.tar.xz manaverse-417d18b8bf122c4bba9acac02c2c448e010e7180.zip |
eathena: impliment packet CMSG_GUILD_ALLIANCE_REPLY.
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 609ae9182..76b7b0450 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -461,4 +461,12 @@ void GuildHandler::requestAlliance(const Being *const being) const outMsg.writeInt32(0, "inviter char id"); } +void GuildHandler::requestAllianceResponse(const int beingId, + const bool accept) const +{ + createOutPacket(CMSG_GUILD_ALLIANCE_REPLY); + outMsg.writeInt32(beingId, "account id"); + outMsg.writeInt32(accept, "accept flag"); +} + } // namespace EAthena diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index c1678484f..3eac0136f 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -72,6 +72,9 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void requestAlliance(const Being *const being) const override final; + void requestAllianceResponse(const int beingId, + const bool accept) const override final; + protected: static void processGuildUpdateCoords(Net::MessageIn &msg); |