diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 16:34:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 16:34:42 +0300 |
commit | 8185a857a4d9152b3dda7f6b5649a27427010605 (patch) | |
tree | 13b06f5def1764c8061d406acd1bfa43159b39f0 /src/net/tmwa | |
parent | 64597d0d8fafff56779fc9a107196465ce073b3a (diff) | |
download | plus-8185a857a4d9152b3dda7f6b5649a27427010605.tar.gz plus-8185a857a4d9152b3dda7f6b5649a27427010605.tar.bz2 plus-8185a857a4d9152b3dda7f6b5649a27427010605.tar.xz plus-8185a857a4d9152b3dda7f6b5649a27427010605.zip |
add server feature havePlayerStatusUpdate.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 582ae4050..28f0a3cee 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -59,4 +59,9 @@ bool ServerFeatures::haveLangTab() const return serverVersion >= 8; } +bool ServerFeatures::havePlayerStatusUpdate() const +{ + return serverVersion >= 4; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 10c6dd899..87a1b61b0 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -43,6 +43,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveServerHp() const override final; bool haveLangTab() const override final; + + bool havePlayerStatusUpdate() const override final; }; } // namespace TmwAthena |