Navigation
API > API/Plugins > API/Plugins/UAF
An attribute mapping key encodes a mapping from an attribute type to a value type akin to the key in something like TMap
| Name | FAttributeMappingKey |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/AttributeMappingKey.h |
| Include Path | #include "UAF/ValueRuntime/AttributeMappingKey.h" |
Syntax
class FAttributeMappingKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FAttributeMappingKey () |
Creates a default mapping key which will have the smallest value possible (aka zero) | UAF/ValueRuntime/AttributeMappingKey.h | |
constexpr FAttributeMappingKey
(
UScriptStruct* AttributeAndValueType |
Creates a mapping key from the specified type which maps onto itself. | UAF/ValueRuntime/AttributeMappingKey.h | |
constexpr FAttributeMappingKey
(
UScriptStruct* AttributeType, |
Creates a mapping key from the specified values. | UAF/ValueRuntime/AttributeMappingKey.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LARGEST_VALUE | const FAttributeMappingKey | Largest possible value for a mapping key. | UAF/ValueRuntime/AttributeMappingKey.h |
| SMALLEST_VALUE | const FAttributeMappingKey | Smallest possible value for a mapping key. | UAF/ValueRuntime/AttributeMappingKey.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeType | UScriptStruct * | The attribute type of our typed set whose values we map to. | UAF/ValueRuntime/AttributeMappingKey.h | |
| ValueType | UScriptStruct * | The type of values we map onto our set. | UAF/ValueRuntime/AttributeMappingKey.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns a new mapping key where we map from the specified attribute type. | UAF/ValueRuntime/AttributeMappingKey.h | ||
FAttributeMappingKey From
(
UScriptStruct* FromAttributeType |
Returns a new mapping key where we map from the specified attribute type. | UAF/ValueRuntime/AttributeMappingKey.h | |
UScriptStruct * GetAttributeType() |
Returns the attribute type that we map from. | UAF/ValueRuntime/AttributeMappingKey.h | |
UScriptStruct * GetValueType() |
Returns the value type that we map to. | UAF/ValueRuntime/AttributeMappingKey.h | |
| Returns a new mapping key where we map to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h | ||
FAttributeMappingKey To
(
UScriptStruct* ToValueType |
Returns a new mapping key where we map to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAttributeMappingKey MakeFrom
(
UScriptStruct* AttributeType |
Returns a new mapping key where we map from the specified attribute type to nothing. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeFrom () |
Returns a new mapping key where we map from the specified attribute type to nothing. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeFromTo () |
Returns a new mapping key where we map onto itself. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeFromTo () |
Returns a new mapping key where we map from the specified attribute type to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeFromTo
(
UScriptStruct* AttributeAndValueType |
Returns a new mapping key where we map onto itself. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeFromTo
(
UScriptStruct* FromAttributeType, |
Returns a new mapping key where we map from the specified attribute type to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeTo () |
Returns a new mapping key where we map from nothing to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h | |
static FAttributeMappingKey MakeTo
(
UScriptStruct* ValueType |
Returns a new mapping key where we map from nothing to the specified value type. | UAF/ValueRuntime/AttributeMappingKey.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FAttributeMappingKey& Other |
Equality operator. | UAF/ValueRuntime/AttributeMappingKey.h |