diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-05 18:38:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-05 18:38:07 +0300 |
commit | a355e8aff74337706d8a0d5cf920809e3ecb975f (patch) | |
tree | cc779f4360f261e3770c3f57e882bd4dea098a81 | |
parent | c43d0ae7b171373f4ee352c8faa4ae6a7e93c49c (diff) | |
download | plus-a355e8aff74337706d8a0d5cf920809e3ecb975f.tar.gz plus-a355e8aff74337706d8a0d5cf920809e3ecb975f.tar.bz2 plus-a355e8aff74337706d8a0d5cf920809e3ecb975f.tar.xz plus-a355e8aff74337706d8a0d5cf920809e3ecb975f.zip |
Add new server feature CharRename.
-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 8a1308506..00357e65f 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -132,4 +132,9 @@ bool ServerFeatures::haveEightDirections() const return true; } +bool ServerFeatures::haveCharRename() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 842e1ce16..5c37cc066 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -73,6 +73,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveEmailOnRegister() const override final; bool haveEightDirections() const override final; + + bool haveCharRename() const override final; }; } // namespace EAthena diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 9a39a2d52..464ee7a8f 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -70,6 +70,8 @@ class ServerFeatures notfinal virtual bool haveEmailOnRegister() const = 0; virtual bool haveEightDirections() const = 0; + + virtual bool haveCharRename() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 611a22fc4..3c603f245 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -134,4 +134,9 @@ bool ServerFeatures::haveEightDirections() const return false; } +bool ServerFeatures::haveCharRename() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 7e71932eb..adddbd964 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -73,6 +73,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveEmailOnRegister() const override final; bool haveEightDirections() const override final; + + bool haveCharRename() const override final; }; } // namespace TmwAthena |