diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-20 20:10:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-20 20:10:12 +0300 |
commit | a7265913b3297c8b72db5683152d466bf2ffd340 (patch) | |
tree | 897816a41d12dd4a0e4bbef1aafcdbb637582e5b /src/net/eathena | |
parent | 2dc33d6d6b20364fff5cdc74e2f6875124318e09 (diff) | |
download | plus-a7265913b3297c8b72db5683152d466bf2ffd340.tar.gz plus-a7265913b3297c8b72db5683152d466bf2ffd340.tar.bz2 plus-a7265913b3297c8b72db5683152d466bf2ffd340.tar.xz plus-a7265913b3297c8b72db5683152d466bf2ffd340.zip |
eathena: impliment packet CMSG_GUILD_REQUEST_EMBLEM.
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 e7f61218d..cd4078666 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -517,4 +517,10 @@ void GuildHandler::changeEmblem(std::string emblem) const outMsg.writeString(emblem, sz, "emblem"); } +void GuildHandler::requestEmblem(const int guildId) const +{ + createOutPacket(CMSG_GUILD_REQUEST_EMBLEM); + outMsg.writeInt32(guildId, "guild id"); +} + } // namespace EAthena diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index d3eb21664..4f2add867 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -90,6 +90,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void changeEmblem(std::string emblem) const override final; + void requestEmblem(const int guildId) const override final; + protected: static void processGuildUpdateCoords(Net::MessageIn &msg); |