/Engine/Source/Runtime/Engine/Classes/AI/NavigationSystemBase.h
If you're using NavigationSysstem module consider callingFNavigationSystem::GetCurrent()->GetDefaultNavDataInstance instead.
virtual [INavigationDataInterface](API\Runtime\Engine\AI\Navigation\INavigationDataInterface) * GetMainNavData() const