Refactors in UlxLuaValues, and add cursor-rewind to ReadLuaValues node.

This commit is contained in:
2026-03-04 20:32:05 -05:00
parent 6d018fc02b
commit db53935db9
4 changed files with 79 additions and 114 deletions

View File

@@ -11,6 +11,7 @@
#pragma once
#include <string_view>
#include "lpx-basebuffer.hpp"
#include "Blueprint/UserWidget.h"
#include "Common.generated.h"
@@ -56,6 +57,12 @@ enum class ElxLuaValueType : uint8 {
Vector
};
struct LuaValue : BaseLuaValue<std::string>
{
ElxLuaValueType GetElxType() const { return static_cast<ElxLuaValueType>(type); }
void SetElxType(ElxLuaValueType t) { type = static_cast<LuaValueType>(t); }
};
////////////////////////////////////////////////////////////
//
// Branching Enums