From 7408981e131f7cdd897a3c5924ea14b272986e88 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:22:44 +1000 Subject: use a version number rather than a bool more flexible, allows for backwards compat with older OpenSB versions & not just vanilla Starbound --- source/core/StarNetCompatibility.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 source/core/StarNetCompatibility.cpp (limited to 'source/core/StarNetCompatibility.cpp') 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 -- cgit v1.2.3