summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 16 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
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index f1c863090..defa1e086 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -81,6 +81,8 @@ class ServerFeatures notfinal
virtual bool haveMoveWhileSit() const = 0;
virtual bool haveKillerId() const = 0;
+
+ virtual bool havePincode() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 23b9d6598..c6e38da8c 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -148,4 +148,9 @@ bool ServerFeatures::haveKillerId() const
return false;
}
+bool ServerFeatures::havePincode() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index bf836251a..2f5c118af 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -79,6 +79,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMoveWhileSit() const override final A_CONST;
bool haveKillerId() const override final A_CONST;
+
+ bool havePincode() const override final A_CONST;
};
} // namespace TmwAthena