Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FCookEventContext
Description
Available during the event UE::Cook::PlatformCookDependencies, ignored in other events.
Add the given FCookDependency to the build dependencies for the package being cook-saved. Incremental cooks will invalidate the package and recook it if the CookDependency changes.
| Name | AddSaveBuildDependency |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookEvents.h |
| Include Path | #include "Cooker/CookEvents.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Cooker/CookEvents.cpp |
void AddSaveBuildDependency
(
FCookDependency CookDependency
)