Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool SaveWorlds
&40;
UWorld &42; InWorld,
const FString & RootPath,
const TCHAR &42; Prefix,
TArray< FString > & OutFilenames
&41;
Remarks
Save all packages corresponding to the specified world, with the option to override their path and also apply a prefix. true if at least one level was saved. If bPIESaving, will be true is ALL worlds were saved.
Parameters
| Name | Description |
|---|---|
| InWorld | The world to save (including its children) |
| RootPath | Root Path override, replaces /Game/ in original name |
| Prefix | Optional prefix for base filename, can be NULL |
| OutFilenames | The file names of all successfully saved worlds will be added to this |