![]() | IAgentData Interface |
Namespace: Slash.AI.BehaviorTrees.Interfaces
The IAgentData type exposes the following members.
Name | Description | |
---|---|---|
![]() | Blackboard |
Blackboard to exchange data between behaviors.
|
![]() | CurrentDeciderLevel |
Current decider level. Incremented/Decremented while the behavior tree is walked through. Indicates how deep in the tree (on which level) the execution currently is. It's just an internal information, so don't change it from the outside.
|
![]() | CurrentTaskData |
Task-specific data. Will always return/set the task data of the current decider level.
|
![]() | ExecutionStatus |
Behavior tree execution status.
|
![]() | LogEnabled |
Indicates if this behavior should log events. If not set the behaviors/deciders should only log warnings and errors to the logger.
|
Name | Description | |
---|---|---|
![]() | GetTaskDataT |
Tries to cast the current task data to the specified type and returns it. Throws an exception if there is no current task data or if it couldn't be casted.
|
![]() | PostUpdate |
Called after behavior tree was updated.
|
![]() | PreUpdate |
Called before behavior tree is updated.
|
Name | Description | |
---|---|---|
![]() | OnActiveTasksChanged |
Called when the active tasks of the agent changed.
|