|
|
bool | IsServiceActive () const |
| | check if service is currently being active
|
| |
|
virtual void | OnBecomeRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) override |
| | called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
virtual void | OnCeaseRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) override |
| | called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
virtual void | OnSearchStart (FBehaviorTreeSearchData &SearchData) override |
| | called when search enters underlying branch this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
void | ReceiveActivation (AActor *OwnerActor) |
| | service became active @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
|
| |
| void | ReceiveActivationAI (AAIController *OwnerController, APawn *ControlledPawn) |
| | Alternative AI version of ReceiveActivation function. 更多...
|
| |
|
void | ReceiveDeactivation (AActor *OwnerActor) |
| | service became inactive @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
|
| |
| void | ReceiveDeactivationAI (AAIController *OwnerController, APawn *ControlledPawn) |
| | Alternative AI version of ReceiveDeactivation function. 更多...
|
| |
|
void | ReceiveSearchStart (AActor *OwnerActor) |
| | task search enters branch of tree @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
|
| |
| void | ReceiveSearchStartAI (AAIController *OwnerController, APawn *ControlledPawn) |
| | Alternative AI version of ReceiveSearchStart function. 更多...
|
| |
|
void | ReceiveTick (AActor *OwnerActor, float DeltaSeconds) |
| | tick function @Note that if both generic and AI event versions are implemented only the more suitable one will be called, meaning the AI version if called for AI, generic one otherwise
|
| |
| void | ReceiveTickAI (AAIController *OwnerController, APawn *ControlledPawn, float DeltaSeconds) |
| | Alternative AI version of ReceiveTick function. 更多...
|
| |
|
virtual void | TickNode (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory, float DeltaSeconds) override |
| | update next tick interval this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
virtual void | OnSearchStart (FBehaviorTreeSearchData &SearchData) |
| | called when search enters underlying branch this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
virtual void | ScheduleNextTick (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) |
| | set next tick time
|
| |
|
virtual void | TickNode (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory, float DeltaSeconds) override |
| | update next tick interval this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
float | GetNextTickRemainingTime (uint8 *NodeMemory) const |
| | gets remaining time for next tick
|
| |
|
virtual void | OnBecomeRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) |
| | called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
virtual void | OnCeaseRelevant (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory) |
| | called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
void | SetNextTickTime (uint8 *NodeMemory, float RemainingTime) const |
| | sets next tick time
|
| |
|
virtual void | TickNode (UBehaviorTreeComponent &OwnerComp, uint8 *NodeMemory, float DeltaSeconds) |
| | tick function this function should be considered as const (don't modify state of object) if node is not instanced!
|
| |
|
|
AActor * | ActorOwner |
| | Cached actor owner of BehaviorTreeComponent.
|
| |
|
AAIController * | AIOwner |
| | Cached AIController owner of BehaviorTreeComponent.
|
| |
|
uint32 | bShowEventDetails: 1 |
| | show detailed information about implemented events
|
| |
|
uint32 | bShowPropertyDetails: 1 |
| | show detailed information about properties
|
| |
|
TArray< FProperty * > | PropertyData |
| | properties with runtime values, stored only in class default object
|
| |
|
uint32 | ReceiveActivationImplementations: 2 |
| | set if ReceiveActivation is implemented by blueprint
|
| |
|
uint32 | ReceiveDeactivationImplementations: 2 |
| | set if ReceiveDeactivation is implemented by blueprint
|
| |
|
uint32 | ReceiveSearchStartImplementations: 2 |
| | set if ReceiveSearchStart is implemented by blueprint
|
| |
|
uint32 | ReceiveTickImplementations: 2 |
| | set if ReceiveTick is implemented by blueprint
|
| |
|
uint32 | bCallTickOnSearchStart: 1 |
| | call Tick event when task search enters this node (SearchStart will be called as well)
|
| |
|
uint32 | bNotifyOnSearch: 1 |
| | if set, service will be notified about search entering underlying branch
|
| |
|
uint32 | bRestartTimerOnEachActivation: 1 |
| | if set, next tick time will be always reset to service's interval when node is activated
|
| |
|
float | Interval |
| | defines time span between subsequent ticks of the service
|
| |
|
float | RandomDeviation |
| | adds random range to service's Interval
|
| |
|
uint8 | bNotifyBecomeRelevant:1 |
| | if set, OnBecomeRelevant will be used
|
| |
|
uint8 | bNotifyCeaseRelevant:1 |
| | if set, OnCeaseRelevant will be used
|
| |
|
uint8 | bNotifyTick: 1 |
| | if set, OnTick will be used
|
| |
|
uint8 | bTickIntervals: 1 |
| | if set, conditional tick will use remaining time form node's memory
|
| |
|
uint8 | ChildIndex |
| | child index in parent node
|
| |
Base class for blueprint based service nodes.
Do NOT use it for creating native c++ classes!
When service receives Deactivation event, all latent actions associated this instance are being removed. This prevents from resuming activity started by Activation, but does not handle external events. Please use them safely (unregister at abort) and call IsServiceActive() when in doubt.