Space Plunder
Loading...
Searching...
No Matches
BTTask_Melee.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "BehaviorTree/BTTaskNode.h"
7#include "BTTask_Melee.generated.h"
8
12UCLASS()
13class AITOOLKIT_API UBTTask_Melee : public UBTTaskNode
14{
15 GENERATED_BODY()
16
17public:
19
20protected:
21 virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
22 virtual EBTNodeResult::Type AbortTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
23 virtual void TickTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds) override;
24
25 virtual uint16 GetInstanceMemorySize() const override;
26
27 virtual FString GetStaticDescription() const override;
28#if WITH_EDITOR
29 virtual FName GetNodeIconName() const override;
30#endif // WITH_EDITOR
31
32
33private:
35 {
36 float StartTime = 0.0f;
37 float DelayDuration = 0.0f;
38 };
39};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition BTTask_Melee.h:14
Definition BTTask_Melee.h:35