Check out example codes for "ue4 c++ enum". It will help you in understanding the concepts better.

Code Example 1

UENUM()
enum Status
{
  Stopped     UMETA(DisplayName = "Stopped"),
  Moving      UMETA(DisplayName = "Moving"),
  Attacking   UMETA(DisplayName = "Attacking"),
};

Learn ReactJs, React Native from akashmittal.com