summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 15:40:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 15:40:12 +0300
commit96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca (patch)
treebd82f37f1b0b6e24f0c90a348d512504d58b684f /src/net
parent8c1ff1cb9ab58bee5b8b48591485247125243464 (diff)
downloadplus-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.gz
plus-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.bz2
plus-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.xz
plus-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.zip
eathena: add partial support for packet SMSG_GUILD_EMBLEM 0x01b4.
Diffstat (limited to 'src/net')
-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