mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
clip size vehicles cheat command
This commit is contained in:
14
Project Reboot 3.0/FortInventoryInterface.cpp
Normal file
14
Project Reboot 3.0/FortInventoryInterface.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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());
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user