mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
To tell potential contributors that they should NOT edit those files but instead should work on the class.xml source of the main Godot repo
60 lines
2.7 KiB
ReStructuredText
60 lines
2.7 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_StringArray:
|
|
|
|
StringArray
|
|
===========
|
|
|
|
**Category:** Built-In Types
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
String Array.
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`push_back<class_StringArray_push_back>` **(** :ref:`String<class_string>` string **)** |
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`resize<class_StringArray_resize>` **(** :ref:`int<class_int>` idx **)** |
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set<class_StringArray_set>` **(** :ref:`int<class_int>` idx, :ref:`String<class_string>` string **)** |
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`size<class_StringArray_size>` **(** **)** |
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`StringArray<class_stringarray>` | :ref:`StringArray<class_StringArray_StringArray>` **(** :ref:`Array<class_array>` from **)** |
|
|
+----------------------------------------+---------------------------------------------------------------------------------------------------------------+
|
|
|
|
Description
|
|
-----------
|
|
|
|
String Array. Array of strings. Can only contain strings. Optimized for memory usage, can't fragment the memory.
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_StringArray_push_back:
|
|
|
|
- void **push_back** **(** :ref:`String<class_string>` string **)**
|
|
|
|
.. _class_StringArray_resize:
|
|
|
|
- void **resize** **(** :ref:`int<class_int>` idx **)**
|
|
|
|
.. _class_StringArray_set:
|
|
|
|
- void **set** **(** :ref:`int<class_int>` idx, :ref:`String<class_string>` string **)**
|
|
|
|
.. _class_StringArray_size:
|
|
|
|
- :ref:`int<class_int>` **size** **(** **)**
|
|
|
|
.. _class_StringArray_StringArray:
|
|
|
|
- :ref:`StringArray<class_stringarray>` **StringArray** **(** :ref:`Array<class_array>` from **)**
|
|
|
|
|