FEditorFileUtils::SaveWorlds

Save all packages corresponding to the specified world, with the option to override their path and also apply a prefix.