UGameMapsSettings::GetGlobalDefaultGameMode

Get the global default game type specified in the configuration Makes a choice based on running as listen server/client vs dedicated server