/Engine/Source/Editor/UnrealEd/Public/GameModeInfoCustomizer.h
Get the CDO from the currently set GameMode class
[AGameModeBase](API\Runtime\Engine\GameFramework\AGameModeBase) * GetCurrentGameModeCDO() const