mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
complete looting rewrite, improve combining pickups, add debug printing logs, fix some agids, fix cheat summon, fix issue with vehicle spawning.
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "Actor.h"
|
|
|
|
#include "reboot.h"
|
|
#include "FortWeaponItemDefinition.h"
|
|
|
|
class AFortAthenaVehicle : public AActor// : public AFortPhysicsPawn // Super changes based on version
|
|
{
|
|
public:
|
|
class AFortPlayerPawn* GetPawnAtSeat(int SeatIdx)
|
|
{
|
|
static auto GetPawnAtSeatFn = FindObject<UFunction>("/Script/FortniteGame.FortAthenaVehicle.GetPawnAtSeat");
|
|
struct { int SeatIdx; class AFortPlayerPawn* ReturnValue; } GetPawnAtSeat_Params{SeatIdx};
|
|
this->ProcessEvent(GetPawnAtSeatFn, &GetPawnAtSeat_Params);
|
|
|
|
return GetPawnAtSeat_Params.ReturnValue;
|
|
}
|
|
|
|
int FindSeatIndex(class AFortPlayerPawn* PlayerPawn)
|
|
{
|
|
static auto FindSeatIndexFn = FindObject<UFunction>("/Script/FortniteGame.FortAthenaVehicle.FindSeatIndex");
|
|
struct { AFortPlayerPawn* PlayerPawn; int ReturnValue; } AFortAthenaVehicle_FindSeatIndex_Params{ PlayerPawn };
|
|
this->ProcessEvent(FindSeatIndexFn, &AFortAthenaVehicle_FindSeatIndex_Params);
|
|
|
|
return AFortAthenaVehicle_FindSeatIndex_Params.ReturnValue;
|
|
}
|
|
|
|
UFortWeaponItemDefinition* GetVehicleWeaponForSeat(int SeatIdx);
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortAthenaVehicle");
|
|
return Class;
|
|
}
|
|
}; |