More work on look-at, split LuaCall into LuaInvoke/LuaProbe

This commit is contained in:
2025-04-08 16:31:16 -04:00
parent c060b87556
commit 8a9d5550d9
10 changed files with 126 additions and 111 deletions

View File

@@ -17,7 +17,7 @@ class UlxLuaValues;
UENUM(BlueprintType)
enum class ElxLuaValueType : uint8 {
None,
End,
String,
Name,
Float,
@@ -272,7 +272,7 @@ public:
bool IsNextType(ElxLuaValueType Type) const { return NextType() == Type; }
UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "ReturnValue"), Category = "Luprex|Lua Value Array")
ElxLuaValueType SwitchNextType() const { return NextType(); }
ElxLuaValueType SwitchNextType() { return NextType(); }
UFUNCTION(BlueprintCallable, meta = (ExpandEnumAsExecs = "Status"), Category = "Luprex|Lua Value Array")
void ReadString(ElxSuccessOrError &Status, FString &Result);