/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h
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.
static bool SaveWorlds ( [UWorld](API\Runtime\Engine\Engine\UWorld) * InWorld, const [FString](API\Runtime\Core\Containers\FString) & RootPath, const TCHAR * Prefix, [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & OutFilenames )