BtDebugger class members

Table of contents

1. BtDebugger.PrintOnExecute
2. BtDebugger.PrintOnReport
3. BtDebugger.PrintOnNotify
4. BtDebugger.PrintOnTest
5. BtDebugger.PrintOnStep
6. BtDebugger.PrintOnConstruct
7. BtDebugger.PrintOnDestruct
8. BtDebugger.PrintOnPause
9. BtDebugger.PrintOnStop
10. BtDebugger.PrintOnReset
11. BtDebugger.PrintEnginePropWrap
12. BtDebugger.PrintForestPropWrap
13. BtDebugger.PrintTreePropWrap
14. BtDebugger.PrintNodePropWrap
15. BtDebugger.GetRandomNodeStatus
16. BtDebugger.GetRandomBoolean

1. BtDebugger.PrintOnExecute
Signature:
static void BtDebugger.PrintOnExecute(uint ForestIndex, uint TreeIndex, string TreeName, uint AccuLoopCount)
static void BtDebugger.PrintOnExecute(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName, NodeStatus ReturnedStatus)
Description:
Display the OnExecute operation specific information for the TreeRootNode and DecoratorNode, respectively.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
AccuLoopCount The accumulated loop count when invoking this operation as specified by the basic play mode.
ReturnedStatus The returned node status of this operation.
2. BtDebugger.PrintOnReport
Signature:
static void BtDebugger.PrintOnReport(uint ForestIndex, uint TreeIndex, string TreeName, NodeStatus Status, uint AccuLoopCount)
static void BtDebugger.PrintOnReport(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName, NodeStatus Status, NodeStatus ReturnedStatus)
Description:
Display the OnReport operation specific information for the TreeRootNode and DecoratorNode, respectively.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
AccuLoopCount The accumulated loop count when invoking this operation as specified by the basic play mode.
Status The result node status (can be either a Success or a Failure) that was reported from its child node.
ReturnedStatus The returned node status of this operation.
3. BtDebugger.PrintOnNotify
Signature:
static void BtDebugger.PrintOnNotify(uint ForestIndex, uint TreeIndex, string TreeName, NotifyStatus Status, uint NotifiedNodeIndex, uint AccuLoopCount)
Description:
Display the OnNotify operation specific information for the TreeRootNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
Status The status of notification that indicates a re-execution request or interruption.
NotifiedNodeIndex The node index of the notified node.
AccuLoopCount The accumulated loop count when invoking this operation as specified by the basic play mode.
4. BtDebugger.PrintOnTest
Signature:
static void BtDebugger.PrintOnTest(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName, NodeStatus ReturnedStatus)
Description:
Display the OnTest operation specific information for the ConditionNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
ReturnedStatus The returned node status of this operation.
5. BtDebugger.PrintOnStep
Signature:
static void BtDebugger.PrintOnStep(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName)
Description:
Display the OnStep operation specific information for the ActionNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
6. BtDebugger.PrintOnConstruct
Signature:
static void BtDebugger.PrintOnConstruct(uint ForestIndex, string ForestName)
static void BtDebugger.PrintOnConstruct(uint ForestIndex, uint TreeIndex, string TreeName)
static void BtDebugger.PrintOnConstruct(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName)
Description:
Display the OnConstruct operation specific information for the ForestNode, TreeRootNode, DecoratorNode, ConditionNode and ActionNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
ForestName The forest name of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
7. BtDebugger.PrintOnDestruct
Signature:
static void BtDebugger.PrintOnDestruct(uint ForestIndex, string ForestName)
static void BtDebugger.PrintOnDestruct(uint ForestIndex, uint TreeIndex, string TreeName)
static void BtDebugger.PrintOnDestruct(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName)
Description:
Display the OnDestruct operation specific information for the ForestNode, TreeRootNode, DecoratorNode, ConditionNode and ActionNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
ForestName The forest name of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
8. BtDebugger.PrintOnPause
Signature:
static void BtDebugger.PrintOnPause(uint ForestIndex, uint TreeIndex, string TreeName)
Description:
Display the OnPause operation specific information for the TreeRootNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
9. BtDebugger.PrintOnStop
Signature:
static void BtDebugger.PrintOnStop(uint ForestIndex, uint TreeIndex, string TreeName)
Description:
Display the OnStop operation specific information for the TreeRootNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
10. BtDebugger.PrintOnReset
Signature:
static void BtDebugger.PrintOnReset(uint ForestIndex, uint TreeIndex, string TreeName)
static void BtDebugger.PrintOnReset(uint ForestIndex, uint TreeIndex, uint NodeIndex, string NodeName)
Description:
Display the OnReset operation specific information for the TreeRootNode, DecoratorNode, ConditionNode and ActionNode.
Parameters:
ForestIndex The forest index of the underlying mono behavior node.
TreeIndex The tree index of the underlying mono behavior node.
NodeIndex The node index of the underlying mono behavior node.
TreeName The tree name of the underlying mono behavior node.
NodeName The node name of the underlying mono behavior node.
11. BtDebugger.PrintEnginePropWrap
Signature:
static void BtDebugger.PrintEnginePropWrap(EnginePropWrap PropWrap)
Description:
Display all the information from an engine property wrapper.
Parameters:
PropWrap An engine property wrapper that contains basic properties of the engine.
12. BtDebugger.PrintForestPropWrap
Signature:
static void BtDebugger.PrintForestPropWrap(ForestPropWrap PropWrap)
Description:
Display all the information from a forest property wrapper.
Parameters:
PropWrap A forest property wrapper that contains basic properties of the forest.
13. BtDebugger.PrintTreePropWrap
Signature:
static void BtDebugger.PrintTreePropWrap(TreePropWrap PropWrap)
Description:
Display all the information from a tree property wrapper.
Parameters:
PropWrap A tree property wrapper that contains basic properties of the tree.
14. BtDebugger.PrintNodePropWrap
Signature:
static void BtDebugger.PrintNodePropWrap(NodePropWrap PropWrap)
Description:
Display all the information from a node property wrapper.
Parameters:
PropWrap A node property wrapper that contains basic properties of the node.
15. BtDebugger.GetRandomNodeStatus
Signature:
static NodeStatus BtDebugger.GetRandomNodeStatus()
Description:
Obtain a random node status.
Return Value:
A node status.
16. BtDebugger.GetRandomBoolean
Signature:
static bool BtDebugger.GetRandomNodeBoolean()
Description:
Obtain a random boolean.
Return Value:
A boolean.