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
maybegreat48 1127e51a52
Optimizations (#2649)
* fix(Respawn): fix respawn in SP
* fix: re-enable bigobj
* fix: update creator's stack size
* fix: use BOOLs instead of bools
* fix(gitignore): hide .pyc files
2023-12-29 17:07:00 +01:00

21 lines
581 B
C++

#pragma once
#include "function_types.hpp"
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");
}