UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UniversalObjectLocatorParameterTypeHandle.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
8
10{
11
19{
21 : Handle(0xff)
22 {
23 }
24
26 : Handle(InHandleOffset)
27 {
28 check(InHandleOffset != 0xff);
29 }
30
31 explicit operator bool() const
32 {
33 return IsValid();
34 }
35
36 bool IsValid() const
37 {
38 return Handle != 0xff;
39 }
40
42 {
43 return Handle;
44 }
45
47 {
48 return GetTypeHash(In.Handle);
49 }
50
52 {
53 return A.Handle == B.Handle;
54 }
55
57 {
58 return A.Handle != B.Handle;
59 }
60
62 {
63 return A.Handle < B.Handle;
64 }
65
67 {
68 return A.Handle > B.Handle;
69 }
70
72
73private:
75 uint8 Handle;
76};
77
78
82template<typename T>
104
105} // namespace UE::UniversalObjectLocator
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition UniversalObjectLocatorModule.cpp:19
Definition IUniversalObjectLocatorModule.h:39
Definition Class.h:1720
Definition AnimInstanceLocatorFragment.cpp:19
Definition UniversalObjectLocatorParameterTypeHandle.h:19
friend bool operator!=(FParameterTypeHandle A, FParameterTypeHandle B)
Definition UniversalObjectLocatorParameterTypeHandle.h:56
friend uint32 GetTypeHash(FParameterTypeHandle In)
Definition UniversalObjectLocatorParameterTypeHandle.h:46
uint8 GetIndex() const
Definition UniversalObjectLocatorParameterTypeHandle.h:41
friend bool operator==(FParameterTypeHandle A, FParameterTypeHandle B)
Definition UniversalObjectLocatorParameterTypeHandle.h:51
friend bool operator<(FParameterTypeHandle A, FParameterTypeHandle B)
Definition UniversalObjectLocatorParameterTypeHandle.h:61
bool IsValid() const
Definition UniversalObjectLocatorParameterTypeHandle.h:36
UNIVERSALOBJECTLOCATOR_API UScriptStruct * Resolve(UScriptStruct *Expected=nullptr) const
Definition UniversalObjectLocatorParameterTypeHandle.cpp:10
FParameterTypeHandle()
Definition UniversalObjectLocatorParameterTypeHandle.h:20
FParameterTypeHandle(uint8 InHandleOffset)
Definition UniversalObjectLocatorParameterTypeHandle.h:25
friend bool operator>(FParameterTypeHandle A, FParameterTypeHandle B)
Definition UniversalObjectLocatorParameterTypeHandle.h:66
Definition UniversalObjectLocatorParameterTypeHandle.h:84
UScriptStruct * Resolve() const
Definition UniversalObjectLocatorParameterTypeHandle.h:89
TParameterTypeHandle()
Definition UniversalObjectLocatorParameterTypeHandle.h:85