BlueprintCallable vs CPF_BlueprintCallable

Hi. It seems that the CPF prefix are for compilers that can’t handle 64bit enums (As per the comment in ObjectMacros.h):

//
// Flags associated with each property in a class, overriding the
// property's default behavior.
// NOTE: When adding one here, please update ParsePropertyFlags
//
// For compilers that don't support 64 bit enums.
...
#define CPF_BlueprintCallable				DECLARE_UINT64(0x0000100000000000)

Using CPF_BlueprintCallable in place of BlueprintCallable will usually give you a compile error. If you want BlueprintCallable to appear in intellisense, you can include the namespace that it resides within with this piece of code:

using namespace UF;
2 Likes