summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-15 23:52:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-15 23:52:33 +0300
commit7246c1d726744e07d9db24ffc68f6934b6c8264f (patch)
treea6dbf6e8e889c6f5e0b0ef5cc3583955674a8ae9 /src
parent31a13e296a21a7735e8d217b4d7f13fa32ee4033 (diff)
downloadplus-7246c1d726744e07d9db24ffc68f6934b6c8264f.tar.gz
plus-7246c1d726744e07d9db24ffc68f6934b6c8264f.tar.bz2
plus-7246c1d726744e07d9db24ffc68f6934b6c8264f.tar.xz
plus-7246c1d726744e07d9db24ffc68f6934b6c8264f.zip
Add in server features function haveBankApi.
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 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