mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-14 03:02:22 +01:00
124 files changed.
This commit is contained in:
27
Project Reboot 3.0/FortAthenaVehicle.h
Normal file
27
Project Reboot 3.0/FortAthenaVehicle.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
UFortWeaponItemDefinition* GetVehicleWeaponForSeat(int SeatIdx);
|
||||
|
||||
static UClass* StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortAthenaVehicle");
|
||||
return Class;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user