mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
14 lines
616 B
C++
14 lines
616 B
C++
#include "FortInventoryInterface.h"
|
|
|
|
#include "reboot.h"
|
|
|
|
char UFortInventoryInterface::RemoveInventoryItemHook(__int64 a1, FGuid a2, int Count, char bForceRemoveFromQuickBars, char bForceRemoval)
|
|
{
|
|
static auto FortPlayerControllerSuperSize = (*(UClass**)(__int64(FindObject<UClass>("/Script/FortniteGame.FortPlayerController")) + Offsets::SuperStruct))->GetPropertiesSize();
|
|
auto Controller = *(UObject**)(__int64(a1) - (FortPlayerControllerSuperSize + 8));
|
|
|
|
LOG_INFO(LogDev, "FortPlayerControllerSuperSize: {}", FortPlayerControllerSuperSize);
|
|
LOG_INFO(LogDev, "Controller: {}", Controller->GetFullName());
|
|
|
|
|
|
} |