summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-20 18:45:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-20 18:45:29 +0300
commit7e92c3043da816bcd53bbf014ece526a383f8eb3 (patch)
tree70079939fc58c942621d7d5fba8026a55f5cd8e1 /src/net/eathena/guildhandler.cpp
parentf561f389d49d9a440dbf9f141a80fefb43086e6a (diff)
downloadmanaplus-7e92c3043da816bcd53bbf014ece526a383f8eb3.tar.gz
manaplus-7e92c3043da816bcd53bbf014ece526a383f8eb3.tar.bz2
manaplus-7e92c3043da816bcd53bbf014ece526a383f8eb3.tar.xz
manaplus-7e92c3043da816bcd53bbf014ece526a383f8eb3.zip
eathena: impliment packet CMSG_GUILD_CHANGE_POS_INFO.
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 85000d79f..84dd8eec8 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -477,4 +477,19 @@ void GuildHandler::endAlliance(const int guildId,
outMsg.writeInt32(flag, "flag");
}
+void GuildHandler::changePostionInfo(const int posId,
+ const int mode,
+ const int ranking,
+ const int payRate,
+ const std::string &name) const
+{
+ createOutPacket(CMSG_GUILD_CHANGE_POS_INFO);
+ outMsg.writeInt16(44, "len");
+ outMsg.writeInt32(posId, "position id");
+ outMsg.writeInt32(mode, "mode");
+ outMsg.writeInt32(ranking, "ranking");
+ outMsg.writeInt32(payRate, "pay rate");
+ outMsg.writeString(name, 24, "name");
+}
+
} // namespace EAthena