|
NoJobEngine 2.0.7
|
#include <BTContext.h>
Classes | |
| struct | Event |
Public Member Functions | |
| void | BeginTick () |
| void | Emit (BTNodeID node, std::string kind, std::string detail={}) |
| const std::deque< Event > & | Events () const |
| const std::unordered_map< BTNodeID, int > & | CurrentStatuses () const |
| std::uint64_t | CurrentTick () const |
| BTNodeRuntimeState & | GetNodeState (BTNodeID id) |
| const BTNodeRuntimeState * | FindNodeState (BTNodeID id) const |
| void | ResetNodeState (BTNodeID id) |
| void | BindScript (ScriptableEntity *script) noexcept |
| ScriptableEntity * | GetScript () const noexcept |
| void | UnbindScript () noexcept |
| BTNodeID | ActiveNode () const noexcept |
| void | SetActiveNode (BTNodeID id) noexcept |
| void | SetCancellation (BTNodeID id, std::function< void(BTContext &)> fn) |
| void | CancelNode (BTNodeID id) |
| void | CancelAll () |
| void | RequestReevaluation () |
| bool | ConsumeReevaluation () noexcept |
| void | RecordStatus (BTNodeID id, int status) |
| const std::unordered_map< BTNodeID, int > & | LastStatuses () const |
| const std::unordered_map< BTNodeID, std::size_t > & | TickCounters () const |
| void | Reset () |
| BTBlackboard & | Blackboard () |
| const BTBlackboard & | Blackboard () const |
| void | ResetAll () |
Definition at line 24 of file BTContext.h.
|
inlinenoexcept |
Definition at line 57 of file BTContext.h.
Referenced by NoJob::CreateBTGameplayRegistry(), NoJob::BTAssetAgent::CreateTree(), and NoJob::BTActionNode::Tick().
|
inline |
Definition at line 32 of file BTContext.h.
|
inlinenoexcept |
Definition at line 52 of file BTContext.h.
|
inline |
Definition at line 90 of file BTContext.h.
Referenced by NoJob::CreateBTGameplayRegistry(), NoJob::BTAssetAgent::CreateTree(), NoJob::BTExampleMover::CreateTree(), NoJob::BTAssetAgent::OnTreeStarted(), NoJob::BTDecorator::Reset(), NoJob::BTService::Reset(), NoJob::BTDecorator::Tick(), and NoJob::BTService::Tick().
|
inline |
Definition at line 91 of file BTContext.h.
|
inline |
|
inline |
Definition at line 62 of file BTContext.h.
References Emit().
Referenced by CancelAll(), NoJob::BTNode::Reset(), and NoJob::BTActionNode::Tick().
|
inlinenoexcept |
Definition at line 76 of file BTContext.h.
Referenced by NoJob::BTSelector::Tick().
|
inline |
Definition at line 41 of file BTContext.h.
|
inline |
Definition at line 42 of file BTContext.h.
|
inline |
Definition at line 36 of file BTContext.h.
Referenced by CancelNode(), RecordStatus(), RequestReevaluation(), NoJob::BTDecorator::Tick(), and NoJob::BTSelector::Tick().
|
inline |
Definition at line 40 of file BTContext.h.
|
inline |
Definition at line 45 of file BTContext.h.
Referenced by NoJob::BTDecorator::Reset().
|
inline |
Definition at line 44 of file BTContext.h.
Referenced by NoJob::BTDecorator::Tick(), NoJob::BTSelector::Tick(), NoJob::BTSequence::Tick(), NoJob::BTService::Tick(), and NoJob::BTTestNode::Tick().
|
inlinenoexcept |
Definition at line 53 of file BTContext.h.
|
inline |
Definition at line 85 of file BTContext.h.
|
inline |
Definition at line 77 of file BTContext.h.
References Emit().
Referenced by NoJob::BTActionNode::Tick(), NoJob::BTConditionNode::Tick(), NoJob::BTDecorator::Tick(), NoJob::BTParallel::Tick(), and NoJob::BTService::Tick().
|
inline |
Definition at line 75 of file BTContext.h.
References Emit().
Referenced by NoJob::BTDecorator::Tick().
|
inline |
|
inline |
Definition at line 94 of file BTContext.h.
References Reset().
|
inline |
Definition at line 49 of file BTContext.h.
Referenced by NoJob::BTNode::Reset().
|
inlinenoexcept |
Definition at line 58 of file BTContext.h.
Referenced by NoJob::BTActionNode::Tick().
Definition at line 59 of file BTContext.h.
Referenced by NoJob::CreateBTGameplayRegistry(), and NoJob::BTAssetAgent::CreateTree().
|
inline |
Definition at line 86 of file BTContext.h.
|
inlinenoexcept |
Definition at line 54 of file BTContext.h.