diff --git a/script/GtaThread.hpp b/script/GtaThread.hpp index e69de29..9d0b5db 100644 --- a/script/GtaThread.hpp +++ b/script/GtaThread.hpp @@ -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); \ No newline at end of file diff --git a/script/scrProgramTable.hpp b/script/scrProgramTable.hpp index 0f34347..21e2b3f 100644 --- a/script/scrProgramTable.hpp +++ b/script/scrProgramTable.hpp @@ -1,6 +1,4 @@ #pragma once -#include - #include "scrProgramTableEntry.hpp" #pragma pack(push, 1)