diff --git a/I2Hook/plugin/API.cpp b/I2Hook/plugin/API.cpp index c4ea347..2e58f03 100644 --- a/I2Hook/plugin/API.cpp +++ b/I2Hook/plugin/API.cpp @@ -3,6 +3,8 @@ #include "..\gui\imgui\imgui.h" #include "..\mk\PlayerInfo.h" +#ifndef _60_ONLY + bool I2HOOK_GetMenuActive() { return TheMenu->m_bIsActive; @@ -83,3 +85,5 @@ bool I2HOOK_ImGui_CollapsingHeader(const char* label) return ImGui::CollapsingHeader(label); } + +#endif \ No newline at end of file diff --git a/I2Hook/plugin/API.h b/I2Hook/plugin/API.h index ecd5481..506addc 100644 --- a/I2Hook/plugin/API.h +++ b/I2Hook/plugin/API.h @@ -1,6 +1,6 @@ #pragma once #include "..\mk\Engine.h" - +#ifndef _60_ONLY extern "C" { __declspec(dllexport) bool I2HOOK_GetMenuActive(); __declspec(dllexport) MKCharacter* I2HOOK_GetCharacterObject(PLAYER_NUM id); @@ -18,4 +18,5 @@ extern "C" { __declspec(dllexport) void I2HOOK_ImGui_SetItemDefaultFocus(); __declspec(dllexport) void I2HOOK_ImGui_Separator(); __declspec(dllexport) bool I2HOOK_ImGui_CollapsingHeader(const char* label); -} \ No newline at end of file +} +#endif \ No newline at end of file