Finish implementing LUA_PROBE

This commit is contained in:
2024-09-05 01:33:37 -04:00
parent ede234fc8a
commit fabbc55b86
4 changed files with 95 additions and 4 deletions

View File

@@ -3,6 +3,15 @@
#include "CoreMinimal.h"
#include "LuaCall.generated.h"
UENUM(BlueprintType)
enum class ELpxSimpleDynamicTag : uint8 {
None,
String,
Float,
Boolean,
Vector
};
////////////////////////////////////////////////
//
// This UClass is never instantiated. It exists to
@@ -35,7 +44,25 @@ public:
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static void LuaCallInvoke(UObject *context, AActor *place);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static void LuaCallProbe(UObject *context, AActor *place);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static void InvokeEngioMove(UObject *context, const FString &action, const FVector &xyz, double facing);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static ELpxSimpleDynamicTag LuaCallNextResultType(UObject *context);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static FString LuaCallGetStringResult(UObject *context);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static double LuaCallGetFloatResult(UObject *context);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static FVector LuaCallGetVectorResult(UObject *context);
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
static bool LuaCallGetBooleanResult(UObject *context);
};