For now, for uClasses, Im focussed on the functions because they dont really have fields (the interop is done via the reflection API) but for uStructs they do. What Im doing for the functions (and plan to do for the parameters/fields too) is just to generate cpp code at Nim macro time. Im already doing the opposite to convert UE C++ types to Nim.
I also want to support const so the overwritten function matches. What I would want ideally if I can pass over the type information as in a symbol/ident to the compiler API and get the code that Nim would generate for it. But I guess that just doesnt exist, maybe a compiler plugin could enable something like that (since you have access to the module info)? But it seems you cant add plugin without recompiling the sources anyways..
