diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-16 21:54:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-16 21:54:34 +0300 |
commit | 1bcba7a1365bb2e5b713190c9664902fc11d0752 (patch) | |
tree | 68c18a0c11d59856556715d0113d850db1dfc012 /src/net/eathena/guildhandler.cpp | |
parent | 651cefe3c09e5bfae8178f7c396760663b93eda7 (diff) | |
download | mv-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.gz mv-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.bz2 mv-1bcba7a1365bb2e5b713190c9664902fc11d0752.tar.xz mv-1bcba7a1365bb2e5b713190c9664902fc11d0752.zip |
Impliment packet CMSG_GUILD_INVITE2 0x0916
Diffstat (limited to 'src/net/eathena/guildhandler.cpp')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 5 |
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 |