UPackage::IsEmptyPackage

Determines if a package contains no more assets.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h

Include

#include "UObject/Package.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/SavePackage.cpp

Syntax

static bool IsEmptyPackage
(
    UPackage * Package,
    const UObject * LastReferencer
)

Remarks

Determines if a package contains no more assets.

Returns

true if Package contains no more assets.

Parameters

Parameter

Description

Package

the package to test

LastReferencer

the optional last UObject referencer to this package. This object will be excluded when determining if the package is empty

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