UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BTDecorator_TimeLimit.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
8#include "BTDecorator_TimeLimit.generated.h"
9
14UCLASS(HideCategories=(Condition), MinimalAPI)
16{
18
19
20 UPROPERTY(Category=Decorator, EditAnywhere)
22
23 AIMODULE_API virtual void DescribeRuntimeValues(const UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, EBTDescriptionVerbosity::Type Verbosity, TArray<FString>& Values) const override;
24 AIMODULE_API virtual FString GetStaticDescription() const override;
25
26#if WITH_EDITOR
27 AIMODULE_API virtual FName GetNodeIconName() const override;
28#endif // WITH_EDITOR
29
30protected:
31 virtual void InitializeMemory(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, EBTMemoryInit::Type InitType) const override;
32 virtual void CleanupMemory(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, EBTMemoryClear::Type CleanupType) const override;
33 virtual uint16 GetInstanceMemorySize() const override;
34 virtual void OnBecomeRelevant(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
35 virtual void OnCeaseRelevant(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override;
36 virtual bool CalculateRawConditionValue(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) const override;
37 virtual void TickNode(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds) override;
38};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
uint8_t uint8
Definition binka_ue_file_header.h:8
uint16_t uint16
Definition binka_ue_file_header.h:7
Definition NameTypes.h:617
Definition Array.h:670
Definition BTDecorator_TimeLimit.h:16
Definition BTDecorator.h:38
Definition BehaviorTreeComponent.h:105
Type
Definition BehaviorTreeTypes.h:217
Type
Definition BehaviorTreeTypes.h:135
Type
Definition BehaviorTreeTypes.h:126
Definition ValueOrBBKey.h:246