diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-08 06:20:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-08 06:20:21 +0300 |
commit | b17247b5586f7e6a20802a0d3113b96c50810665 (patch) | |
tree | b197a098a89d01a70387cac2264882e1dd3561cd /src/net/eathena | |
parent | fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d (diff) | |
download | manaverse-b17247b5586f7e6a20802a0d3113b96c50810665.tar.gz manaverse-b17247b5586f7e6a20802a0d3113b96c50810665.tar.bz2 manaverse-b17247b5586f7e6a20802a0d3113b96c50810665.tar.xz manaverse-b17247b5586f7e6a20802a0d3113b96c50810665.zip |
Add server feature for check is pincode supported.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index e5d987b4a..a5f68a9cb 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -150,4 +150,9 @@ bool ServerFeatures::haveKillerId() const return serverVersion >= 14; } +bool ServerFeatures::havePincode() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index c96e08114..d1912be01 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -79,6 +79,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMoveWhileSit() const override final; bool haveKillerId() const override final; + + bool havePincode() const override final; }; } // namespace EAthena |