- 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]>
33 lines
739 B
C++
33 lines
739 B
C++
#include "PageTextCache.h"
|
|
#include "Engine/Source/Base/CDataStore.h"
|
|
#include "Engine/Source/Storm/H/storm.h"
|
|
|
|
// INLINED
|
|
PageTextCache::~PageTextCache() {
|
|
if (this->m_text) {
|
|
SMemFree(this->m_text, __FILE__, __LINE__, 0);
|
|
}
|
|
}
|
|
|
|
// VERIFY: f2d3b58d manual
|
|
// OFFSET: 0x0098E490
|
|
void PageTextCache::Pack(CDataStore* msg) {
|
|
if (this->m_text) {
|
|
msg->PutString(this->m_text);
|
|
} else {
|
|
msg->PutString("");
|
|
}
|
|
|
|
msg->Put(this->m_nextPage);
|
|
}
|
|
|
|
// VERIFY: 8724ce7c manual
|
|
// OFFSET: 0x0098E4D0
|
|
void PageTextCache_C::Unpack(CDataStore* msg) {
|
|
char buffer[4000];
|
|
|
|
msg->GetString(buffer, sizeof(buffer));
|
|
this->m_text = SStrDupA(buffer, __FILE__, __LINE__);
|
|
msg->Get(this->m_nextPage);
|
|
}
|