IPackageResourceManager::FileSize

Report the payload size of the package

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/PackageResourceManager.h"

Source

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

Syntax

int64 FileSize
(
    const FPackagePath & PackagePath,
    FPackagePath * OutUpdatedPath
)

Remarks

Report the payload size of the package

Returns

The size in bytes of the package, or INDEX_NONE if it isn't found

Parameters

Parameter

Description

PackagePath

The package to look for

OutUpdatedPath

If non-null and the package is found, PackagePath is copied into this path (noop if OutUpdatedPath == &PackagePath), and if the package exists, the specific extension found is set