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

Code Example 1

USTRUCT([Specifier, Specifier, ...])
struct StructName
{
    GENERATED_USTRUCT_BODY()
};

Learn ReactJs, React Native from akashmittal.com