Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/CookOnTheSide > API/Editor/UnrealEd/CookOnTheSide/UCookOnTheFlyServer
- ICookInfo::RegisterCollector()
- UCookOnTheFlyServer::RegisterCollector()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/CookOnTheSide/CookOnTheFlyServer.h |
| Include | #include "CookOnTheSide/CookOnTheFlyServer.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/CookOnTheFlyServer.cpp |
virtual void RegisterCollector
(
UE::Cook::IMPCollector * Collector,
UE::Cook::EProcessType ProcessType
)
Remarks
MPCook: register in the current process a collector that replicates system-specific and package-specific information between CookWorkers and the CookDirector. Registration will be skipped if the current cook is singleprocess, or if the provided ProcessType does not match the current processtype. If registration is skipped, the Collector will be referenced but then immediately released, which will delete the Collector if the caller does not have their own TRefCountPtr to it.