summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 00:25:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 00:25:31 +0300
commit615445b73ce4378a9d62e64d9f90cefdb26979c7 (patch)
tree0f25c1f9a3773846b7fe24e80351a027a89a41bb
parent8bb1132c68330d892a6ca78b58daa5cbf7dd6c01 (diff)
downloadplus-615445b73ce4378a9d62e64d9f90cefdb26979c7.tar.gz
plus-615445b73ce4378a9d62e64d9f90cefdb26979c7.tar.bz2
plus-615445b73ce4378a9d62e64d9f90cefdb26979c7.tar.xz
plus-615445b73ce4378a9d62e64d9f90cefdb26979c7.zip
Add server feature haveMail.
-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 1bdbc73b8..4c87536b0 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -275,4 +275,9 @@ bool ServerFeatures::haveMultyStatusUp() const
return true;
}
+bool ServerFeatures::haveMail() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 3947de160..86e14ffc3 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -129,6 +129,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveSecureTrades() const override final;
bool haveMultyStatusUp() const override final;
+
+ bool haveMail() const override final;
};
} // namespace EAthena
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 84bf21453..fbba2988a 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -126,6 +126,8 @@ class ServerFeatures notfinal
virtual bool haveSecureTrades() const = 0;
virtual bool haveMultyStatusUp() const = 0;
+
+ virtual bool haveMail() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 0137e26a4..22ca73f2b 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -273,4 +273,9 @@ bool ServerFeatures::haveMultyStatusUp() const
return false;
}
+bool ServerFeatures::haveMail() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index bf487332f..f4031a7ea 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -129,6 +129,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveSecureTrades() const override final A_CONST;
bool haveMultyStatusUp() const override final A_CONST;
+
+ bool haveMail() const override final A_CONST;
};
} // namespace TmwAthena