Files
UnrealEngineUWP/Engine/Source/Runtime/NavigationSystem/Public/CrowdManagerBase.h
henrik karlsson 5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00

28 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CrowdManagerBase.generated.h"
class ANavigationData;
/** Base class for Crowd Managers. If you want to create a custom crowd manager
* implement a class extending this one and set UNavigationSystemV1::CrowdManagerClass
* to point at your class */
UCLASS(Abstract, Transient, MinimalAPI)
class UCrowdManagerBase : public UObject
{
GENERATED_BODY()
public:
NAVIGATIONSYSTEM_API virtual void Tick(float DeltaTime) PURE_VIRTUAL(UCrowdManagerBase::Tick, );
/** Called by the nav system when a new navigation data instance is registered. */
NAVIGATIONSYSTEM_API virtual void OnNavDataRegistered(ANavigationData& NavDataInstance) PURE_VIRTUAL(UCrowdManagerBase::OnNavDataRegistered, );
/** Called by the nav system when a navigation data instance is removed. */
NAVIGATIONSYSTEM_API virtual void OnNavDataUnregistered(ANavigationData& NavDataInstance) PURE_VIRTUAL(UCrowdManagerBase::OnNavDataUnregistered, );
NAVIGATIONSYSTEM_API virtual void CleanUp(float DeltaTime) PURE_VIRTUAL(UCrowdManagerBase::CleanUp, );
};