UCookCommandlet::CookOnTheFly

Cook on the fly routing for the commandlet

Windows
MacOS
Linux

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

Syntax

bool CookOnTheFly
(
    FGuid InstanceId,
    int32 Timeout,
    bool bForceClose,
    const TArray< ITargetPlatform * > & TargetPlatforms
)

Remarks

Cook on the fly routing for the commandlet

Returns

true on success, false otherwise.

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss