Navigation
API > API/Runtime > API/Runtime/CoreUObject
Flags describing a class.
This MUST be kept in sync with EClassFlags defined in Engine\Source\Programs\Shared\EpicGames.Core\UnrealEngineTypes.cs
| Name | EClassFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMacros.h |
| Include Path | #include "UObject/ObjectMacros.h" |
Syntax
enum EClassFlags
{
CLASS_None = 0x00000000u,
CLASS_Abstract = 0x00000001u,
CLASS_DefaultConfig = 0x00000002u,
CLASS_Config = 0x00000004u,
CLASS_Transient = 0x00000008u,
CLASS_Optional = 0x00000010u,
CLASS_MatchedSerializers = 0x00000020u,
CLASS_ProjectUserConfig = 0x00000040u,
CLASS_Native = 0x00000080u,
CLASS_MigratingAsset = 0x00000100u,
CLASS_NotPlaceable = 0x00000200u,
CLASS_PerObjectConfig = 0x00000400u,
CLASS_ReplicationDataIsSetUp = 0x00000800u,
CLASS_EditInlineNew = 0x00001000u,
CLASS_CollapseCategories = 0x00002000u,
CLASS_Interface = 0x00004000u,
CLASS_PerPlatformConfig = 0x00008000u,
CLASS_Const = 0x00010000u,
CLASS_NeedsDeferredDependencyLoading = 0x00020000u,
CLASS_CompiledFromBlueprint = 0x00040000u,
CLASS_MinimalAPI = 0x00080000u,
CLASS_RequiredAPI = 0x00100000u,
CLASS_DefaultToInstanced = 0x00200000u,
CLASS_TokenStreamAssembled = 0x00400000u,
CLASS_HasInstancedReference = 0x00800000u,
CLASS_Hidden = 0x01000000u,
CLASS_Deprecated = 0x02000000u,
CLASS_HideDropDown = 0x04000000u,
CLASS_GlobalUserConfig = 0x08000000u,
CLASS_Intrinsic = 0x10000000u,
CLASS_Constructed = 0x20000000u,
CLASS_ConfigDoNotCheckDefaults = 0x40000000u,
CLASS_NewerVersionExists = 0x80000000u,
}
Values
| Name | Remarks |
|---|---|
| CLASS_None | No Flags |
| CLASS_Abstract | Class is abstract and can't be instantiated directly. |
| CLASS_DefaultConfig | Save object configuration only to Default INIs, never to local INIs. |
| CLASS_Config | Load object configuration at construction time. |
| CLASS_Transient | This object type can't be saved; null it out at save time. |
| CLASS_Optional | This object type may not be available in certain context. |
| CLASS_MatchedSerializers | |
| CLASS_ProjectUserConfig | Indicates that the config settings for this class will be saved to Project/User*.ini (similar to CLASS_GlobalUserConfig) |
| CLASS_Native | Class is a native class - native interfaces will have CLASS_Native set, but not RF_MarkAsNative |
| CLASS_MigratingAsset | Instances of this class can migrate to another server even if loaded from disk. |
| CLASS_NotPlaceable | Do not allow users to create in the editor. |
| CLASS_PerObjectConfig | Handle object configuration on a per-object basis, rather than per-class. |
| CLASS_ReplicationDataIsSetUp | Whether SetUpRuntimeReplicationData still needs to be called for this class |
| CLASS_EditInlineNew | Class can be constructed from editinline New button. |
| CLASS_CollapseCategories | Display properties in the editor without using categories. |
| CLASS_Interface | Class is an interface |
| CLASS_PerPlatformConfig | Config for this class is overridden in platform inis, reload when previewing platforms |
| CLASS_Const | All properties and functions in this class are const and should be exported as const |
| CLASS_NeedsDeferredDependencyLoading | Class flag indicating objects of this class need deferred dependency loading |
| CLASS_CompiledFromBlueprint | Indicates that the class was created from blueprint source material |
| CLASS_MinimalAPI | Indicates that only the bare minimum bits of this class should be DLL exported/imported |
| CLASS_RequiredAPI | Indicates this class must be DLL exported/imported (along with all of it's members) |
| CLASS_DefaultToInstanced | Indicates that references to this class default to instanced. |
| CLASS_TokenStreamAssembled | Indicates that the parent token stream has been merged with ours. |
| CLASS_HasInstancedReference | Class has component properties. |
| CLASS_Hidden | Don't show this class in the editor class browser or edit inline new menus. |
| CLASS_Deprecated | Don't save objects of this class when serializing |
| CLASS_HideDropDown | Class not shown in editor drop down for class selection |
| CLASS_GlobalUserConfig | Class settings are saved to |
| CLASS_Intrinsic | Class was declared directly in C++ and has no boilerplate generated by UnrealHeaderTool |
| CLASS_Constructed | Class has already been constructed (maybe in a previous DLL version before hot-reload). |
| CLASS_ConfigDoNotCheckDefaults | Indicates that object configuration will not check against ini base/defaults when serialized |
| CLASS_NewerVersionExists | Class has been consigned to oblivion as part of a blueprint recompile, and a newer version currently exists. |