Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UBTDecorator_Blackboard
Description
Decorator using enum based key requires to synchronize 'StringValue' used for storage with 'IntValue' used for runtime evaluation.
using custom serialization version was not possible since we require blackboard and used types (e.g. UserDefinedEnumerations) to be loaded and keys to be resolved (i.e. InitializeFromAsset).
| Name | RefreshEnumBasedDecorator |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_Blackboard.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_Blackboard.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_Blackboard.cpp |
void RefreshEnumBasedDecorator
(
const FBlackboardEntry & Entry
)