summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 19:14:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 19:14:48 +0300
commit4fae0e866646de40ec68592190785cdfd8f6b62d (patch)
tree43cbb288ca800127841fcebc3fa747ff67b00d14 /src/net/eathena/guildhandler.cpp
parent7e92c3043da816bcd53bbf014ece526a383f8eb3 (diff)
downloadmv-4fae0e866646de40ec68592190785cdfd8f6b62d.tar.gz
mv-4fae0e866646de40ec68592190785cdfd8f6b62d.tar.bz2
mv-4fae0e866646de40ec68592190785cdfd8f6b62d.tar.xz
mv-4fae0e866646de40ec68592190785cdfd8f6b62d.zip
eathena: impliment packet CMSG_GUILD_OPPOSITION.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 84dd8eec8..350eb3bed 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -492,4 +492,13 @@ void GuildHandler::changePostionInfo(const int posId,
outMsg.writeString(name, 24, "name");
}
+void GuildHandler::requestOpposition(const Being *const being) const
+{
+ if (!being)
+ return;
+
+ createOutPacket(CMSG_GUILD_OPPOSITION);
+ outMsg.writeInt32(being->getId(), "account id");
+}
+
} // namespace EAthena