You can use UEdGraphSchema_K2::ConvertPropertyToPinType() to get the correct pin type, otherwise I think you just need to set the PinSubCategory to PSC_Bitmask
You can use UEdGraphSchema_K2::ConvertPropertyToPinType() to get the correct pin type, otherwise I think you just need to set the PinSubCategory to PSC_Bitmask