- 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]>
39 lines
1.4 KiB
C++
39 lines
1.4 KiB
C++
#include "GuildStats_C.h"
|
|
#include "Engine/Source/Base/CDataStore.h"
|
|
|
|
// VERIFY: 9781c6fd auto
|
|
// OFFSET: 0x0098E3F0
|
|
void GuildStats_C::Pack(CDataStore* msg) {
|
|
msg->Put(static_cast<uint32_t>(this->m_id));
|
|
msg->PutString(this->m_name);
|
|
|
|
for (uint32_t i = 0; i < 10; i++) {
|
|
msg->PutString(this->m_rankNames[i]);
|
|
}
|
|
|
|
msg->Put(static_cast<uint32_t>(this->m_emblemStyle));
|
|
msg->Put(static_cast<uint32_t>(this->m_emblemColor));
|
|
msg->Put(static_cast<uint32_t>(this->m_borderStyle));
|
|
msg->Put(static_cast<uint32_t>(this->m_borderColor));
|
|
msg->Put(static_cast<uint32_t>(this->m_background));
|
|
msg->Put(static_cast<uint32_t>(this->m_numRanks));
|
|
}
|
|
|
|
// VERIFY: 6df25489 auto
|
|
// OFFSET: 0x0075B3E0
|
|
void GuildStats_C::Unpack(CDataStore* msg) {
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_id));
|
|
msg->GetString(this->m_name, sizeof(this->m_name));
|
|
|
|
for (uint32_t i = 0; i < 10; i++) {
|
|
msg->GetString(this->m_rankNames[i], sizeof(this->m_rankNames[i]));
|
|
}
|
|
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_emblemStyle));
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_emblemColor));
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_borderStyle));
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_borderColor));
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_background));
|
|
msg->Get(reinterpret_cast<uint32_t&>(this->m_numRanks));
|
|
}
|