Ports verified against 12340 that take the x64 client from character login to a playable world: - Camera: SetView/ResetView, motion, free-look facing, tracking, bobs, liquid bump, world collision; camera Lua scripts - Input: world frame key/mouse layers, default action, mouselook, turn/pitch player, TurnOrAction/CameraOrSelectOrMove scripts - Movement: legal facing range, turn/pitch/raw facing events, transport status, move spline copy, unit update info, smooth facing, anim end - Units: component and extended display init, model fade/scale, entity sort table, RenderEntitys, split-body culling - Interiors: WMO group bounds, BSP segment link query, face linking, interior lighting - Collision: CMap::QueryFacets closure with frustum queries and NDCClip - UI: game UI mouse filters, client control state, faction standing packet, many *_Scripts.cpp Lua tables; name generator dictionary fix Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
#ifndef WOW_SOURCE_OBJECT_OBJECTCLIENT_UNITCOMBAT_C_H
|
|
#define WOW_SOURCE_OBJECT_OBJECTCLIENT_UNITCOMBAT_C_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "WoW/Source/Object/WGUID.h"
|
|
#include "WoW/Source/Net/Types.h"
|
|
|
|
class CDataStore;
|
|
|
|
class ATTACKROUNDINFO {
|
|
public:
|
|
/* 0000 */ WOWGUID m_attacker;
|
|
/* 0008 */ WOWGUID m_target;
|
|
/* 0010 */ uint32_t m_hitInfo;
|
|
/* 0014 */ int32_t m_damage;
|
|
/* 0018 */ int32_t m_overkill;
|
|
/* 001C */ uint32_t m_schoolMask [2];
|
|
/* 0024 */ float unk_0024 [2];
|
|
/* 002C */ float unk_002C [2];
|
|
/* 0034 */ float m_subDamage [2];
|
|
/* 003C */ uint32_t m_subDamageInt [2];
|
|
/* 0044 */ uint32_t m_absorbed [2];
|
|
/* 004C */ uint32_t m_resisted [2];
|
|
/* 0054 */ uint32_t m_victimState;
|
|
/* 0058 */ uint32_t unk_0058;
|
|
/* 005C */ uint32_t m_meleeSpellId;
|
|
/* 0060 */ uint32_t m_blocked;
|
|
/* 0064 */ uint32_t m_rageGained;
|
|
/* 0068 */ uint32_t unk_0068;
|
|
/* 006C */ float unk_006C [8];
|
|
/* 008C */ uint32_t unk_008C [5];
|
|
|
|
ATTACKROUNDINFO();
|
|
ATTACKROUNDINFO& operator=(const ATTACKROUNDINFO& other);
|
|
void Unpack(CDataStore& msg);
|
|
};
|
|
|
|
void TargetAttacker(const WOWGUID& attacker);
|
|
int32_t Packet_Group_29(void* param, NETMESSAGE msgId, uint32_t time, CDataStore* msg);
|
|
|
|
void UnitCombatClientInitialize();
|
|
void UnitCombatClientShutdown();
|
|
|
|
#endif
|