Files
Amalgam/Amalgam/src/Hooks/CInventoryManager_ShowItemsPickedUp.cpp
T
2026-02-22 02:59:51 -05:00

17 lines
563 B
C++

#include "../SDK/SDK.h"
MAKE_SIGNATURE(CInventoryManager_ShowItemsPickedUp, "client.dll", "44 88 4C 24 ? 44 88 44 24 ? 53 41 56", 0x0);
MAKE_HOOK(CInventoryManager_ShowItemsPickedUp, S::CInventoryManager_ShowItemsPickedUp(), bool,
void* rcx, bool bForce, bool bReturnToGame, bool bNoPanel)
{
DEBUG_RETURN(CInventoryManager_ShowItemsPickedUp, rcx, bForce, bReturnToGame, bNoPanel);
if (Vars::Misc::Automation::AcceptItemDrops.Value)
{
CALL_ORIGINAL(rcx, true, true, true);
return false;
}
return CALL_ORIGINAL(rcx, bForce, bReturnToGame, bNoPanel);
}