NUTUtil::GetPackageModule

Get a module name from any [UPackage](API\Runtime\CoreUObject\UObject\UPackage) - if it has one

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtil.h

Include

#include "NUTUtil.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtil.cpp

Syntax

static FString GetPackageModule
(
    UPackage * Package,
    bool bVerifyModule
)

Remarks

Get a module name from any UPackage - if it has one

Returns

The name of the module

Parameters

Parameter

Description

Package

The package to be linked to a module

bVerifyModule

Whether or not to verify that the module is loaded (specify false, when using with Hot Reload code)

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