/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h
Returns the current GameModeBase or Null if it can't be retrieved, such as on the client
static [AGameModeBase](API\Runtime\Engine\GameFramework\AGameModeBase) * GetGameMode ( const [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject )