Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarNetCompatibility.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-09-11 18:22:44 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-09-11 18:22:44 +1000
commit7408981e131f7cdd897a3c5924ea14b272986e88 (patch)
tree4e99c67e587aa7c1e9b4dbd046177efbc4ba4011 /source/core/StarNetCompatibility.cpp
parent5a75473e16afb8152aab943fd316d9820835f465 (diff)
use a version number rather than a bool
more flexible, allows for backwards compat with older OpenSB versions & not just vanilla Starbound
Diffstat (limited to 'source/core/StarNetCompatibility.cpp')
-rw-r--r--source/core/StarNetCompatibility.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/core/StarNetCompatibility.cpp b/source/core/StarNetCompatibility.cpp
new file mode 100644
index 0000000..fdd53fb
--- /dev/null
+++ b/source/core/StarNetCompatibility.cpp
@@ -0,0 +1,7 @@
+#include "StarNetCompatibility.hpp"
+
+namespace Star {
+
+VersionNumber const OpenProtocolVersion = 2;
+
+} \ No newline at end of file