diff options
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); |