Added LuaCall.h
This commit is contained in:
41
Source/Integration/LuaCall.h
Normal file
41
Source/Integration/LuaCall.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "LuaCall.generated.h"
|
||||
|
||||
////////////////////////////////////////////////
|
||||
//
|
||||
// This UClass is never instantiated. It exists to
|
||||
// expose certain static functions to the blueprint
|
||||
// library.
|
||||
//
|
||||
////////////////////////////////////////////////
|
||||
|
||||
UCLASS()
|
||||
class INTEGRATION_API UlxLuaCallLibrary : public UObject
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallBegin(UObject *context, const FString &cname, const FString &fname);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallAddStringParameter(UObject *context, const FString &pstring);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallAddFloatParameter(UObject *context, double pfloat);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallAddVectorParameter(UObject *context, const FVector &pvector);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallAddBooleanParameter(UObject *context, bool pbool);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void LuaCallInvoke(UObject *context, bool background);
|
||||
|
||||
UFUNCTION(BlueprintCallable, meta = (WorldContext = "context"), Category = Luprex)
|
||||
static void InvokeEngioMove(UObject *context, const FString &action, const FVector &xyz, double facing);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user