summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/guildhandler.cpp6
-rw-r--r--src/net/eathena/guildhandler.h2
-rw-r--r--src/net/guildhandler.h2
-rw-r--r--src/net/tmwa/guildhandler.cpp4
-rw-r--r--src/net/tmwa/guildhandler.h2
5 files changed, 16 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);
diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h
index 3cd2da282..35067dda7 100644
--- a/src/net/guildhandler.h
+++ b/src/net/guildhandler.h
@@ -87,6 +87,8 @@ class GuildHandler notfinal
virtual void changeEmblem(std::string emblem) const = 0;
+ virtual void requestEmblem(const int guildId) const = 0;
+
virtual void clear() const = 0;
virtual ChatTab *getTab() const = 0;
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 4f6404872..29eeaaaa6 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -455,4 +455,8 @@ void GuildHandler::changeEmblem(std::string emblem A_UNUSED) const
{
}
+void GuildHandler::requestEmblem(const int guildId A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h
index 16a04cc14..2c27ac3f5 100644
--- a/src/net/tmwa/guildhandler.h
+++ b/src/net/tmwa/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 processGuildPositionInfo(Net::MessageIn &msg);