From 46b025293acba2cec8904e324093a3338770655d Mon Sep 17 00:00:00 2001 From: Yimura <24669514+Yimura@users.noreply.github.com> Date: Wed, 9 Nov 2022 21:13:12 +0100 Subject: [PATCH] fix(scrNativeHandler): Missing using containing scrNativeHandler (#66) --- script/scrNativeHandler.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/scrNativeHandler.hpp b/script/scrNativeHandler.hpp index ac11837..95a412c 100644 --- a/script/scrNativeHandler.hpp +++ b/script/scrNativeHandler.hpp @@ -5,9 +5,6 @@ namespace rage { - using scrNativeHash = std::int64_t; - using scrNativePair = std::pair; - class scrNativeCallContext { public: @@ -57,4 +54,8 @@ namespace rage std::uint32_t m_data[48]; }; static_assert(sizeof(scrNativeCallContext) == 0xE0); + + using scrNativeHash = std::int64_t; + using scrNativePair = std::pair; + using scrNativeHandler = void(*)(scrNativeCallContext*); } \ No newline at end of file