/Engine/Source/Runtime/Engine/Classes/GameFramework/GameStateBase.h
Helper to return the default object of the GameModeBase class corresponding to this GameState. This object is not safe to modify.
const [AGameModeBase](API\Runtime\Engine\GameFramework\AGameModeBase) * GetDefaultGameMode() const