diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 07b567b72..e7d35b666 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -109,4 +109,9 @@ bool ServerFeatures::haveItemColors() const return serverVersion >= 1; } +bool ServerFeatures::haveOtherGender() const +{ + return serverVersion >= 5; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 4307dc002..2af67f255 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -63,6 +63,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMove3() const override final; bool haveItemColors() const override final; + + bool haveOtherGender() const override final; }; } // namespace TmwAthena |