diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-03 15:24:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-03 15:24:42 +0300 |
commit | e83cd5e5e4a5faae81f3731134a960820455af84 (patch) | |
tree | bceeba3eeba28d317c232d00a94015d463b7629a | |
parent | ba49e2ab52d612a6ac07ed6a506f1dfe4f2a66e3 (diff) | |
download | mv-e83cd5e5e4a5faae81f3731134a960820455af84.tar.gz mv-e83cd5e5e4a5faae81f3731134a960820455af84.tar.bz2 mv-e83cd5e5e4a5faae81f3731134a960820455af84.tar.xz mv-e83cd5e5e4a5faae81f3731134a960820455af84.zip |
Add server feature haveMute.
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index c4e53dd42..caac3607a 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -225,4 +225,9 @@ bool ServerFeatures::haveExpPacket() const return true; } +bool ServerFeatures::haveMute() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index a60c67ee5..5b7ea0b6b 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -109,6 +109,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveServerWarpNames() const override final; bool haveExpPacket() const override final; + + bool haveMute() const override final; }; } // namespace EAthena diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 1ae9a2933..ac67e59d9 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -106,6 +106,8 @@ class ServerFeatures notfinal virtual bool haveServerWarpNames() const = 0; virtual bool haveExpPacket() const = 0; + + virtual bool haveMute() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 4c57c7d1e..47afbac08 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -224,4 +224,9 @@ bool ServerFeatures::haveExpPacket() const return false; } +bool ServerFeatures::haveMute() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index f30cdbd20..cc7709bd7 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -109,6 +109,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveServerWarpNames() const override final; bool haveExpPacket() const override final; + + bool haveMute() const override final; }; } // namespace TmwAthena |