quite a bit of stuff

This commit is contained in:
Milxnor
2023-03-05 14:01:15 -05:00
parent 3e2da1eedf
commit 472fbdb809
45 changed files with 1076 additions and 69 deletions

View File

@@ -0,0 +1,21 @@
#include "KismetMathLibrary.h"
#include "reboot.h"
float UKismetMathLibrary::RandomFloatInRange(float min, float max)
{
static auto fn = FindObject<UFunction>("/Script/Engine.KismetMathLibrary.RandomFloatInRange");
struct { float min; float max; float ret; } params{min, max};
static auto DefaultObject = StaticClass();
DefaultObject->ProcessEvent(fn, &params);
return params.ret;
}
UClass* UKismetMathLibrary::StaticClass()
{
static auto Class = FindObject<UClass>("/Script/Engine.KismetMathLibrary");
return Class;
}