TmpMenu/src/sc_pointers.hpp
2023-07-15 22:37:20 +02:00

20 lines
551 B
C++

#pragma once
namespace big
{
// needed for serialization of the pointers cache
#pragma pack(push, 1)
struct socialclub_pointers
{
functions::update_presence_attribute_int m_update_presence_attribute_int;
functions::update_presence_attribute_string m_update_presence_attribute_string;
functions::start_get_presence_attributes m_start_get_presence_attributes;
PVOID m_read_attribute_patch;
PVOID m_read_attribute_patch_2;
};
#pragma pack(pop)
static_assert(sizeof(socialclub_pointers) % 8 == 0, "Pointers are not properly aligned");
}