summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-16 21:54:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-16 21:54:34 +0300
commit1bcba7a1365bb2e5b713190c9664902fc11d0752 (patch)
tree68c18a0c11d59856556715d0113d850db1dfc012 /src/net/eathena/guildhandler.cpp
parent651cefe3c09e5bfae8178f7c396760663b93eda7 (diff)
downloadplus-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.gz
plus-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.bz2
plus-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.xz
plus-1bcba7a1365bb2e5b713190c9664902fc11d0752.zip
Impliment packet CMSG_GUILD_INVITE2 0x0916
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r--src/net/eathena/guildhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 9d5e15f48..42c0bd951 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -70,6 +70,11 @@ void GuildHandler::invite(const std::string &name) const
outMsg.writeInt32(0, "unused");
outMsg.writeInt32(0, "unused");
}
+ else if (packetVersion >= 20120418)
+ {
+ createOutPacket(CMSG_GUILD_INVITE2);
+ outMsg.writeString(being->getName(), 24, "name");
+ }
}
void GuildHandler::invite(const Being *const being) const