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

summaryrefslogtreecommitdiff
path: root/source/game/interfaces/StarEntity.cpp
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/interfaces/StarEntity.cpp
parent90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (diff)
Network compatibility changes
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) {}