/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h
Return the game mode subclass to use for a given map, options, and portal.Bydefault return passed in one
virtual [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [AGameModeBase](API\Runtime\Engine\GameFramework\AGameModeBase) > OverrideGameModeClass ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [AGameModeBase](API\Runtime\Engine\GameFramework\AGameModeBase) > GameModeClass, const [FString](API\Runtime\Core\Containers\FString) & MapName, const [FString](API\Runtime\Core\Containers\FString) & Options, const [FString](API\Runtime\Core\Containers\FString) & Portal ) const