Files
Project-Reboot-3.0/Project Reboot 3.0/FortAthenaVehicle.h
Milxnor 5e92f2e90b abundant update
complete looting rewrite, improve combining pickups, add debug printing logs, fix some agids, fix cheat summon, fix issue with vehicle spawning.
2023-05-06 19:01:56 -04:00

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;
}
};