summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
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);