Finish implementing IsKeyUsedByPlayerController
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "CommonTypes.generated.h"
|
||||
|
||||
namespace CommonTypes {
|
||||
// Array of tangible IDs.
|
||||
using IdArray = TArray<int64>;
|
||||
@@ -10,3 +12,47 @@ namespace CommonTypes {
|
||||
// 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 ElxFoundOrNotFound : uint8 {
|
||||
Found,
|
||||
NotFound,
|
||||
};
|
||||
|
||||
UENUM(BlueprintType)
|
||||
enum class ElxUsedOrNotUsed : uint8 {
|
||||
Used,
|
||||
NotUsed,
|
||||
};
|
||||
|
||||
UENUM(BlueprintType)
|
||||
enum class ElxSuccessOrWrongType : uint8 {
|
||||
Success,
|
||||
WrongType,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user