I could define a map of property names to number like so:
static TMap<FString, uint8> PropOpCodeNames = {
{“apropertyName”, 0},
{“anotherPropertyName”, 1},
{“AndAnother”, 2}
};
However this could become hard to manage. Is there possibly a way to compile this map of numbers and property names from Uproperty metadata, so it can be used at runtime?