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

summaryrefslogtreecommitdiff
path: root/source/game/interfaces/StarEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/interfaces/StarEntity.cpp')
-rw-r--r--source/game/interfaces/StarEntity.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/game/interfaces/StarEntity.cpp b/source/game/interfaces/StarEntity.cpp
index cbc968f..150fcbd 100644
--- a/source/game/interfaces/StarEntity.cpp
+++ b/source/game/interfaces/StarEntity.cpp
@@ -1,5 +1,6 @@
#include "StarEntity.hpp"
#include "StarDamageManager.hpp"
+#include "StarNetCompatibility.hpp"
namespace Star {
@@ -43,11 +44,11 @@ void Entity::uninit() {
m_entityId = NullEntityId;
}
-pair<ByteArray, uint64_t> Entity::writeNetState(uint64_t) {
+pair<ByteArray, uint64_t> Entity::writeNetState(uint64_t fromVersion, NetCompatibilityRules rules) {
return {ByteArray(), 0};
}
-void Entity::readNetState(ByteArray, float) {}
+void Entity::readNetState(ByteArray data, float interpolationTime, NetCompatibilityRules rules) {}
void Entity::enableInterpolation(float) {}