classref: Sync with current master branch (46a568e0a)

This commit is contained in:
Rémi Verschelde
2022-08-31 15:18:54 +02:00
parent b08b95d4f5
commit 465dd176b6
378 changed files with 17124 additions and 13692 deletions

View File

@@ -40,6 +40,8 @@ Methods
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`bsearch<class_PackedInt64Array_method_bsearch>` **(** :ref:`int<class_int>` value, :ref:`bool<class_bool>` before=true **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`clear<class_PackedInt64Array_method_clear>` **(** **)** |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`count<class_PackedInt64Array_method_count>` **(** :ref:`int<class_int>` value **)** |const| |
+-------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedInt64Array<class_PackedInt64Array>` | :ref:`duplicate<class_PackedInt64Array_method_duplicate>` **(** **)** |
@@ -138,6 +140,14 @@ Finds the index of an existing value (or the insertion index that maintains sort
----
.. _class_PackedInt64Array_method_clear:
- void **clear** **(** **)**
Clears the array. This is equivalent to using :ref:`resize<class_PackedInt64Array_method_resize>` with a size of ``0``.
----
.. _class_PackedInt64Array_method_count:
- :ref:`int<class_int>` **count** **(** :ref:`int<class_int>` value **)** |const|
@@ -285,24 +295,32 @@ Operator Descriptions
- :ref:`bool<class_bool>` **operator !=** **(** :ref:`PackedInt64Array<class_PackedInt64Array>` right **)**
Returns ``true`` if contents of the arrays differ.
----
.. _class_PackedInt64Array_operator_sum_PackedInt64Array:
- :ref:`PackedInt64Array<class_PackedInt64Array>` **operator +** **(** :ref:`PackedInt64Array<class_PackedInt64Array>` right **)**
Returns a new ``PackedInt64Array`` with contents of ``right`` added at the end of this array. For better performance, consider using :ref:`append_array<class_PackedInt64Array_method_append_array>` instead.
----
.. _class_PackedInt64Array_operator_eq_bool:
- :ref:`bool<class_bool>` **operator ==** **(** :ref:`PackedInt64Array<class_PackedInt64Array>` right **)**
Returns ``true`` if contents of both arrays are the same, i.e. they have all equal ints at the corresponding indices.
----
.. _class_PackedInt64Array_operator_idx_int:
- :ref:`int<class_int>` **operator []** **(** :ref:`int<class_int>` index **)**
Returns the :ref:`int<class_int>` at index ``index``. Negative indices can be used to access the elements starting from the end. Using index out of array's bounds will result in an error.
.. |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.)`