This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/sc_pointers.hpp

20 lines
551 B
C++
Raw Normal View History

2023-04-14 18:54:07 +02:00
#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;
2023-04-14 18:54:07 +02:00
functions::start_get_presence_attributes m_start_get_presence_attributes;
PVOID m_read_attribute_patch;
PVOID m_read_attribute_patch_2;
2023-04-14 18:54:07 +02:00
};
#pragma pack(pop)
2023-04-16 18:28:49 +00:00
static_assert(sizeof(socialclub_pointers) % 8 == 0, "Pointers are not properly aligned");
2023-04-14 18:54:07 +02:00
}