Hi. I need to write a simple interpreter in c++ for my game, but I’m having trouble understanding the documentation (which is lacking).
How do I get and set a values of a UProperty for an object?
How do I invoke methods of an object?
How do I pass a “list” of arguments for the method?
How do I get the return value of the method?
Can I find/get a property or method by name (string)?
Nope, you should try your best to find the answers yourself before coming here to beg for an answer, especially for this kind of pretty basic question.
You should not only read the documentation, which is pretty limited, but also dig into the source code. The reflection system in Unreal Engine is pretty amazing and you can learn a lot by browsing the engine source.