Files
UnrealEngineUWP/Engine/Source/Runtime/NavigationSystem/Public/CrowdManagerBase.h
Marc Audy cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00

28 lines
1.0 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)
class NAVIGATIONSYSTEM_API UCrowdManagerBase : public UObject
{
GENERATED_BODY()
public:
virtual void Tick(float DeltaTime) PURE_VIRTUAL(UCrowdManagerBase::Tick, );
/** Called by the nav system when a new navigation data instance is registered. */
virtual void OnNavDataRegistered(ANavigationData& NavDataInstance) PURE_VIRTUAL(UCrowdManagerBase::OnNavDataRegistered, );
/** Called by the nav system when a navigation data instance is removed. */
virtual void OnNavDataUnregistered(ANavigationData& NavDataInstance) PURE_VIRTUAL(UCrowdManagerBase::OnNavDataUnregistered, );
virtual void CleanUp(float DeltaTime) PURE_VIRTUAL(UCrowdManagerBase::CleanUp, );
};