fix: GtaThread & scrProgramTable (#65)

* fix(scrProgramTable): Removed unused include
* feat(GtaThread): Actually commit file contents
This commit is contained in:
Yimura 2022-11-09 19:17:25 +01:00 committed by GitHub
parent 4577e5b8c9
commit 7fe43eb735
2 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,20 @@
#pragma once
#include "scrThread.hpp"
class GtaThread : public rage::scrThread
{
public:
rage::joaat_t m_script_hash; // 0x120
char m_padding3[0x14]; // 0x124
std::int32_t m_instance_id; // 0x138
char m_padding4[0x04]; // 0x13C
std::uint8_t m_flag1; // 0x140
bool m_safe_for_network_game; // 0x141
char m_padding5[0x02]; // 0x142
bool m_is_minigame_script; // 0x144
char m_padding6[0x02]; // 0x145
bool m_can_be_paused; // 0x147
bool m_can_remove_blips_from_other_scripts; // 0x148
char m_padding7[0x0F]; // 0x149
};
static_assert(sizeof(GtaThread) == 0x160);

View File

@ -1,6 +1,4 @@
#pragma once
#include <list>
#include "scrProgramTableEntry.hpp"
#pragma pack(push, 1)