mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-08 10:23:34 +08:00
feat(Pointers): Added trigger_script_event
This commit is contained in:
parent
05f591fb9c
commit
f01875d2c9
@ -15,4 +15,6 @@ namespace big::functions
|
|||||||
using gta_thread_kill = __int64(GtaThread* a1);
|
using gta_thread_kill = __int64(GtaThread* a1);
|
||||||
|
|
||||||
using increment_stat_event = bool(uint64_t net_event_struct, int64_t sender, int64_t a3);
|
using increment_stat_event = bool(uint64_t net_event_struct, int64_t sender, int64_t a3);
|
||||||
|
|
||||||
|
using trigger_script_event = int(int unk0, int64_t* args, int argCount, int bitFlags);
|
||||||
}
|
}
|
||||||
|
@ -133,6 +133,11 @@ namespace big
|
|||||||
m_error_screen = ptr.as<decltype(m_error_screen)>();
|
m_error_screen = ptr.as<decltype(m_error_screen)>();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
main_batch.add("Trigger Script Event", "48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 81 EC ? ? ? ? 45 8B F0 41 8B F9", [this](memory::handle ptr)
|
||||||
|
{
|
||||||
|
m_trigger_script_event = ptr.as<decltype(m_trigger_script_event)>();
|
||||||
|
});
|
||||||
|
|
||||||
main_batch.run(memory::module(nullptr));
|
main_batch.run(memory::module(nullptr));
|
||||||
|
|
||||||
m_hwnd = FindWindowW(L"grcWindow", nullptr);
|
m_hwnd = FindWindowW(L"grcWindow", nullptr);
|
||||||
|
@ -47,6 +47,8 @@ namespace big
|
|||||||
functions::gta_thread_kill* m_gta_thread_kill{};
|
functions::gta_thread_kill* m_gta_thread_kill{};
|
||||||
|
|
||||||
functions::increment_stat_event* m_increment_stat_event{};
|
functions::increment_stat_event* m_increment_stat_event{};
|
||||||
|
|
||||||
|
functions::trigger_script_event* m_trigger_script_event{};
|
||||||
};
|
};
|
||||||
|
|
||||||
inline pointers *g_pointers{};
|
inline pointers *g_pointers{};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user