diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:09:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:09:22 +0300 |
commit | a479abc8d3a44712a687822ae59979985573b09d (patch) | |
tree | ad092992182d3484221cd0bd84bbcb19fc01b21d /src/net | |
parent | df9dfd472e9f69ae27e2ab694e1897ef8a46a58f (diff) | |
download | mv-a479abc8d3a44712a687822ae59979985573b09d.tar.gz mv-a479abc8d3a44712a687822ae59979985573b09d.tar.bz2 mv-a479abc8d3a44712a687822ae59979985573b09d.tar.xz mv-a479abc8d3a44712a687822ae59979985573b09d.zip |
Impliment packet CMSG_GUILD_CHECK_MASTER 0x014d.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/guildhandler.h | 2 | ||||
-rw-r--r-- | src/net/guildhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/guildhandler.h | 2 |
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 6beebee9f..9ea98903a 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -324,4 +324,9 @@ void GuildHandler::changeNotice(const int guildId, msg.writeString(msg2, 120); // msg2 } +void GuildHandler::checkMaster() const +{ + MessageOut msg(CMSG_GUILD_CHECK_MASTER); +} + } // namespace EAthena diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index ca52caea1..aeda0c210 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -70,6 +70,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler const std::string &restrict msg1, const std::string &restrict msg2) const override final; + + void checkMaster() const; }; extern Ea::GuildTab *guildTab; diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h index d67e930b2..2972b4f23 100644 --- a/src/net/guildhandler.h +++ b/src/net/guildhandler.h @@ -80,6 +80,8 @@ class GuildHandler notfinal const std::string &restrict msg1, const std::string &restrict msg2) const = 0; + virtual void checkMaster() const = 0; + virtual void clear() const = 0; virtual ChatTab *getTab() const = 0; diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp index a97da4153..5aa272475 100644 --- a/src/net/tmwa/guildhandler.cpp +++ b/src/net/tmwa/guildhandler.cpp @@ -329,4 +329,9 @@ void GuildHandler::changeNotice(const int guildId, msg.writeString(msg2, 120); // msg2 } +void GuildHandler::checkMaster() const +{ + MessageOut msg(CMSG_GUILD_CHECK_MASTER); +} + } // namespace TmwAthena diff --git a/src/net/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h index 666a4b45c..f1422c7a1 100644 --- a/src/net/tmwa/guildhandler.h +++ b/src/net/tmwa/guildhandler.h @@ -70,6 +70,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler const std::string &restrict msg1, const std::string &restrict msg2) const override final; + + void checkMaster() const; }; extern Ea::GuildTab *guildTab; |