diff options
-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 |