summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/guildhandler.cpp13
-rw-r--r--src/net/eathena/guildhandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 241ff2bb3..502ae1dc1 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -75,6 +75,7 @@ GuildHandler::GuildHandler() :
SMSG_GUILD_OPPOSITION_ACK,
SMSG_GUILD_BROKEN,
SMSG_GUILD_UPDATE_COORDS,
+ SMSG_GUILD_EMBLEM,
0
};
handledMessages = _messages;
@@ -198,6 +199,10 @@ void GuildHandler::handleMessage(Net::MessageIn &msg)
processGuildUpdateCoords(msg);
break;
+ case SMSG_GUILD_EMBLEM:
+ processGuildEmblem(msg);
+ break;
+
default:
break;
}
@@ -440,4 +445,12 @@ void GuildHandler::processGuildExpulsionList(Net::MessageIn &msg)
}
}
+void GuildHandler::processGuildEmblem(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("being id");
+ msg.readInt32("guild id");
+ msg.readInt16("emblem id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index b2c37c9d7..e390bf595 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -83,6 +83,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
static void processGuildExpulsion(Net::MessageIn &msg);
static void processGuildExpulsionList(Net::MessageIn &msg);
+
+ static void processGuildEmblem(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 5e8d85919..a1349c68a 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -238,6 +238,7 @@
#define SMSG_GUILD_POSITION_CHANGED 0x0174
#define SMSG_GUILD_MEMBER_POS_CHANGE 0x0156
#define SMSG_GUILD_EMBLEM_DATA 0x0152
+#define SMSG_GUILD_EMBLEM 0x01b4
#define SMSG_GUILD_SKILL_INFO 0x0162
#define SMSG_GUILD_NOTICE 0x016f
#define SMSG_GUILD_INVITE 0x016a