Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/LazyObjectPtr.h |
Include | #include "UObject/LazyObjectPtr.h" |
Syntax
struct FUniqueObjectGuid
Remarks
Wrapper structure for a GUID that uniquely identifies registered UObjects. The actual GUID is stored in an object annotation that is updated when a new reference is made.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FUniqueObjectGuid
(
const FGuid& InGuid |
||
![]() |
FUniqueObjectGuid
(
const UObject* InObject |
Construct from an existing object |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FUniqueObjectGuid | FixupForPIE
(
int32 PlayInEditorID |
Fixes up this UniqueObjectID to add or remove the PIE prefix depending on what is currently active |
![]() |
void | FromString
(
const FString& From |
Converts from a string |
![]() ![]() |
int32 | These will be deprecated in a followup change as they are no longer in use | |
![]() ![]() |
const FGuid & | GetGuid () |
Returns wrapped Guid |
![]() ![]() |
FUniqueObjectGuid | GetOrCreateIDForObject
(
const UObject* Object |
|
![]() ![]() |
int32 | ||
![]() ![]() |
bool | IsDefault () |
Returns true is this is the default value |
![]() ![]() |
bool | IsValid () |
Test if this can ever point to a live UObject |
![]() |
void | Reset () |
Reset the guid pointer back to the invalid state |
![]() ![]() |
UObject * | Attempts to find a currently loaded object that matches this object ID | |
![]() ![]() |
FString | ToString () |
Converts into a string |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FUniqueObjectGuid& Other |
|
![]() ![]() |
bool | operator==
(
const FUniqueObjectGuid& Other |