2022-11-01 20:31:22 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-11-15 14:40:07 +00:00
<class name= "LimboUtility" inherits= "Object" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2022-11-01 20:31:22 +00:00
<brief_description >
2022-11-04 12:27:09 +00:00
Helper functions for LimboAI.
2022-11-01 20:31:22 +00:00
</brief_description>
<description >
</description>
<tutorials >
</tutorials>
<methods >
2024-02-10 11:29:04 +00:00
<method name= "decorate_output_var" qualifiers= "const" >
<return type= "String" />
<param index= "0" name= "p_variable" type= "String" />
<description >
Just like [method decorate_var], produces a string with a [Blackboard] variable name that is formatted for display, and also adds an additional symbol to indicate that the variable is used as an output.
</description>
</method>
2022-11-01 20:31:22 +00:00
<method name= "decorate_var" qualifiers= "const" >
<return type= "String" />
2023-04-10 14:57:36 +00:00
<param index= "0" name= "p_variable" type= "String" />
2022-11-01 20:31:22 +00:00
<description >
2023-10-26 14:16:00 +00:00
Produces a string with a [Blackboard] variable name that is formatted for display or console output.
2022-11-01 20:31:22 +00:00
</description>
</method>
<method name= "get_status_name" qualifiers= "const" >
<return type= "String" />
2023-04-10 14:57:36 +00:00
<param index= "0" name= "p_status" type= "int" />
2022-11-01 20:31:22 +00:00
<description >
2023-10-26 14:16:00 +00:00
Returns a name of a [BTTask] status code.
2022-11-01 20:31:22 +00:00
</description>
</method>
2023-07-20 20:15:30 +00:00
<method name= "get_task_icon" qualifiers= "const" >
<return type= "Texture2D" />
<param index= "0" name= "p_class_or_script_path" type= "String" />
<description >
2023-10-26 14:16:00 +00:00
Returns the icon texture associated with a task based on its class name or script resource path.
2023-07-20 20:15:30 +00:00
</description>
</method>
2022-11-01 20:31:22 +00:00
</methods>
2023-08-10 11:24:41 +00:00
<constants >
<constant name= "CHECK_EQUAL" value= "0" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Equality Check.
2023-08-10 11:24:41 +00:00
</constant>
<constant name= "CHECK_LESS_THAN" value= "1" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Less Than Check.
2023-08-10 11:24:41 +00:00
</constant>
<constant name= "CHECK_LESS_THAN_OR_EQUAL" value= "2" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Less Than or Equal To Check.
2023-08-10 11:24:41 +00:00
</constant>
<constant name= "CHECK_GREATER_THAN" value= "3" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Greater Than Check.
2023-08-10 11:24:41 +00:00
</constant>
<constant name= "CHECK_GREATER_THAN_OR_EQUAL" value= "4" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Greater Than or Equal To Check
2023-08-10 11:24:41 +00:00
</constant>
<constant name= "CHECK_NOT_EQUAL" value= "5" enum= "CheckType" >
2023-10-26 14:16:00 +00:00
Inequality Check.
2023-08-10 11:24:41 +00:00
</constant>
2023-11-15 14:40:07 +00:00
<constant name= "OPERATION_NONE" value= "0" enum= "Operation" >
No operation.
</constant>
<constant name= "OPERATION_ADDITION" value= "1" enum= "Operation" >
Arithmetic addition.
</constant>
<constant name= "OPERATION_SUBTRACTION" value= "2" enum= "Operation" >
Arithmetic subtraction.
</constant>
<constant name= "OPERATION_MULTIPLICATION" value= "3" enum= "Operation" >
Arithmetic multiplication.
</constant>
<constant name= "OPERATION_DIVISION" value= "4" enum= "Operation" >
Arithmetic division.
</constant>
<constant name= "OPERATION_MODULO" value= "5" enum= "Operation" >
Produces the remainder of an integer division.
</constant>
<constant name= "OPERATION_POWER" value= "6" enum= "Operation" >
Multiply [code]a[/code] by itself [code]b[/code] times.
</constant>
<constant name= "OPERATION_BIT_SHIFT_LEFT" value= "7" enum= "Operation" >
Bitwise left shift.
</constant>
<constant name= "OPERATION_BIT_SHIFT_RIGHT" value= "8" enum= "Operation" >
Bitwise right shift.
</constant>
<constant name= "OPERATION_BIT_AND" value= "9" enum= "Operation" >
Bitwise AND.
</constant>
<constant name= "OPERATION_BIT_OR" value= "10" enum= "Operation" >
Bitwise OR.
</constant>
<constant name= "OPERATION_BIT_XOR" value= "11" enum= "Operation" >
Bitwise XOR.
</constant>
2023-08-10 11:24:41 +00:00
</constants>
2022-11-01 20:31:22 +00:00
</class>