Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets > API/Editor/UnrealEd/Commandlets/UCookCommandlet
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/CookCommandlet.h |
| Include | #include "Commandlets/CookCommandlet.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/CookCommandlet.cpp |
bool CookOnTheFly
&40;
FGuid InstanceId,
int32 Timeout,
bool bForceClose,
const TArray< ITargetPlatform &42; > & TargetPlatforms
&41;
Remarks
Cook on the fly routing for the commandlet true on success, false otherwise.
Parameters
| Name | Description |
|---|---|
| BindAnyPort | Whether to bind on any port or the default port. |
| Timeout | Length of time to wait for connections before attempting to close |
| bForceClose | Whether or not the server should always shutdown after a timeout or after a user disconnects |
| TargetPlatforms | The list of platforms that should be initialized at startup. Other platforms will be initialized when first requested |