[C++] Get all subclasses of a given class without including classes prefixed with SKEL_ (skeleton classes)

Hey .

Unfortunately Skeleton Classes don’t share the same Base Class (Except UObject but we don’t want that :P)

Fortunately you can get a String Represantation of your Classes if you call the Method GetName().
So just parsing through this String should be fine.

auto ClassName = *It->GetName();

if(ClassName.Len() > 4)
{
    if(ClassName[0] == 'S' && ClassName[1] == 'k' && ClassName[2] == 'e' && ClassName[3] == 'l')
    {
        UE_LOG(LogTemp, Warning, TEXT("This is a Skeleton Class"));
    }
}

should do the trick :slight_smile:

Good Luck

Greetings