fix cheat god, fix 1.7.2, 1.8, 2.4.2, and probably 2.5, add rocket event idk couldnt test, fix some crashes.
This commit is contained in:
Milxnor
2023-04-25 18:22:59 -04:00
parent 358a2a9ef2
commit 93d18a3fe9
19 changed files with 180 additions and 40 deletions

View File

@@ -3,6 +3,16 @@
#include "FortPlayerController.h"
#include "FortGadgetItemDefinition.h"
FFortAthenaLoadout* AFortPlayerPawn::GetCosmeticLoadout()
{
static auto CosmeticLoadoutOffset = GetOffset("CosmeticLoadout");
if (CosmeticLoadoutOffset == -1)
return nullptr;
return GetPtr<FFortAthenaLoadout>(CosmeticLoadoutOffset);
}
void AFortPlayerPawn::ServerChoosePart(EFortCustomPartType Part, UObject* ChosenCharacterPart)
{
static auto fn = FindObject<UFunction>("/Script/FortniteGame.FortPlayerPawn.ServerChoosePart");