| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/CookOnTheSide/CookOnTheFlyServer.h |
Include |
#include "CookOnTheSide/CookOnTheFlyServer.h" |
class UCookOnTheFlyServer :
public UObject,
public FTickableEditorObject,
public FExec
No constructors are accessible with public or protected access.
Name | Description | |
---|---|---|
|
~UCookOnTheFlyServer() |
Name | Description | ||
---|---|---|---|
|
BroadcastFileserverPresence ( |
Broadcast our the fileserver presence on the network |
|
|
CancelCookByTheBook() |
Cancel the currently running cook by the book (needs to be called from the game thread) |
|
|
ClearAllCookedData() |
Clear all the previously cooked data all cook requests from now on will be considered recook requests |
|
|
ClearCachedCookedPlatformDataForPlatform ( |
Clear any cached cooked platform data for a platform call ClearCachedCookedPlatformData on all UObjects |
|
|
ClearPlatformCookedData ( |
Clear all the previously cooked data for the platform passed in |
|
|
DumpStats() |
Dumps cooking stats to the log run from the exec command "Cook stats" |
|
|
EndNetworkFileServer() |
Stop the network file server |
|
|
ECookMode::T... |
GetCookMode() |
|
|
double |
GetIdleTimeToGC() |
Returns the configured amount of idle time before forcing a GC |
|
GetMaxMemoryAllowance() |
Returns the configured amount of memory allowed before forcing a GC |
|
|
GetPackagesPerGC() |
Returns the configured number of packages to process before GC |
|
|
GetPackagesPerPartialGC() |
Returns the configured number of packages to process before partial GC |
|
|
GetUnsolicitedPackages ( |
Get any packages which are in memory, these were probably required to be loaded because of the current package we are cooking, so we should probably cook them also |
|
|
HasCookRequests() |
||
|
HasExceededMaxMemory() |
||
|
HasRecompileShaderRequests() |
||
|
Initialize ( |
Initialize the CookServer so that either CookOnTheFly can be called or Cook on the side can be started and ticked |
|
|
IsCookByTheBookMode() |
Helper function returns if we are in any cook by the book mode |
|
|
IsCookByTheBookRunning() |
||
|
IsCookingInEditor() |
Is this cooker running in the editor |
|
|
IsCookOnTheFlyMode() |
Helper function returns if we are in any cook on the fly mode |
|
|
IsRealtimeMode() |
Is this cooker running in real time mode (where it needs to respect the timeslice) |
|
|
IsUsingPackageStore() |
||
|
IsUsingShaderCodeLibrary() |
||
|
MarkGCPackagesToKeepForCooker() |
Mark package as keep around for the cooker (don't GC) |
|
|
MarkPackageDirtyForCooker ( |
Marks a package as dirty for cook causes package to be recooked on next request (and all dependent packages which are currently cooked) |
|
|
MaybeMarkPackageAsAlreadyLoaded ( |
MaybeMarkPackageAsAlreadyLoaded Mark the package as already loaded if we have already cooked the package for all requested target platforms this hints to the objects on load that we don't need to load all our bulk data |
|
|
NumConnections() |
||
|
OnObjectModified ( |
Callbacks from editor |
|
|
OnObjectPropertyChanged ( |
||
|
OnObjectSaved ( |
||
|
OnObjectUpdated ( |
||
|
PostLoadPackageFixup ( |
PostLoadPackageFixup after a package is loaded we might want to fix up some stuff before it gets saved |
|
|
PreGarbageCollect() |
Callbacks from UObject globals |
|
|
QueueCancelCookByTheBook() |
Queue a cook by the book cancel (you might want to do this instead of calling cancel directly so that you don't have to be in the game thread when canceling |
|
|
RecompileChangedShaders ( |
Recompile any global shader changes if any are detected then clear the cooked platform data so that they can be rebuilt |
|
|
RequestPackage |
RequestPackage to be cooked This function can only be called while the cooker is in cook by the book mode |
|
|
RequestPackage ( |
RequestPackage to be cooked |
|
|
StartCookByTheBook ( |
Start a cook by the book session Cook on the fly can't run at the same time as cook by the book |
|
|
StartNetworkFileServer ( |
Cook on the side, cooks while also running the editor... |
|
|
StopAndClearCookedData() |
Force stop whatever pending cook requests are going on and clear all the cooked data Note cook on the side / cook on the fly clients may not be able to recover from this if they are waiting on a cook request to complete |
|
|
TickCookOnTheSide ( |
Handles cook package requests until there are no more requests, then returns |
|
|
TickRecompileShaderRequests() |
Process any shader recompile requests |
|
|
WaitForRequests ( |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
IsDestructionThreadSafe() |
UObject interface |
Name | Description | ||
---|---|---|---|
|
GetStatId() |
FTickableEditorObject interface used by cook on the side |
|
|
IsTickable() |
Virtual that can be overloaded by the inheriting class. |
|
|
Tick ( |
Pure virtual that must be overloaded by the inheriting class. |
Name |
Description |
|
---|---|---|
|
FCookByTheBookOptions |
|
|
FCookByTheBookStartupOptions |
|
|
FPlatformData |
|
|
FPlatformManager |
Name |
Description |
|
---|---|---|
|
ECookOnTheSideResult |
Name |
Description |
---|---|
FIniSettingContainer |
Tmap of the Config name, Section name, Key name, to the value |
Name | Description | ||
---|---|---|---|
|
ClearCachedCookedPlatformDataForPlatform ( |
Use version that takes const ITargetPlatform* instead |
|
|
ClearPlatformCookedData ( |
Use version that takes const ITargetPlatform* instead |
|
|
GetUnsolicitedPackages |
Use the version that takes TArray |
|
|
RecompileChangedShaders |
Use version that takes const ITargetPlatform* instead |
|
|
RequestPackage |
Use Version that takes TArray |