From c79a9b4ffa2762be199b85a78cd798d4bccc9b1b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 17:45:17 +0300 Subject: Add server feature haveIncompleteChatMessages. --- src/net/tmwa/serverfeatures.cpp | 5 +++++ src/net/tmwa/serverfeatures.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 498d19249..31b7a16ed 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -74,4 +74,9 @@ bool ServerFeatures::haveNativeGuilds() const return tmwServerVersion <= 0; } +bool ServerFeatures::haveIncompleteChatMessages() const +{ + return tmwServerVersion > 0; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 3aba539dd..916fbf3db 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -49,6 +49,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveBrokenPlayerAttackDistance() const override final; bool haveNativeGuilds() const override final; + + bool haveIncompleteChatMessages() const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2