Files
UnrealEngineUWP/Engine/Source/Runtime/NavigationSystem/Public/NavLinkHostInterface.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

34 lines
1.1 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Templates/SubclassOf.h"
#include "UObject/Interface.h"
#include "AI/Navigation/NavLinkDefinition.h"
#include "NavLinkHostInterface.generated.h"
UINTERFACE(MinimalAPI, meta=(CannotImplementInterfaceInBlueprint))
class UNavLinkHostInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class NAVIGATIONSYSTEM_API INavLinkHostInterface
{
GENERATED_IINTERFACE_BODY()
/**
* Retrieves UNavLinkDefinition derived UClasses hosted by this interface implementor
*/
virtual bool GetNavigationLinksClasses(TArray<TSubclassOf<class UNavLinkDefinition> >& OutClasses) const PURE_VIRTUAL(INavLinkHostInterface::GetNavigationLinksClasses,return false;);
/**
* _Optional_ way of retrieving navigation link data - if INavLinkHostInterface
* implementer defines custom navigation links then he can just retrieve
* a list of links
*/
virtual bool GetNavigationLinksArray(TArray<FNavigationLink>& OutLink, TArray<FNavigationSegmentLink>& OutSegments) const { return false; }
};