C++ code to procedurally generate a level

Hi, this is my first time using a professional game engine and I’d like some tips. I have C++ code that generates a randomized labyrinth, game items within the labyrinth and player positions. I can output it in any format that I want, but let’s imagine I decide to output a 2D array of unsigned integers where each number represents a type of room (that has been created by an artist). If I create my game in UE4 and I want to load a level based on this algorithm that I have done in C++, what is my best possible approach? Is there a way to somehow mix the visual scripting capabilities with the occasional C++ programming? I am a strong C++ programmer but some things are just done much faster with the visual scripting tools.

Regards

Closed as a duplicate thread.