Add project files.

This commit is contained in:
Milxnor
2023-03-04 15:06:07 -05:00
commit 039731eb68
200 changed files with 32320 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
#include "GameplayStatics.h"
#include "reboot.h"
TArray<AActor*> UGameplayStatics::GetAllActorsOfClass(const UObject* WorldContextObject, UClass* ActorClass)
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.GameplayStatics.GetAllActorsOfClass");
TArray<AActor*> ahh;
struct { const UObject* WorldContextObject; UClass* ActorClass; TArray<AActor*> OutActors; }
UGameplayStatics_GetAllActorsOfClass_Params{ WorldContextObject, ActorClass, ahh };
static auto defaultObj = StaticClass();
defaultObj->ProcessEvent(fn, &UGameplayStatics_GetAllActorsOfClass_Params);
return ahh;
}
float UGameplayStatics::GetTimeSeconds(const UObject* WorldContextObject)
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.GameplayStatics.GetTimeSeconds");
float TimeSeconds = 0;
static auto defaultObj = StaticClass();
defaultObj->ProcessEvent(fn, &TimeSeconds);
return TimeSeconds;
}
UClass* UGameplayStatics::StaticClass()
{
static auto Class = FindObject<UClass>(L"/Script/Engine.GameplayStatics");
return Class;
}