2024-01-12 20:05:50 +00:00
:github_url: hide
.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.2/modules/limboai/doc_classes/LimboUtility.xml.
.. _class_LimboUtility:
LimboUtility
============
**Inherits:**
Helper functions for LimboAI.
.. rst-class :: classref-reftable-group
Methods
-------
.. table ::
:widths: auto
2024-02-14 19:34:18 +00:00
+-----------+-----------------------------------------------------------------------------------------------------------------+
| String | :ref: `decorate_output_var<class_LimboUtility_method_decorate_output_var>` **(** String p_variable **)** |const| |
2024-01-12 20:05:50 +00:00
+-----------+-----------------------------------------------------------------------------------------------------------------+
| String | :ref: `decorate_var<class_LimboUtility_method_decorate_var>` **(** String p_variable **)** |const| |
+-----------+-----------------------------------------------------------------------------------------------------------------+
| String | :ref: `get_status_name<class_LimboUtility_method_get_status_name>` **(** int p_status **)** |const| |
+-----------+-----------------------------------------------------------------------------------------------------------------+
| Texture2D | :ref: `get_task_icon<class_LimboUtility_method_get_task_icon>` **(** String p_class_or_script_path **)** |const| |
+-----------+-----------------------------------------------------------------------------------------------------------------+
.. rst-class :: classref-section-separator
----
.. rst-class :: classref-descriptions-group
Enumerations
------------
.. _enum_LimboUtility_CheckType:
.. rst-class :: classref-enumeration
enum **CheckType** :
.. _class_LimboUtility_constant_CHECK_EQUAL:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_EQUAL** = `` 0 ``
Equality Check.
.. _class_LimboUtility_constant_CHECK_LESS_THAN:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_LESS_THAN** = `` 1 ``
Less Than Check.
.. _class_LimboUtility_constant_CHECK_LESS_THAN_OR_EQUAL:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_LESS_THAN_OR_EQUAL** = `` 2 ``
Less Than or Equal To Check.
.. _class_LimboUtility_constant_CHECK_GREATER_THAN:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_GREATER_THAN** = `` 3 ``
Greater Than Check.
.. _class_LimboUtility_constant_CHECK_GREATER_THAN_OR_EQUAL:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_GREATER_THAN_OR_EQUAL** = `` 4 ``
Greater Than or Equal To Check
.. _class_LimboUtility_constant_CHECK_NOT_EQUAL:
.. rst-class :: classref-enumeration-constant
:ref: `CheckType<enum_LimboUtility_CheckType>` **CHECK_NOT_EQUAL** = `` 5 ``
Inequality Check.
.. rst-class :: classref-item-separator
----
.. _enum_LimboUtility_Operation:
.. rst-class :: classref-enumeration
enum **Operation** :
.. _class_LimboUtility_constant_OPERATION_NONE:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_NONE** = `` 0 ``
No operation.
.. _class_LimboUtility_constant_OPERATION_ADDITION:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_ADDITION** = `` 1 ``
Arithmetic addition.
.. _class_LimboUtility_constant_OPERATION_SUBTRACTION:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_SUBTRACTION** = `` 2 ``
Arithmetic subtraction.
.. _class_LimboUtility_constant_OPERATION_MULTIPLICATION:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_MULTIPLICATION** = `` 3 ``
Arithmetic multiplication.
.. _class_LimboUtility_constant_OPERATION_DIVISION:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_DIVISION** = `` 4 ``
Arithmetic division.
.. _class_LimboUtility_constant_OPERATION_MODULO:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_MODULO** = `` 5 ``
Produces the remainder of an integer division.
.. _class_LimboUtility_constant_OPERATION_POWER:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_POWER** = `` 6 ``
Multiply `` a `` by itself `` b `` times.
.. _class_LimboUtility_constant_OPERATION_BIT_SHIFT_LEFT:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_BIT_SHIFT_LEFT** = `` 7 ``
Bitwise left shift.
.. _class_LimboUtility_constant_OPERATION_BIT_SHIFT_RIGHT:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_BIT_SHIFT_RIGHT** = `` 8 ``
Bitwise right shift.
.. _class_LimboUtility_constant_OPERATION_BIT_AND:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_BIT_AND** = `` 9 ``
Bitwise AND.
.. _class_LimboUtility_constant_OPERATION_BIT_OR:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_BIT_OR** = `` 10 ``
Bitwise OR.
.. _class_LimboUtility_constant_OPERATION_BIT_XOR:
.. rst-class :: classref-enumeration-constant
:ref: `Operation<enum_LimboUtility_Operation>` **OPERATION_BIT_XOR** = `` 11 ``
Bitwise XOR.
.. rst-class :: classref-section-separator
----
.. rst-class :: classref-descriptions-group
Method Descriptions
-------------------
2024-02-14 19:34:18 +00:00
.. _class_LimboUtility_method_decorate_output_var:
.. rst-class :: classref-method
String **decorate_output_var** **(** String p_variable **)** |const|
Just like :ref: `decorate_var<class_LimboUtility_method_decorate_var>` , produces a string with a :ref: `Blackboard<class_Blackboard>` variable name that is formatted for display, and also adds an additional symbol to indicate that the variable is used as an output.
.. rst-class :: classref-item-separator
----
2024-01-12 20:05:50 +00:00
.. _class_LimboUtility_method_decorate_var:
.. rst-class :: classref-method
String **decorate_var** **(** String p_variable **)** |const|
Produces a string with a :ref: `Blackboard<class_Blackboard>` variable name that is formatted for display or console output.
.. rst-class :: classref-item-separator
----
.. _class_LimboUtility_method_get_status_name:
.. rst-class :: classref-method
String **get_status_name** **(** int p_status **)** |const|
Returns a name of a :ref: `BTTask<class_BTTask>` status code.
.. rst-class :: classref-item-separator
----
.. _class_LimboUtility_method_get_task_icon:
.. rst-class :: classref-method
Texture2D **get_task_icon** **(** String p_class_or_script_path **)** |const|
Returns the icon texture associated with a task based on its class name or script resource path.
.. |virtual| replace :: :abbr: `virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace :: :abbr: `const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace :: :abbr: `vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace :: :abbr: `constructor (This method is used to construct a type.)`
.. |static| replace :: :abbr: `static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace :: :abbr: `operator (This method describes a valid operator to use with this type as left-hand operand.)`
.. |bitfield| replace :: :abbr: `BitField (This value is an integer composed as a bitmask of the following flags.)`