I’m currently learning how to use UEnum and so I followed Rama’s example:
UENUM(BlueprintType) //"BlueprintType" is essential to include
enum class EVictoryEnum : uint8
class YourClass : public YourSuperClass
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Enum)
//Rest of Class Code
I’m currently investigating how I would get the FString at index[i] and again using Rama’s example:
I assumed the EVictoryEnum::Type EnumValue was where I would pass in a uint8 to check the index, but my compiler won’t have any of it, saying that ‘EVictoryEnum’ has no member type ‘EnumValue’ which I understand, but why is the example written this way?? Is there something interesting going on in the method definition in the .h file I’m missing?