I’m trying to use the Bitmask Enum support in Blueprints, as introduced in UE 4.12 This article explains its usage in Blueprints, but only touches on declaring them in C++. I can’t get a C++ declared (bitmask) enum to show up in my Blueprint as a Bitmask Enum type (for integers or for using in the Make Bitmask node). My UENUM daclaration:
UENUM( BlueprintType )
enum class EState : uint8
{
  None            =   0,  // Clear flag. Required by ENUM_CLASS_FLAGS macro
  WHITE_TO_MOVE   =   1 	UMETA( DisplayName = "White To Move" ),
  BLACK_TO_MOVE   =   2 	UMETA( DisplayName = "Black To Move" ),
  CHECK           =   4 	UMETA( DisplayName = "Check" ),
  CHECKMATE       =   8 	UMETA( DisplayName = "Checkmate" ),
  DRAW            =  16 	UMETA( DisplayName = "Draw" )
};
ENUM_CLASS_FLAGS( EState )
The article mentions a BitmaskEnum= metadata tag for C++ bitmasks, but doesn’t show its usage.  How/where am I meant to include that?
My aim is to eventually create an event with the current state flags as payload, but EState is not recognised as a bitmask.
Thanks.