Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/ICookArtifact
Description
Multiprocess cooks consist of a CookDirector that owns the cook output directory and CookWorkers that cook individual packages at the CookDirector's instruction. CookArtifacts that only interact with files in the cook output directory only need to exist on the CookDirector. Therefore, by default, creation of CookArtifacts on CookWorkers is suppressed. But CookWorkers that override AppendPackageMetadata need to exist on CooKWorkers to have their AppendPackageMetadata function called for packages cooked on CookWorkers. CookWorkers that override AppendPackageMetadata should override RegisterOnCookWorker to return true.
| Name | RegisterOnCookWorker |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookArtifact.h |
| Include Path | #include "Cooker/CookArtifact.h" |
virtual bool RegisterOnCookWorker() const