Navigation
API > API/Runtime > API/Runtime/CoreUObject
Objects flags for internal use (GC, low level UObject code)
This MUST be kept in sync with EInternalObjectFlags defined in Engine\Source\Programs\Shared\EpicGames.Core\UnrealEngineTypes.cs
| Name | EInternalObjectFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMacros.h |
| Include Path | #include "UObject/ObjectMacros.h" |
Syntax
enum EInternalObjectFlags
{
None = 0,
Remote = 0,
RemoteReference = 0,
Borrowed = 0,
ReachabilityFlag0 = 1 << 14,
ReachabilityFlag1 = 1 << 15,
ReachabilityFlag2 = 1 << 16,
AutoRTFMConstructionAborted = 1 << 17,
LoaderImport = 1 << 20,
Garbage = 1 << 21,
AsyncLoadingPhase1 = 1 << 22,
ReachableInCluster = 1 << 23,
ClusterRoot = 1 << 24,
Native = 1 << 25,
Async = 1 << 26,
AsyncLoadingPhase2 = 1 << 27,
Unreachable = 1 << 28,
RootSet = 1 << 30,
PendingConstruction = 1 << 31,
}
Values
| Name | Remarks |
|---|---|
| None | |
| Remote | |
| RemoteReference | |
| Borrowed | |
| ReachabilityFlag0 | One of the flags used by Garbage Collector to determine UObject's reachability state. |
| ReachabilityFlag1 | One of the flags used by Garbage Collector to determine UObject's reachability state. |
| ReachabilityFlag2 | One of the flags used by Garbage Collector to determine UObject's reachability state. |
| AutoRTFMConstructionAborted | |
| LoaderImport | Object is ready to be imported by another package during loading. |
| Garbage | Garbage from logical point of view and should not be referenced. This flag is mirrored in EObjectFlags as RF_Garbage for performance. |
| AsyncLoadingPhase1 | Object is being asynchronously loaded. |
| ReachableInCluster | External reference to object in cluster exists. |
| ClusterRoot | Root of a cluster. |
| Native | Native (UClass only). |
| Async | Object exists only on a different thread than the game thread. |
| AsyncLoadingPhase2 | Object is being asynchronously loaded. |
| Unreachable | Object is not reachable on the object graph. |
| RootSet | Object will not be garbage collected, even if unreferenced. |
| PendingConstruction | Object didn't have its class constructor called yet (only the UObjectBase one to initialize its most basic members) |