Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/I/IMemoryStoreBase.h
T
2026-05-30 18:33:24 +12:00

22 lines
574 B
C++

#pragma once
namespace RE
{
class MemoryStats;
class __declspec(novtable) IMemoryStoreBase
{
public:
static constexpr auto RTTI{ RTTI::IMemoryStoreBase };
static constexpr auto VTABLE{ VTABLE::IMemoryStoreBase };
virtual ~IMemoryStoreBase() = default; // 00
// add
virtual std::size_t Size(void const* a_mem) const = 0; // 01
virtual void GetMemoryStats(MemoryStats* a_stats) = 0; // 02
virtual bool ContainsBlockImpl(const void* a_block) const = 0; // 03
};
static_assert(sizeof(IMemoryStoreBase) == 0x8);
}