diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 7689ebc2b..c4e53dd42 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -220,4 +220,9 @@ bool ServerFeatures::haveServerWarpNames() const return serverVersion == 0; } +bool ServerFeatures::haveExpPacket() const +{ + return true; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index eff1cc439..a60c67ee5 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -107,6 +107,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMovePet() const override final; bool haveServerWarpNames() const override final; + + bool haveExpPacket() const override final; }; } // namespace EAthena diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index bc860e233..1ae9a2933 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -104,6 +104,8 @@ class ServerFeatures notfinal virtual bool haveMovePet() const = 0; virtual bool haveServerWarpNames() const = 0; + + virtual bool haveExpPacket() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index be0b5ff59..4c57c7d1e 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -219,4 +219,9 @@ bool ServerFeatures::haveServerWarpNames() const return false; } +bool ServerFeatures::haveExpPacket() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index a570b1a52..f30cdbd20 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -107,6 +107,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMovePet() const override final; bool haveServerWarpNames() const override final; + + bool haveExpPacket() const override final; }; } // namespace TmwAthena |