diff options
Diffstat (limited to 'src/net')
-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 1bdbc73b8..4c87536b0 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -275,4 +275,9 @@ bool ServerFeatures::haveMultyStatusUp() const return true; } +bool ServerFeatures::haveMail() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 3947de160..86e14ffc3 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -129,6 +129,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveSecureTrades() const override final; bool haveMultyStatusUp() const override final; + + bool haveMail() const override final; }; } // namespace EAthena diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 84bf21453..fbba2988a 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -126,6 +126,8 @@ class ServerFeatures notfinal virtual bool haveSecureTrades() const = 0; virtual bool haveMultyStatusUp() const = 0; + + virtual bool haveMail() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 0137e26a4..22ca73f2b 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -273,4 +273,9 @@ bool ServerFeatures::haveMultyStatusUp() const return false; } +bool ServerFeatures::haveMail() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index bf487332f..f4031a7ea 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -129,6 +129,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveSecureTrades() const override final A_CONST; bool haveMultyStatusUp() const override final A_CONST; + + bool haveMail() const override final A_CONST; }; } // namespace TmwAthena |