summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 4c87536b0..6f031681e 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -280,4 +280,9 @@ bool ServerFeatures::haveMail() const
return true;
}
+bool ServerFeatures::haveServerPets() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 86e14ffc3..fee5aaea5 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -131,6 +131,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMultyStatusUp() const override final;
bool haveMail() const override final;
+
+ bool haveServerPets() const override final;
};
} // namespace EAthena
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index fbba2988a..30fb97f5c 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -128,6 +128,8 @@ class ServerFeatures notfinal
virtual bool haveMultyStatusUp() const = 0;
virtual bool haveMail() const = 0;
+
+ virtual bool haveServerPets() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 22ca73f2b..94e3beb7e 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -278,4 +278,9 @@ bool ServerFeatures::haveMail() const
return false;
}
+bool ServerFeatures::haveServerPets() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index f4031a7ea..41e64cd39 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -131,6 +131,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMultyStatusUp() const override final A_CONST;
bool haveMail() const override final A_CONST;
+
+ bool haveServerPets() const override final A_CONST;
};
} // namespace TmwAthena