Files
wowdecomp/WoW/Source/Object/CClientMoveUpdate.cpp
SatyandClaude Opus 5.5 27de58d41e Dissolve _Triage into the source tree
- move triage code to the folders of its binary neighbours (AreaList,
  movement packet types, CClientObjCreate, CWOWClientStatus, SHA1,
  Clamp, EmergencyMem, MippedImg, WowMouse, ...)
- merge HMAC template, OnGxRestartClearWorld and TIMESTAMPSTRUCT into
  their natural headers
- delete superseded duplicates and unk-only placeholders
- tools: drop Triage library, fix Streaming stub signatures, remove
  stubs now provided by BlizzardCore, MapViewer s_liquidTypeId

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 18:09:53 +02:00

29 lines
928 B
C++

#include "Engine/Source/Base/CDataStore.h"
#include "WoW/Source/Object/CClientMoveUpdate.h"
#include "WoW/Source/Object/Types.h"
// VERIFY: 02297c12 auto
// OFFSET: 0x004F5050
void CClientMoveUpdate::Skip(CDataStore* msg) {
uint32_t moveFlags = CMovementStatus::Skip(msg);
void* data;
msg->GetDataInSitu(data, 36);
if (moveFlags & MOVEMENTFLAG_SPLINE_ENABLED) {
CMoveSpline::Skip(msg);
}
}
// VERIFY: 96a84c7b auto
// OFFSET: 0x004F5090
CDataStore& operator>>(CDataStore& msg, CClientMoveUpdate& update) {
(msg >> update.m_status).Get(update.m_walkSpeed).Get(update.m_runSpeed).Get(update.m_runBackSpeed).Get(update.m_swimSpeed).Get(update.m_swimBackSpeed).Get(update.m_flightSpeed).Get(update.m_flightBackSpeed).Get(update.m_turnRate).Get(update.m_pitchRate);
if (update.m_status.m_moveFlags & MOVEMENTFLAG_SPLINE_ENABLED) {
msg >> update.m_moveSpline;
}
return msg;
}