summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-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 a0c9c7780..4c24e088e 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -200,6 +200,11 @@ bool ServerFeatures::haveCart() const
return true;
}
+bool ServerFeatures::haveCards() const
+{
+ return true;
+}
+
bool ServerFeatures::haveTalkPet() const
{
return serverVersion > 0;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index e09cf9117..4d07c12b4 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -100,6 +100,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCart() const override final A_CONST;
+ bool haveCards() const override final A_CONST;
+
bool haveTalkPet() const override final;
bool haveMovePet() const override final;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index aa5902bb0..8f7959470 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -97,6 +97,8 @@ class ServerFeatures notfinal
virtual bool haveCart() const = 0;
+ virtual bool haveCards() const = 0;
+
virtual bool haveTalkPet() const = 0;
virtual bool haveMovePet() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index e9615a68a..c33030ca1 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -198,6 +198,11 @@ bool ServerFeatures::haveCart() const
return false;
}
+bool ServerFeatures::haveCards() const
+{
+ return false;
+}
+
bool ServerFeatures::haveTalkPet() const
{
return true;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 10f328077..7cde29acc 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -100,6 +100,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCart() const override final A_CONST;
+ bool haveCards() const override final A_CONST;
+
bool haveTalkPet() const override final A_CONST;
bool haveMovePet() const override final A_CONST;