UPackage::HasAnyPackageFlags

Used to safely check whether the passed in flag is set.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Package.h"

Syntax

bool HasAnyPackageFlags
(
    uint32 FlagsToCheck
) const

Remarks

Used to safely check whether the passed in flag is set.

Returns

true if the passed in flag is set, false otherwise (including no flag passed in, unless the FlagsToCheck is CLASS_AllFlags)

Parameters

Parameter

Description

FlagsToCheck

Package flags to check for

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