Files
SatyandClaude Opus 5.5 3b857f3eb0 Object port: object classes, object manager, input control, WOWGUID type
- 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]>
2026-09-29 12:27:05 +02:00

29 lines
871 B
C++

#include "ArenaTeamCache.h"
#include "Engine/Source/Base/CDataStore.h"
// VERIFY: ca1384a9 auto
// OFFSET: 0x0098D1B0
void ArenaTeamCache::Pack(CDataStore* msg) {
msg->Put(static_cast<uint32_t>(this->m_id));
msg->PutString(this->m_name);
msg->Put(this->m_type);
msg->Put(this->m_backgroundColor);
msg->Put(this->m_emblemStyle);
msg->Put(this->m_emblemColor);
msg->Put(this->m_borderStyle);
msg->Put(this->m_borderColor);
}
// VERIFY: 075319b6 auto
// OFFSET: 0x0098D220
void ArenaTeamCache::Unpack(CDataStore* msg) {
msg->Get(reinterpret_cast<uint32_t&>(this->m_id));
msg->GetString(this->m_name, sizeof(this->m_name));
msg->Get(this->m_type);
msg->Get(this->m_backgroundColor);
msg->Get(this->m_emblemStyle);
msg->Get(this->m_emblemColor);
msg->Get(this->m_borderStyle);
msg->Get(this->m_borderColor);
}