2022-11-01 20:31:22 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-04-10 14:57:36 +00:00
|
|
|
<class name="LimboUtility" inherits="Object" version="4.1" 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>
|
|
|
|
<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>
|
2022-11-04 12:27:09 +00:00
|
|
|
Returns a string with a [Blackboard] variable name ready to be displayed or printed to console.
|
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>
|
2022-11-04 12:27:09 +00:00
|
|
|
Returns 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>
|
|
|
|
Returns the icon texture associated with a task, given its class name or script resource path.
|
|
|
|
</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">
|
|
|
|
</constant>
|
|
|
|
<constant name="CHECK_LESS_THAN" value="1" enum="CheckType">
|
|
|
|
</constant>
|
|
|
|
<constant name="CHECK_LESS_THAN_OR_EQUAL" value="2" enum="CheckType">
|
|
|
|
</constant>
|
|
|
|
<constant name="CHECK_GREATER_THAN" value="3" enum="CheckType">
|
|
|
|
</constant>
|
|
|
|
<constant name="CHECK_GREATER_THAN_OR_EQUAL" value="4" enum="CheckType">
|
|
|
|
</constant>
|
|
|
|
<constant name="CHECK_NOT_EQUAL" value="5" enum="CheckType">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
2022-11-01 20:31:22 +00:00
|
|
|
</class>
|