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 bb778037e..87e3bab1e 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -147,4 +147,9 @@ bool ServerFeatures::haveMonsterName() const
return true;
}
+bool ServerFeatures::haveBankApi() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index e84aca256..2debb3647 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -79,6 +79,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveEightDirections() const override final;
bool haveCharRename() const override final;
+
+ bool haveBankApi() const override final;
};
} // namespace EAthena
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 99c6a872e..8e2abbe94 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -76,6 +76,8 @@ class ServerFeatures notfinal
virtual bool haveEightDirections() const = 0;
virtual bool haveCharRename() const = 0;
+
+ virtual bool haveBankApi() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 3ab0dc600..d80a8a0fc 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -149,4 +149,9 @@ bool ServerFeatures::haveMonsterName() const
return false;
}
+bool ServerFeatures::haveBankApi() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 0194173b7..be3409d21 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -79,6 +79,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveEightDirections() const override final;
bool haveCharRename() const override final;
+
+ bool haveBankApi() const override final;
};
} // namespace TmwAthena