67 lines
1.1 KiB
C++
67 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
#include "CommonTypes.generated.h"
|
|
|
|
namespace CommonTypes {
|
|
// Array of tangible IDs.
|
|
using IdArray = TArray<int64>;
|
|
|
|
// View of Array of tangible IDs.
|
|
using IdView = TArrayView<const int64>;
|
|
|
|
// Array of std::string_view
|
|
using StringViewVec = TArray<std::string_view>;
|
|
}
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxLuaValueType : uint8 {
|
|
End,
|
|
String,
|
|
Name,
|
|
Float,
|
|
Boolean,
|
|
Vector
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
//
|
|
// A variety of boolean-like results that can be conveniently
|
|
// be used in conjunction with 'ExpandEnumAsExecs' to create
|
|
// branching functions.
|
|
//
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxSuccessOrError : uint8 {
|
|
Success,
|
|
Error,
|
|
};
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxValidOrNotValid : uint8 {
|
|
Valid,
|
|
NotValid,
|
|
};
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxFoundOrNotFound : uint8 {
|
|
Found,
|
|
NotFound,
|
|
};
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxUsedOrNotUsed : uint8 {
|
|
Used,
|
|
NotUsed,
|
|
};
|
|
|
|
UENUM(BlueprintType)
|
|
enum class ElxSuccessOrWrongType : uint8 {
|
|
Success,
|
|
WrongType,
|
|
};
|
|
|
|
|