/*
rtti/client.dll/vobjects.txt
client.dll - sha1: da825be96c9ed93d270480878c48e17147b749e4 timestamp: 1733173917(21:11:57 02 Dec 2024)
CDOTAPlayerInventory (hierarchy CDOTAPlayerInventory: CPlayerInventory, GCSDK::ISharedObjectListener)
*/
constexpr auto CDOTAPlayerInventory_RVA = 0x506f418;
class CDOTAPlayerInventory : public VClass
{
static constexpr auto STEAMID_OFFSET = 0x8;
public:
std::uint64_t GetSteamID() const noexcept
{
return Member<std::uint64_t>(STEAMID_OFFSET);
}
private:
/*
$ ==> | 4C:8D05 408C7801 | lea r8,qword ptr ds:[7FFF77F53358] | "CL: CPlayerInventory::SOCacheSubscribed %s\n"
$+7 | 4C:8BC8 | mov r9,rax |
$+A | BA 01000000 | mov edx,1 |
$+F | FF15 8A8D6200 | call qword ptr ds:[<&LoggingSystem_Log>] |
$+15 | 48:8BCF | mov rcx,rdi |
$+18 | E8 B261FDFF | call client.7FFF767A08E0 |
$+1D | 48:899F A0000000 | mov qword ptr ds:[rdi+A0],rbx <----- |
$+24 | 48:85DB | test rbx,rbx |
$+27 | 0F84 1B020000 | je client.7FFF767CA959 |
*/
/* rtti GCSDK::CGCClientSharedObjectCache */
static constexpr auto SOCACHE_OFFSET = 0xA0;
public:
GCSDK_CSharedObjectCache* GetSOCache() const noexcept
{
return Member<GCSDK_CSharedObjectCache*>(SOCACHE_OFFSET);
}
};