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

summaryrefslogtreecommitdiff
path: root/source/game/StarEntityFactory.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-09-05 19:15:47 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-09-11 15:19:17 +1000
commit37f3178d33ab77de064bcbf10b4b03ddb47cc979 (patch)
tree76e3b3ce2d8716577af98e2bbbc4a41021db5107 /source/game/StarEntityFactory.hpp
parent90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (diff)
Network compatibility changes
Diffstat (limited to 'source/game/StarEntityFactory.hpp')
-rw-r--r--source/game/StarEntityFactory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarEntityFactory.hpp b/source/game/StarEntityFactory.hpp
index 09d4e99..7d5c014 100644
--- a/source/game/StarEntityFactory.hpp
+++ b/source/game/StarEntityFactory.hpp
@@ -20,8 +20,8 @@ class EntityFactory {
public:
EntityFactory();
- ByteArray netStoreEntity(EntityPtr const& entity) const;
- EntityPtr netLoadEntity(EntityType type, ByteArray const& netStore) const;
+ ByteArray netStoreEntity(EntityPtr const& entity, NetCompatibilityRules rules = {}) const;
+ EntityPtr netLoadEntity(EntityType type, ByteArray const& netStore, NetCompatibilityRules rules = {}) const;
Json diskStoreEntity(EntityPtr const& entity) const;
EntityPtr diskLoadEntity(EntityType type, Json const& diskStore) const;