feat(object): add CClientMoveUpdate::Skip

This commit is contained in:
fallenoak committed 2026-01-13 19:50:39 -06:00
1 parent 31fca17064
commit 1e13e33f2a
6 files changed
+82

No files matched your search

+11
View File
@@ -1,5 +1,16 @@
#include "object/client/CClientMoveUpdate.hpp"
void CClientMoveUpdate::Skip(CDataStore* msg) {
uint32_t moveFlags = CMovementStatus::Skip(msg);
void* data;
msg->GetDataInSitu(data, 9 * sizeof(float));
if (moveFlags & 0x8000000) {
CMoveSpline::Skip(msg);
}
}
CDataStore& operator>>(CDataStore& msg, CClientMoveUpdate& move) {
msg >> move.status;
+2
View File
@@ -18,6 +18,8 @@ struct CClientMoveUpdate {
float float80;
// TODO
CMoveSpline spline;
static void Skip(CDataStore* msg);
};
CDataStore& operator>>(CDataStore& msg, CClientMoveUpdate& move);