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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClientState.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldClientState.hpp')
-rw-r--r--source/game/StarWorldClientState.hpp7
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;
};
}