Navigation
API > API/Runtime > API/Runtime/CoreUObject
Flags that specify required properties (or required-not-present properties) for a dependency to be returned from a query. Values in this enum correspond to values in EDependencyProperty; each EDependencyProperty value has a positive and negative equivalent in this enum. This allows a single bitfield to indicate required-present, required-not-present, or dont-care for each property. For any category-specific values, those values apply only to dependencies in the category, and do not impose restrictions on dependencies from other categories.
| Name | UE::AssetRegistry::EDependencyQuery |
| Type | enum |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/AssetRegistryInterface.h |
| Include Path | #include "Misc/AssetRegistryInterface.h" |
Syntax
namespace UE
{
namespace AssetRegistry
{
enum EDependencyQuery
{
NoRequirements = 0,
Hard = 1 << 0,
NotHard = 1 << 1,
Soft = NotHard,
Game = 1 << 2,
NotGame = 1 << 3,
EditorOnly = NotGame,
Build = 1 << 4,
NotBuild = 1 << 5,
Propagation = 1 << 6,
Direct = 1 << 8,
NotDirect = 1 << 9,
Indirect = NotDirect,
CookRule = 1 << 10,
NotCookRule = 1 << 11,
ChunkOnly = NotCookRule,
PackageMask = Hard | NotHard | Game | NotGame | Build | NotBuild,
SearchableNameMask = 0x0000,
ManageMask = Direct | NotDirect | CookRule | NotCookRule,
}
}
}
Values
| Name | Remarks |
|---|---|
| NoRequirements | |
| Hard | Package Dependencies Only. |
| NotHard | Return only dependencies without EDependencyProperty::Hard. |
| Soft | |
| Game | Return only dependencies with EDependencyProperty::Game. |
| NotGame | Return only dependencies without EDependencyProperty::Game. |
| EditorOnly | |
| Build | Return only dependencies with EDependencyProperty::Build. |
| NotBuild | Return only dependencies without EDependencyProperty::Build. |
| Propagation | Return only dependencies that cause propagation of manage dependencies, which means either Game or Build. |
| Direct | Manage Dependencies Only. |
| NotDirect | Return only dependencies without EDependencyProperty::Direct. |
| Indirect | |
| CookRule | Return only dependencies with EDependencyProperty::CookRule. |
| NotCookRule | Return only dependencies without EDependencyProperty::CookRule. |
| ChunkOnly | |
| PackageMask | Masks used for manipulating EDependencyQuerys. |
| SearchableNameMask | |
| ManageMask |