How to generate blueprint class in content browser?

I want to use c + + to generate a blueprint assets

I just want to use c++ create asset in the editor, not in game

Does anyone know how to get started?

Maybe I could use “FAssetRegistryModule :: AssetCreated”?

Already solved, I use this code to create a blueprint

UBlueprint* Blueprint = FKismetEditorUtilities::CreateBlueprintFromClass(FText::FromString(TEXT(“CreateNewBlueprint”)), AGameModeBase::StaticClass(),TEXT(“NewBP”));