diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-20 00:41:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-20 00:41:00 +0300 |
commit | 32485e465199c587f73700f70a5a912ab5661205 (patch) | |
tree | 569d58ebbc09d9671f57aa08f915bfd41140ae5b /src/net | |
parent | 226331a5e5399ef447bf4eb161d79dfc69a01c5c (diff) | |
download | plus-32485e465199c587f73700f70a5a912ab5661205.tar.gz plus-32485e465199c587f73700f70a5a912ab5661205.tar.bz2 plus-32485e465199c587f73700f70a5a912ab5661205.tar.xz plus-32485e465199c587f73700f70a5a912ab5661205.zip |
Add server feature haveFamily.
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 238b728e9..a830acc5f 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -285,4 +285,9 @@ bool ServerFeatures::haveServerPets() const return true; } +bool ServerFeatures::haveFamily() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index fee5aaea5..2753003da 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -133,6 +133,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMail() const override final; bool haveServerPets() const override final; + + bool haveFamily() const override final; }; } // namespace EAthena diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 30fb97f5c..8f690b3ed 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -130,6 +130,8 @@ class ServerFeatures notfinal virtual bool haveMail() const = 0; virtual bool haveServerPets() const = 0; + + virtual bool haveFamily() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 94e3beb7e..d6f785915 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -283,4 +283,9 @@ bool ServerFeatures::haveServerPets() const return false; } +bool ServerFeatures::haveFamily() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 41e64cd39..9ce160ac1 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -133,6 +133,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMail() const override final A_CONST; bool haveServerPets() const override final A_CONST; + + bool haveFamily() const override final A_CONST; }; } // namespace TmwAthena |