summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-06 23:20:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-06 23:20:57 +0300
commit4ac0902467fad3c5c0b6b116c368b6347be106c2 (patch)
treef1c3211b9a6a452ad0105f215d129b752c234287 /src/net
parent4bd16234b0853058424f9b3e2f90d27b04562148 (diff)
downloadplus-4ac0902467fad3c5c0b6b116c368b6347be106c2.tar.gz
plus-4ac0902467fad3c5c0b6b116c368b6347be106c2.tar.bz2
plus-4ac0902467fad3c5c0b6b116c368b6347be106c2.tar.xz
plus-4ac0902467fad3c5c0b6b116c368b6347be106c2.zip
Add server feature haveMultyStatusUp.
For up many pointsof stats at same packet.
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 48d0354b3..1bdbc73b8 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -270,4 +270,9 @@ bool ServerFeatures::haveSecureTrades() const
return true;
}
+bool ServerFeatures::haveMultyStatusUp() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index c005de64f..3947de160 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -127,6 +127,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExtendedDropsPosition() const override final;
bool haveSecureTrades() const override final;
+
+ bool haveMultyStatusUp() const override final;
};
} // namespace EAthena
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index cae8617e2..84bf21453 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -124,6 +124,8 @@ class ServerFeatures notfinal
virtual bool haveExtendedDropsPosition() const = 0;
virtual bool haveSecureTrades() const = 0;
+
+ virtual bool haveMultyStatusUp() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 675d399f6..0137e26a4 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -268,4 +268,9 @@ bool ServerFeatures::haveSecureTrades() const
return false;
}
+bool ServerFeatures::haveMultyStatusUp() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 76ecb6b0c..bf487332f 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -127,6 +127,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExtendedDropsPosition() const override final A_CONST;
bool haveSecureTrades() const override final A_CONST;
+
+ bool haveMultyStatusUp() const override final A_CONST;
};
} // namespace TmwAthena