48 lines
1.6 KiB
XML
48 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="LimboUtility" inherits="Object" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
Helper functions for LimboAI.
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="decorate_var" qualifiers="const">
|
|
<return type="String" />
|
|
<param index="0" name="p_variable" type="String" />
|
|
<description>
|
|
Returns a string with a [Blackboard] variable name ready to be displayed or printed to console.
|
|
</description>
|
|
</method>
|
|
<method name="get_status_name" qualifiers="const">
|
|
<return type="String" />
|
|
<param index="0" name="p_status" type="int" />
|
|
<description>
|
|
Returns name of a [BTTask] status code.
|
|
</description>
|
|
</method>
|
|
<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>
|
|
</methods>
|
|
<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>
|
|
</class>
|