UProperty::HasAllPropertyFlags

Syntax

bool HasAllPropertyFlags
(
    uint64 FlagsToCheck
) const

Remarks

Used to safely check whether all of the passed in flags are set. This is required as PropertyFlags currently is a 64 bit data type and bool is a 32 bit data type so simply using PropertyFlags&CPF_MyFlagBiggerThanMaxInt won't work correctly when assigned directly to an bool.

Returns

true if all of the passed in flags are set (including no flags passed in), false otherwise

Parameters

Parameter

Description

FlagsToCheck

Object flags to check for

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h