1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- .. 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 **)**
- Append a string element at end of the array.
- .. _class_StringArray_resize:
- - void **resize** **(** :ref:`int<class_int>` idx **)**
- Reset the size of the array.
- .. _class_StringArray_set:
- - void **set** **(** :ref:`int<class_int>` idx, :ref:`String<class_string>` string **)**
- .. _class_StringArray_size:
- - :ref:`int<class_int>` **size** **(** **)**
- Return the size of the array.
- .. _class_StringArray_StringArray:
- - :ref:`StringArray<class_stringarray>` **StringArray** **(** :ref:`Array<class_array>` from **)**
|