- CGObject_C base, CEffect, CObjectEffect/CObjectEffectManager effect states - Unit, Player, Item/Container/Bag, Corpse, DynamicObject, GameObject and all GameObject type classes (vtables matched slot by slot), Movement, MovementShared, Missile, Vehicle/Passenger/Camera, combat log, caches - Client object manager (0x4D3100-0x4D7880) incl. SMSG_UPDATE_OBJECT, SMSG_COMPRESSED_UPDATE_OBJECT, SMSG_DESTROY_OBJECT; type ctors/PostInit - CGGameUI::CanPerformAction and the ready part of CGInputControl - Layouts named from descriptor fields and code; CM2Model 0x134 matrix, CClientObjCreate tail, CGUnit_C/CGPlayer_C sizes 0x1008/0x1958 - WOWGUID struct replaces the IDB's WGUID low/high pair and guid uint64_t; SmartGUID derives from it; member functions returning a guid keep uint64_t (MSVC returns class types from members via hidden pointer); structs with 4-aligned guids in 12340 use pack(4) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
29 lines
910 B
C++
29 lines
910 B
C++
#include "CClientMoveUpdate.h"
|
|
#include "Engine/Source/Base/CDataStore.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;
|
|
}
|