diff options
Diffstat (limited to 'src')
-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 |