diff options
Diffstat (limited to 'source/game/StarPlant.hpp')
-rw-r--r-- | source/game/StarPlant.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/StarPlant.hpp b/source/game/StarPlant.hpp index 53aed5f..ddb9501 100644 --- a/source/game/StarPlant.hpp +++ b/source/game/StarPlant.hpp @@ -57,10 +57,10 @@ public: Plant(GrassVariant const& config, uint64_t seed); Plant(BushVariant const& config, uint64_t seed); Plant(Json const& diskStore); - Plant(ByteArray const& netStore); + Plant(ByteArray const& netStore, NetCompatibilityRules rules = {}); Json diskStore() const; - ByteArray netStore() const; + ByteArray netStore(NetCompatibilityRules rules = {}) const; EntityType entityType() const override; @@ -68,8 +68,8 @@ public: virtual String description() const override; - pair<ByteArray, uint64_t> writeNetState(uint64_t fromVersion = 0) override; - void readNetState(ByteArray data, float interpolationTime = 0.0f) override; + pair<ByteArray, uint64_t> writeNetState(uint64_t fromVersion = 0, NetCompatibilityRules rules = {}) override; + void readNetState(ByteArray data, float interpolationTime = 0.0f, NetCompatibilityRules rules = {}) override; void enableInterpolation(float extrapolationHint) override; void disableInterpolation() override; |