In this tutorial, you learned how to create custom enums and structs in Unreal Engine 5 using C++ and expose them to Blueprints. We explored both basic implementations and advanced features, including member functions and operator overloading within a struct. These techniques can help you build more complex, data-driven systems in your projects while keeping your code clean and maintainable.
https://dev.epicgames.com/community/learning/tutorials/rMD2/how-to-create-custom-enums-and-structs-in-unreal-engine