From 4ac0902467fad3c5c0b6b116c368b6347be106c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Mar 2016 23:20:08 +0300 Subject: Add server feature haveMultyStatusUp. For up many pointsof stats at same packet. --- src/net/eathena/serverfeatures.cpp | 5 +++++ src/net/eathena/serverfeatures.h | 2 ++ src/net/serverfeatures.h | 2 ++ src/net/tmwa/serverfeatures.cpp | 5 +++++ src/net/tmwa/serverfeatures.h | 2 ++ 5 files changed, 16 insertions(+) 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 -- cgit v1.2.3-70-g09d2