Files
UnrealEngineUWP/Engine/Source/Runtime/NavigationSystem/Public/NavLinkHostInterface.h
Robb Surridge 0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00

34 lines
1.1 KiB
C++

// Copyright 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 implementer
*/
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 it can just retrieve
* a list of links
*/
virtual bool GetNavigationLinksArray(TArray<FNavigationLink>& OutLink, TArray<FNavigationSegmentLink>& OutSegments) const { return false; }
};