I can’t find this function in either API reference or engine source code, but yes as all arrays, results would be indexed with numbers from 0 to somewhere. Also i think it should be TArray, arrays can hold normal data including structs and non-UObject classes too, not only pointers, so they need be distinguished.
Oh, I wasn’t suggesting that the function I specifically wrote existed. I just meant I was looking for something that would work like that. I couldn’t seem to identify anything in the API that explicitly retrieved these derived UClass pointers from a base one, and I was wondering if somebody else knew of one that I couldn’t find.
Seems there no way, i checked class viewing examples in editor code and all they do is iterate UClass objects on there own (which exist and it’s made for every UObject class).