How to use organise blueprint inputs and outputs in c++ using templates?

Hello, Megakoresh

To learn about receiving a Struct in a Blueprint function, please go here:

[Tutorial] How to accept wildcard structs in your UFUNCTIONs - Community & Industry Discussion - Epic Developer Community Forums,

Please also note that there some specifics regarding creating Structs in Unreal Engine 4. If you like to learn more about them, please go here:

Hope this helped!

Good luck!