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

49 lines
1.8 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
#include "MassEntityTypes.h"
#endif // UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
#include "MassEntityHandle.h"
struct FZoneGraphShortPathRequest;
struct FMassZoneGraphCachedLaneFragment;
struct FMassZoneGraphShortPathFragment;
struct FMassMoveTargetFragment;
struct FMassZoneGraphPathRequestFragment;
struct FMassZoneGraphLaneLocationFragment;
class UMassSignalSubsystem;
class UZoneGraphSubsystem;
class UZoneGraphAnnotationSubsystem;
namespace UE::MassNavigation
{
MASSZONEGRAPHNAVIGATION_API bool ActivateActionMove(const UWorld& World,
const UObject* Requester,
const FMassEntityHandle Entity,
const UZoneGraphSubsystem& ZoneGraphSubsystem,
const FMassZoneGraphLaneLocationFragment& LaneLocation,
const FZoneGraphShortPathRequest& PathRequest,
const float AgentRadius,
const float DesiredSpeed,
FMassMoveTargetFragment& InOutMoveTarget,
FMassZoneGraphShortPathFragment& OutShortPath,
FMassZoneGraphCachedLaneFragment& OutCachedLane);
MASSZONEGRAPHNAVIGATION_API bool ActivateActionStand(const UWorld& World,
const UObject* Requester,
const FMassEntityHandle Entity,
const UZoneGraphSubsystem& ZoneGraphSubsystem,
const FMassZoneGraphLaneLocationFragment& LaneLocation,
const float DesiredSpeed,
FMassMoveTargetFragment& MoveTarget,
FMassZoneGraphShortPathFragment& ShortPath,
FMassZoneGraphCachedLaneFragment& CachedLane);
MASSZONEGRAPHNAVIGATION_API bool ActivateActionAnimate(const UWorld& World,
const UObject* Requester,
const FMassEntityHandle Entity,
FMassMoveTargetFragment& MoveTarget);
};