summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 20:10:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 20:10:12 +0300
commita7265913b3297c8b72db5683152d466bf2ffd340 (patch)
tree897816a41d12dd4a0e4bbef1aafcdbb637582e5b /src/net/eathena
parent2dc33d6d6b20364fff5cdc74e2f6875124318e09 (diff)
downloadplus-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.cpp6
-rw-r--r--src/net/eathena/guildhandler.h2
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);