Files
UnrealEngine/Engine/Plugins/AI/MassAI/Source/MassNavMeshNavigation/Public/MassNavMeshNavigationProcessors.h
2025-05-18 13:04:45 +08:00

32 lines
903 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MassProcessor.h"
#include "MassNavMeshNavigationProcessors.generated.h"
#define UE_API MASSNAVMESHNAVIGATION_API
class UMassSignalSubsystem;
/** Processor for updating move target on a navmesh short path. */
UCLASS(MinimalAPI)
class UMassNavMeshPathFollowProcessor : public UMassProcessor
{
GENERATED_BODY()
protected:
UE_API UMassNavMeshPathFollowProcessor();
UE_API virtual void ConfigureQueries(const TSharedRef<FMassEntityManager>& EntityManager) override;
UE_API virtual void InitializeInternal(UObject& Owner, const TSharedRef<FMassEntityManager>& ) override;
UE_API virtual void Execute(FMassEntityManager& EntityManager, FMassExecutionContext& Context) override;
FMassEntityQuery EntityQuery_Conditional;
UPROPERTY(Transient)
TObjectPtr<UMassSignalSubsystem> SignalSubsystem = nullptr;
};
#undef UE_API