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

summaryrefslogtreecommitdiff
path: root/source/core/StarDataStream.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-05 15:39:11 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-05 15:39:11 +1100
commitdd52188e53e690f8eb872421f8a4c3bcc5699133 (patch)
treee99bf401ffad1f2b3988922188a12cffc04147f6 /source/core/StarDataStream.hpp
parent3fc12923ce2db3a5af87d8d1195ce2ac4c5b6030 (diff)
add sky setting overrides to celestial.flyShip, pass net rules to packet read/write
Diffstat (limited to 'source/core/StarDataStream.hpp')
-rw-r--r--source/core/StarDataStream.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/core/StarDataStream.hpp b/source/core/StarDataStream.hpp
index abcbff4..d5f9bcb 100644
--- a/source/core/StarDataStream.hpp
+++ b/source/core/StarDataStream.hpp
@@ -6,6 +6,7 @@
namespace Star {
STAR_EXCEPTION(DataStreamException, IOException);
+extern unsigned const CurrentStreamVersion;
// Writes complex types to bytes in a portable big-endian fashion.
class DataStream {
@@ -13,8 +14,6 @@ public:
DataStream();
virtual ~DataStream() = default;
- static unsigned const CurrentStreamVersion = 2;
-
// DataStream defaults to big-endian order for all primitive types
ByteOrder byteOrder() const;
void setByteOrder(ByteOrder byteOrder);