mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 19:22:22 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
36
dependencies/reboot/Project Reboot 3.0/FortAthenaVehicle.h
vendored
Normal file
36
dependencies/reboot/Project Reboot 3.0/FortAthenaVehicle.h
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user