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]>
33 lines
672 B
C++
33 lines
672 B
C++
#ifndef WOW_SOURCE_OBJECT_WGUID_H
|
|
#define WOW_SOURCE_OBJECT_WGUID_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class CDataStore;
|
|
|
|
struct WOWGUID {
|
|
/* 0000 */ uint64_t m_guid;
|
|
|
|
explicit operator bool() const {
|
|
return this->m_guid != 0;
|
|
}
|
|
|
|
bool operator==(const WOWGUID& guid) const {
|
|
return this->m_guid == guid.m_guid;
|
|
}
|
|
|
|
bool operator!=(const WOWGUID& guid) const {
|
|
return this->m_guid != guid.m_guid;
|
|
}
|
|
};
|
|
|
|
struct SmartGUID : public WOWGUID {
|
|
CDataStore& Put(CDataStore& msg) const;
|
|
};
|
|
|
|
CDataStore& operator>>(CDataStore& msg, SmartGUID& guid);
|
|
CDataStore& operator<<(CDataStore& msg, const SmartGUID& guid);
|
|
|
|
#endif
|