diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-05 19:15:47 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-11 15:19:17 +1000 |
commit | 37f3178d33ab77de064bcbf10b4b03ddb47cc979 (patch) | |
tree | 76e3b3ce2d8716577af98e2bbbc4a41021db5107 /source/game/StarWorldClientState.hpp | |
parent | 90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (diff) |
Network compatibility changes
Diffstat (limited to 'source/game/StarWorldClientState.hpp')
-rw-r--r-- | source/game/StarWorldClientState.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/game/StarWorldClientState.hpp b/source/game/StarWorldClientState.hpp index 920fef4..746b7c5 100644 --- a/source/game/StarWorldClientState.hpp +++ b/source/game/StarWorldClientState.hpp @@ -36,9 +36,8 @@ public: ByteArray writeDelta(); void readDelta(ByteArray delta); - // Whether the client is connected to a legacy server. - void setLegacy(bool legacy); - bool legacy() const; + void setNetCompatibilityRules(NetCompatibilityRules netCompatibilityRules); + NetCompatibilityRules netCompatibilityRules() const; void reset(); @@ -57,7 +56,7 @@ private: NetElementInt m_playerId; NetElementData<List<EntityId>> m_clientPresenceEntities; - bool m_legacy; + NetCompatibilityRules m_netCompatibilityRules; }; } |