UWorld::PreSaveRoot

Called from within SavePackage on the passed in base/root object.

Windows
MacOS
Linux

Override Hierarchy

UObject::PreSaveRoot()

UWorld::PreSaveRoot()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

virtual bool PreSaveRoot
(
    const TCHAR * Filename
)

Remarks

Called from within SavePackage on the passed in base/root object. The return value of this function will be passed to PostSaveRoot. This is used to allow objects used as a base to perform required actions before saving and cleanup afterwards.

Returns

Whether PostSaveRoot needs to perform internal cleanup

Parameters

Parameter

Description

Filename

Name of the file being saved to (includes path)

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