- Grunt::ServerLink: all CMD_GRUNT_* handlers, send helpers, features/strings, command table 0xB24D70, s_localeIds 0xAD3004, Pending::Remove (dead server-side link, docs/0x008CE200.md); ServerLink.h stub removed - PetAction type for CGPetInfo::m_actions / pet spell actions / cursor pet action, SetAutocast 0x5D32F0 - CParticleEmitter2 fields 0x98-0x11F moved into CParticleEmitter2::Params (ctor 0x979250) - fixed16(float), C3Vector::FlushDenormals, CGxuLightQueue + static 0xC7C074, CAaSphere(), CMapLowDetail(), C2Vector()/C4Plane() out of line, SpellHistory dtor, CGDynamicObject_C GetScale/GetRawFacing - DB record operator= (PetNameCache, CGPetition, DanceCache): fixes the shallow-copy double free in AddItem - ClientSetTimer(delay, handler, param) with its five callers, IOMd5Unit::Create without container, CDataStore::GetByte / Get(int32_t&), WDataStore::GetHeaderSpace, TSHashTable::Head, TSList::IsEmpty - CameraTurnPlayer calls CVehicleCamera_C::IsTransitioningFacing 0x5FAA10 (was IsHierarchyChasingFacing) - OFFSET additions: TSHashTable::Unlink, TInstanceId dtor, DBCACHEHASH dtor (+ ItemNameCache_C dtor), CDataStoreCache ctor, BitUnpacker/RunningAverageCalculator deleting dtors, CGTooltip::GetObjectType Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
37 lines
806 B
C++
37 lines
806 B
C++
#ifndef WOW_SOURCE_OBJECT_DANCECACHE_H
|
|
#define WOW_SOURCE_OBJECT_DANCECACHE_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "WoW/Source/Object/WGUID.h"
|
|
|
|
class CDataStore;
|
|
|
|
struct DANCEMOVE {
|
|
/* 0000 */ int16_t m_moveId;
|
|
/* 0002 */ uint8_t m_chance;
|
|
/* 0003 */ uint8_t m_type;
|
|
};
|
|
|
|
class DanceCache {
|
|
public:
|
|
static const uint32_t s_cacheVersion = 1;
|
|
|
|
/* 0000 */ int32_t m_id;
|
|
/* 0004 */ uint32_t unk_0004;
|
|
/* 0008 */ WOWGUID m_guid;
|
|
/* 0010 */ char m_name[128];
|
|
/* 0090 */ DANCEMOVE* m_data;
|
|
/* 0094 */ uint32_t m_dataCount;
|
|
/* 0098 */ uint32_t unk_0098;
|
|
/* 009C */ uint32_t unk_009C;
|
|
|
|
DanceCache();
|
|
~DanceCache();
|
|
DanceCache& operator=(const DanceCache& source);
|
|
void Pack(CDataStore* msg);
|
|
void Unpack(CDataStore* msg);
|
|
};
|
|
|
|
#endif
|