![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LazyObjectPtr.h>
Public Member Functions | |
| FUniqueObjectGuid () | |
| FUniqueObjectGuid (const FGuid &InGuid) | |
| UE_FORCEINLINE_HINT void | Reset () |
| COREUOBJECT_API | FUniqueObjectGuid (const UObject *InObject) |
| COREUOBJECT_API FString | ToString () const |
| COREUOBJECT_API void | FromString (const FString &From) |
| COREUOBJECT_API FUniqueObjectGuid | FixupForPIE (int32 PlayInEditorID=UE::GetPlayInEditorID()) const |
| COREUOBJECT_API UObject * | ResolveObject () const |
| UE_FORCEINLINE_HINT bool | IsValid () const |
| UE_FORCEINLINE_HINT bool | operator== (const FUniqueObjectGuid &Other) const |
| UE_FORCEINLINE_HINT bool | operator!= (const FUniqueObjectGuid &Other) const |
| UE_FORCEINLINE_HINT bool | IsDefault () const |
| UE_FORCEINLINE_HINT const FGuid & | GetGuid () const |
Static Public Member Functions | |
| static int32 | GetCurrentTag () |
| static int32 | InvalidateTag () |
| static COREUOBJECT_API FUniqueObjectGuid | GetOrCreateIDForObject (FObjectPtr Object) |
| static UE_FORCEINLINE_HINT FUniqueObjectGuid | GetOrCreateIDForObject (const UObject *Object) |
| template<typename T > | |
| static UE_FORCEINLINE_HINT FUniqueObjectGuid | GetOrCreateIDForObject (TObjectPtr< T > Object) |
Friends | |
| UE_FORCEINLINE_HINT friend uint32 | GetTypeHash (const FUniqueObjectGuid &ObjectGuid) |
| FArchive & | operator<< (FArchive &Ar, FUniqueObjectGuid &ObjectGuid) |
| void | operator<< (FStructuredArchive::FSlot Slot, FUniqueObjectGuid &ObjectGuid) |
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.
|
inline |
|
inline |
|
explicit |
Construct from an existing object
| FUniqueObjectGuid FUniqueObjectGuid::FixupForPIE | ( | int32 | PlayInEditorID = UE::GetPlayInEditorID() | ) | const |
Fixes up this UniqueObjectID to add or remove the PIE prefix depending on what is currently active
| void FUniqueObjectGuid::FromString | ( | const FString & | From | ) |
Converts from a string
|
inline |
Returns wrapped Guid
|
inlinestatic |
|
static |
|
inlinestatic |
|
inline |
Returns true is this is the default value
|
inline |
|
inline |
|
inline |
|
inline |
Reset the guid pointer back to the invalid state
| UObject * FUniqueObjectGuid::ResolveObject | ( | ) | const |
Attempts to find a currently loaded object that matches this object ID
| FString FUniqueObjectGuid::ToString | ( | ) | const |
Converts into a string
|
friend |
|
friend |
|
friend |