Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocatorFragment
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TryGetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle< T > InType, |
Try and retrieve this fragment's payload as a specific type using its fragment type handle | UniversalObjectLocatorFragment.h | |
bool TryGetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle< T > InType, |
Try and retrieve this fragment's payload as a specific type using its fragment type handle | UniversalObjectLocatorFragment.h |
TryGetPayloadAs(UE::UniversalObjectLocator::TFragmentTypeHandle< T >, T *&)
Description
Try and retrieve this fragment's payload as a specific type using its fragment type handle
| Name | TryGetPayloadAs |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
template<typename T>
bool TryGetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle < T > InType,
T *& OutData
)
true on success, false if this fragment is empty or of a different type.
Parameters
| Name | Remarks |
|---|---|
| InType | The handle of the fragment type to this payload to. This is returned from IUniversalObjectLocatorModule::RegisterFragmentType on registration. |
| OutData | Pointer to retrieve the resulting payload ptr |
TryGetPayloadAs(UE::UniversalObjectLocator::TFragmentTypeHandle< T >, const T *&)
Description
Try and retrieve this fragment's payload as a specific type using its fragment type handle
| Name | TryGetPayloadAs |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocatorFragment.h |
| Include Path | #include "UniversalObjectLocatorFragment.h" |
template<typename T>
bool TryGetPayloadAs
(
UE::UniversalObjectLocator::TFragmentTypeHandle < T > InType,
const T *& OutData
) const
true on success, false if this fragment is empty or of a different type.
Parameters
| Name | Remarks |
|---|---|
| InType | The handle of the fragment type to this payload to. This is returned from IUniversalObjectLocatorModule::RegisterFragmentType on registration. |
| OutData | Pointer to retrieve the resulting payload ptr |