if you want a class reference then TSubclassOf is the c++ equivalent.
Though I would put soft references to classes in structs of type TSoftClassPtr, this will prevent hard references.
if you want a class reference then TSubclassOf is the c++ equivalent.
Though I would put soft references to classes in structs of type TSoftClassPtr, this will prevent hard references.