This commit is contained in:
2026-05-17 22:44:49 +03:00
commit 26fedadcd8
9071 changed files with 44364 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
// © 2025 Naked People Team. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "DetourCrowdAIController.h"
#include "NPCAIController.generated.h"
class ANakedDesireGameMode;
class UNavigationSystemV1;
class ANakedDesireCharacter;
/**
*
*/
UCLASS()
class NAKEDDESIRE_API ANPCAIController : public ADetourCrowdAIController
{
GENERATED_BODY()
UPROPERTY()
ANakedDesireCharacter* PlayerCharacter = nullptr;
UPROPERTY()
const UNavigationSystemV1* NavigationSystem = nullptr;
UPROPERTY()
ANakedDesireGameMode* GameMode = nullptr;
UPROPERTY(EditDefaultsOnly)
UBehaviorTree* BehaviorTreeAsset = nullptr;
public:
UFUNCTION(BlueprintCallable)
void SetShouldReactToPlayer(bool Value);
protected:
virtual void OnPossess(APawn* InPawn) override;
};