Passing an enum as a function parameter

I’m using Unreal Engine 4.20.2. Here’s how I am successfully passing an enum to a function for use in a TArray. In my Item.h file: UENUM(BlueprintType) //”BlueprintType” is essential to include namespace EInventoryItem { enum Item { Nothing UMETA(DisplayName = “Nothing”), Battery UMETA(DisplayName = “Battery”), Thing UMETA(DisplayName = “Thing”), AnotherThing UMETA(DisplayName = “Another Thing”), RedBadge …