summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
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/eathena/guildhandler.cpp
parent8c1ff1cb9ab58bee5b8b48591485247125243464 (diff)
downloadmanaverse-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.gz
manaverse-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.bz2
manaverse-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.tar.xz
manaverse-96b2fa0e2e6faca8d5ce6a90a0dd240bf76e8eca.zip
eathena: add partial support for packet SMSG_GUILD_EMBLEM 0x01b4.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp13
1 files changed, 13 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