Merge pull request #76730 from AThousandShips/doc_order

Make documentation sorting use natural order
This commit is contained in:
Rémi Verschelde 2023-05-09 19:28:38 +02:00
commit ccf8029910
No known key found for this signature in database
GPG key ID: C3336907360768E1
10 changed files with 251 additions and 246 deletions

View file

@ -137,7 +137,7 @@ public:
return arguments[0] < p_method.arguments[0]; return arguments[0] < p_method.arguments[0];
} }
} }
return name < p_method.name; return name.naturalcasecmp_to(p_method.name) < 0;
} }
static MethodDoc from_dict(const Dictionary &p_dict) { static MethodDoc from_dict(const Dictionary &p_dict) {
MethodDoc doc; MethodDoc doc;
@ -327,7 +327,7 @@ public:
bool is_deprecated = false; bool is_deprecated = false;
bool is_experimental = false; bool is_experimental = false;
bool operator<(const PropertyDoc &p_prop) const { bool operator<(const PropertyDoc &p_prop) const {
return name < p_prop.name; return name.naturalcasecmp_to(p_prop.name) < 0;
} }
static PropertyDoc from_dict(const Dictionary &p_dict) { static PropertyDoc from_dict(const Dictionary &p_dict) {
PropertyDoc doc; PropertyDoc doc;
@ -432,7 +432,7 @@ public:
bool operator<(const ThemeItemDoc &p_theme_item) const { bool operator<(const ThemeItemDoc &p_theme_item) const {
// First sort by the data type, then by name. // First sort by the data type, then by name.
if (data_type == p_theme_item.data_type) { if (data_type == p_theme_item.data_type) {
return name < p_theme_item.name; return name.naturalcasecmp_to(p_theme_item.name) < 0;
} }
return data_type < p_theme_item.data_type; return data_type < p_theme_item.data_type;
} }

View file

@ -94,6 +94,12 @@
[b]Note:[/b] Only call [method flush] when you actually need it. Otherwise, it will decrease performance due to constant disk writes. [b]Note:[/b] Only call [method flush] when you actually need it. Otherwise, it will decrease performance due to constant disk writes.
</description> </description>
</method> </method>
<method name="get_8" qualifiers="const">
<return type="int" />
<description>
Returns the next 8 bits from the file as an integer. See [method store_8] for details on what values can be stored and retrieved this way.
</description>
</method>
<method name="get_16" qualifiers="const"> <method name="get_16" qualifiers="const">
<return type="int" /> <return type="int" />
<description> <description>
@ -112,12 +118,6 @@
Returns the next 64 bits from the file as an integer. See [method store_64] for details on what values can be stored and retrieved this way. Returns the next 64 bits from the file as an integer. See [method store_64] for details on what values can be stored and retrieved this way.
</description> </description>
</method> </method>
<method name="get_8" qualifiers="const">
<return type="int" />
<description>
Returns the next 8 bits from the file as an integer. See [method store_8] for details on what values can be stored and retrieved this way.
</description>
</method>
<method name="get_as_text" qualifiers="const"> <method name="get_as_text" qualifiers="const">
<return type="String" /> <return type="String" />
<param index="0" name="skip_cr" type="bool" default="false" /> <param index="0" name="skip_cr" type="bool" default="false" />
@ -322,6 +322,15 @@
[b]Note:[/b] This is an offset, so you should use negative numbers or the cursor will be at the end of the file. [b]Note:[/b] This is an offset, so you should use negative numbers or the cursor will be at the end of the file.
</description> </description>
</method> </method>
<method name="store_8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Stores an integer as 8 bits in the file.
[b]Note:[/b] The [param value] should lie in the interval [code][0, 255][/code]. Any other value will overflow and wrap around.
To store a signed integer, use [method store_64], or convert it manually (see [method store_16] for an example).
</description>
</method>
<method name="store_16"> <method name="store_16">
<return type="void" /> <return type="void" />
<param index="0" name="value" type="int" /> <param index="0" name="value" type="int" />
@ -380,15 +389,6 @@
[b]Note:[/b] The [param value] must lie in the interval [code][-2^63, 2^63 - 1][/code] (i.e. be a valid [int] value). [b]Note:[/b] The [param value] must lie in the interval [code][-2^63, 2^63 - 1][/code] (i.e. be a valid [int] value).
</description> </description>
</method> </method>
<method name="store_8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Stores an integer as 8 bits in the file.
[b]Note:[/b] The [param value] should lie in the interval [code][0, 255][/code]. Any other value will overflow and wrap around.
To store a signed integer, use [method store_64], or convert it manually (see [method store_16] for an example).
</description>
</method>
<method name="store_buffer"> <method name="store_buffer">
<return type="void" /> <return type="void" />
<param index="0" name="buffer" type="PackedByteArray" /> <param index="0" name="buffer" type="PackedByteArray" />

View file

@ -382,12 +382,6 @@
Converts a standard RGBE (Red Green Blue Exponent) image to an sRGB image. Converts a standard RGBE (Red Green Blue Exponent) image to an sRGB image.
</description> </description>
</method> </method>
<method name="rotate_180">
<return type="void" />
<description>
Rotates the image by [code]180[/code] degrees. The width and height of the image must be greater than [code]1[/code].
</description>
</method>
<method name="rotate_90"> <method name="rotate_90">
<return type="void" /> <return type="void" />
<param index="0" name="direction" type="int" enum="ClockDirection" /> <param index="0" name="direction" type="int" enum="ClockDirection" />
@ -395,6 +389,12 @@
Rotates the image in the specified [param direction] by [code]90[/code] degrees. The width and height of the image must be greater than [code]1[/code]. If the width and height are not equal, the image will be resized. Rotates the image in the specified [param direction] by [code]90[/code] degrees. The width and height of the image must be greater than [code]1[/code]. If the width and height are not equal, the image will be resized.
</description> </description>
</method> </method>
<method name="rotate_180">
<return type="void" />
<description>
Rotates the image by [code]180[/code] degrees. The width and height of the image must be greater than [code]1[/code].
</description>
</method>
<method name="save_exr" qualifiers="const"> <method name="save_exr" qualifiers="const">
<return type="int" enum="Error" /> <return type="int" enum="Error" />
<param index="0" name="path" type="String" /> <param index="0" name="path" type="String" />

View file

@ -96,6 +96,13 @@
Decodes a 16-bit floating point number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0.0[/code] if a valid number can't be decoded. Decodes a 16-bit floating point number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0.0[/code] if a valid number can't be decoded.
</description> </description>
</method> </method>
<method name="decode_s8" qualifiers="const">
<return type="int" />
<param index="0" name="byte_offset" type="int" />
<description>
Decodes a 8-bit signed integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded.
</description>
</method>
<method name="decode_s16" qualifiers="const"> <method name="decode_s16" qualifiers="const">
<return type="int" /> <return type="int" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
@ -117,11 +124,11 @@
Decodes a 64-bit signed integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded. Decodes a 64-bit signed integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded.
</description> </description>
</method> </method>
<method name="decode_s8" qualifiers="const"> <method name="decode_u8" qualifiers="const">
<return type="int" /> <return type="int" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
<description> <description>
Decodes a 8-bit signed integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded. Decodes a 8-bit unsigned integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded.
</description> </description>
</method> </method>
<method name="decode_u16" qualifiers="const"> <method name="decode_u16" qualifiers="const">
@ -145,13 +152,6 @@
Decodes a 64-bit unsigned integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded. Decodes a 64-bit unsigned integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded.
</description> </description>
</method> </method>
<method name="decode_u8" qualifiers="const">
<return type="int" />
<param index="0" name="byte_offset" type="int" />
<description>
Decodes a 8-bit unsigned integer number from the bytes starting at [param byte_offset]. Fails if the byte count is insufficient. Returns [code]0[/code] if a valid number can't be decoded.
</description>
</method>
<method name="decode_var" qualifiers="const"> <method name="decode_var" qualifiers="const">
<return type="Variant" /> <return type="Variant" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
@ -216,6 +216,14 @@
Encodes a 16-bit floating point number as bytes at the index of [param byte_offset] bytes. The array must have at least 2 bytes of space, starting at the offset. Encodes a 16-bit floating point number as bytes at the index of [param byte_offset] bytes. The array must have at least 2 bytes of space, starting at the offset.
</description> </description>
</method> </method>
<method name="encode_s8">
<return type="void" />
<param index="0" name="byte_offset" type="int" />
<param index="1" name="value" type="int" />
<description>
Encodes a 8-bit signed integer number (signed byte) at the index of [param byte_offset] bytes. The array must have at least 1 byte of space, starting at the offset.
</description>
</method>
<method name="encode_s16"> <method name="encode_s16">
<return type="void" /> <return type="void" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
@ -240,12 +248,12 @@
Encodes a 64-bit signed integer number as bytes at the index of [param byte_offset] bytes. The array must have at least 8 bytes of space, starting at the offset. Encodes a 64-bit signed integer number as bytes at the index of [param byte_offset] bytes. The array must have at least 8 bytes of space, starting at the offset.
</description> </description>
</method> </method>
<method name="encode_s8"> <method name="encode_u8">
<return type="void" /> <return type="void" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
<param index="1" name="value" type="int" /> <param index="1" name="value" type="int" />
<description> <description>
Encodes a 8-bit signed integer number (signed byte) at the index of [param byte_offset] bytes. The array must have at least 1 byte of space, starting at the offset. Encodes a 8-bit unsigned integer number (byte) at the index of [param byte_offset] bytes. The array must have at least 1 byte of space, starting at the offset.
</description> </description>
</method> </method>
<method name="encode_u16"> <method name="encode_u16">
@ -272,14 +280,6 @@
Encodes a 64-bit unsigned integer number as bytes at the index of [param byte_offset] bytes. The array must have at least 8 bytes of space, starting at the offset. Encodes a 64-bit unsigned integer number as bytes at the index of [param byte_offset] bytes. The array must have at least 8 bytes of space, starting at the offset.
</description> </description>
</method> </method>
<method name="encode_u8">
<return type="void" />
<param index="0" name="byte_offset" type="int" />
<param index="1" name="value" type="int" />
<description>
Encodes a 8-bit unsigned integer number (byte) at the index of [param byte_offset] bytes. The array must have at least 1 byte of space, starting at the offset.
</description>
</method>
<method name="encode_var"> <method name="encode_var">
<return type="int" /> <return type="int" />
<param index="0" name="byte_offset" type="int" /> <param index="0" name="byte_offset" type="int" />
@ -310,6 +310,12 @@
Converts ASCII/Latin-1 encoded array to [String]. Fast alternative to [method get_string_from_utf8] if the content is ASCII/Latin-1 only. Unlike the UTF-8 function this function maps every byte to a character in the array. Multibyte sequences will not be interpreted correctly. For parsing user input always use [method get_string_from_utf8]. Converts ASCII/Latin-1 encoded array to [String]. Fast alternative to [method get_string_from_utf8] if the content is ASCII/Latin-1 only. Unlike the UTF-8 function this function maps every byte to a character in the array. Multibyte sequences will not be interpreted correctly. For parsing user input always use [method get_string_from_utf8].
</description> </description>
</method> </method>
<method name="get_string_from_utf8" qualifiers="const">
<return type="String" />
<description>
Converts UTF-8 encoded array to [String]. Slower than [method get_string_from_ascii] but supports UTF-8 encoded data. Use this function if you are unsure about the source of the data. For user input this function should always be preferred. Returns empty string if source array is not valid UTF-8 string.
</description>
</method>
<method name="get_string_from_utf16" qualifiers="const"> <method name="get_string_from_utf16" qualifiers="const">
<return type="String" /> <return type="String" />
<description> <description>
@ -322,12 +328,6 @@
Converts UTF-32 encoded array to [String]. System endianness is assumed. Returns empty string if source array is not valid UTF-32 string. Converts UTF-32 encoded array to [String]. System endianness is assumed. Returns empty string if source array is not valid UTF-32 string.
</description> </description>
</method> </method>
<method name="get_string_from_utf8" qualifiers="const">
<return type="String" />
<description>
Converts UTF-8 encoded array to [String]. Slower than [method get_string_from_ascii] but supports UTF-8 encoded data. Use this function if you are unsure about the source of the data. For user input this function should always be preferred. Returns empty string if source array is not valid UTF-8 string.
</description>
</method>
<method name="get_string_from_wchar" qualifiers="const"> <method name="get_string_from_wchar" qualifiers="const">
<return type="String" /> <return type="String" />
<description> <description>

View file

@ -1242,6 +1242,30 @@
<member name="layer_names/2d_navigation/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 2D navigation layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/2d_navigation/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_navigation/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_navigation/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_navigation/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_navigation/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_navigation/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_navigation/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_navigation/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/2d_navigation/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 2D navigation layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1272,9 +1296,6 @@
<member name="layer_names/2d_navigation/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 2D navigation layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/2d_navigation/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_navigation/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 2D navigation layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
@ -1305,9 +1326,6 @@
<member name="layer_names/2d_navigation/layer_29" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_29" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 29. If left empty, the layer will display as "Layer 29". Optional name for the 2D navigation layer 29. If left empty, the layer will display as "Layer 29".
</member> </member>
<member name="layer_names/2d_navigation/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_navigation/layer_30" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_30" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 30. If left empty, the layer will display as "Layer 30". Optional name for the 2D navigation layer 30. If left empty, the layer will display as "Layer 30".
</member> </member>
@ -1317,27 +1335,33 @@
<member name="layer_names/2d_navigation/layer_32" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_navigation/layer_32" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 32. If left empty, the layer will display as "Layer 32". Optional name for the 2D navigation layer 32. If left empty, the layer will display as "Layer 32".
</member> </member>
<member name="layer_names/2d_navigation/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_navigation/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_navigation/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_navigation/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_navigation/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_navigation/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D navigation layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/2d_physics/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 2D physics layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/2d_physics/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_physics/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_physics/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_physics/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_physics/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_physics/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_physics/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_physics/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/2d_physics/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 2D physics layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1368,9 +1392,6 @@
<member name="layer_names/2d_physics/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 2D physics layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/2d_physics/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_physics/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 2D physics layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
@ -1401,9 +1422,6 @@
<member name="layer_names/2d_physics/layer_29" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_29" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 29. If left empty, the layer will display as "Layer 29". Optional name for the 2D physics layer 29. If left empty, the layer will display as "Layer 29".
</member> </member>
<member name="layer_names/2d_physics/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_physics/layer_30" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_30" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 30. If left empty, the layer will display as "Layer 30". Optional name for the 2D physics layer 30. If left empty, the layer will display as "Layer 30".
</member> </member>
@ -1413,27 +1431,33 @@
<member name="layer_names/2d_physics/layer_32" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_physics/layer_32" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 32. If left empty, the layer will display as "Layer 32". Optional name for the 2D physics layer 32. If left empty, the layer will display as "Layer 32".
</member> </member>
<member name="layer_names/2d_physics/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_physics/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_physics/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_physics/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_physics/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_physics/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D physics layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/2d_render/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_render/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 2D render layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/2d_render/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_render/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_render/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_render/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_render/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_render/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_render/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_render/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/2d_render/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_render/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 2D render layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1464,36 +1488,36 @@
<member name="layer_names/2d_render/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_render/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 2D render layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/2d_render/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/2d_render/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/2d_render/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 2D render layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
<member name="layer_names/2d_render/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/2d_render/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/2d_render/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/2d_render/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/2d_render/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/2d_render/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/2d_render/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 2D render layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_navigation/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 3D navigation layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/3d_navigation/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_navigation/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_navigation/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_navigation/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_navigation/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_navigation/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_navigation/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_navigation/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_navigation/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 3D navigation layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1524,9 +1548,6 @@
<member name="layer_names/3d_navigation/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 3D navigation layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/3d_navigation/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_navigation/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 3D navigation layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
@ -1557,9 +1578,6 @@
<member name="layer_names/3d_navigation/layer_29" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_29" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 29. If left empty, the layer will display as "Layer 29". Optional name for the 3D navigation layer 29. If left empty, the layer will display as "Layer 29".
</member> </member>
<member name="layer_names/3d_navigation/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_navigation/layer_30" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_30" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 30. If left empty, the layer will display as "Layer 30". Optional name for the 3D navigation layer 30. If left empty, the layer will display as "Layer 30".
</member> </member>
@ -1569,27 +1587,33 @@
<member name="layer_names/3d_navigation/layer_32" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_navigation/layer_32" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 32. If left empty, the layer will display as "Layer 32". Optional name for the 3D navigation layer 32. If left empty, the layer will display as "Layer 32".
</member> </member>
<member name="layer_names/3d_navigation/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_navigation/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_navigation/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_navigation/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_navigation/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_navigation/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D navigation layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_physics/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 3D physics layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/3d_physics/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_physics/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_physics/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_physics/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_physics/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_physics/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_physics/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_physics/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_physics/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 3D physics layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1620,9 +1644,6 @@
<member name="layer_names/3d_physics/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 3D physics layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/3d_physics/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_physics/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 3D physics layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
@ -1653,9 +1674,6 @@
<member name="layer_names/3d_physics/layer_29" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_29" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 29. If left empty, the layer will display as "Layer 29". Optional name for the 3D physics layer 29. If left empty, the layer will display as "Layer 29".
</member> </member>
<member name="layer_names/3d_physics/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_physics/layer_30" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_30" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 30. If left empty, the layer will display as "Layer 30". Optional name for the 3D physics layer 30. If left empty, the layer will display as "Layer 30".
</member> </member>
@ -1665,27 +1683,33 @@
<member name="layer_names/3d_physics/layer_32" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_physics/layer_32" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 32. If left empty, the layer will display as "Layer 32". Optional name for the 3D physics layer 32. If left empty, the layer will display as "Layer 32".
</member> </member>
<member name="layer_names/3d_physics/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_physics/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_physics/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_physics/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_physics/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_physics/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D physics layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_render/layer_1" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_render/layer_1" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 1. If left empty, the layer will display as "Layer 1". Optional name for the 3D render layer 1. If left empty, the layer will display as "Layer 1".
</member> </member>
<member name="layer_names/3d_render/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_render/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_render/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_render/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_render/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_render/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_render/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_render/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="layer_names/3d_render/layer_10" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_render/layer_10" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 10. If left empty, the layer will display as "Layer 10". Optional name for the 3D render layer 10. If left empty, the layer will display as "Layer 10".
</member> </member>
@ -1716,33 +1740,9 @@
<member name="layer_names/3d_render/layer_19" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_render/layer_19" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 19. If left empty, the layer will display as "Layer 19". Optional name for the 3D render layer 19. If left empty, the layer will display as "Layer 19".
</member> </member>
<member name="layer_names/3d_render/layer_2" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 2. If left empty, the layer will display as "Layer 2".
</member>
<member name="layer_names/3d_render/layer_20" type="String" setter="" getter="" default="&quot;&quot;"> <member name="layer_names/3d_render/layer_20" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 20. If left empty, the layer will display as "Layer 20". Optional name for the 3D render layer 20. If left empty, the layer will display as "Layer 20".
</member> </member>
<member name="layer_names/3d_render/layer_3" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 3. If left empty, the layer will display as "Layer 3".
</member>
<member name="layer_names/3d_render/layer_4" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 4. If left empty, the layer will display as "Layer 4".
</member>
<member name="layer_names/3d_render/layer_5" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 5. If left empty, the layer will display as "Layer 5".
</member>
<member name="layer_names/3d_render/layer_6" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 6. If left empty, the layer will display as "Layer 6".
</member>
<member name="layer_names/3d_render/layer_7" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 7. If left empty, the layer will display as "Layer 7".
</member>
<member name="layer_names/3d_render/layer_8" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 8. If left empty, the layer will display as "Layer 8".
</member>
<member name="layer_names/3d_render/layer_9" type="String" setter="" getter="" default="&quot;&quot;">
Optional name for the 3D render layer 9. If left empty, the layer will display as "Layer 9".
</member>
<member name="memory/limits/message_queue/max_size_mb" type="int" setter="" getter="" default="32"> <member name="memory/limits/message_queue/max_size_mb" type="int" setter="" getter="" default="32">
Godot uses a message queue to defer some function calls. If you run out of space on it (you will see an error), you can increase the size here. Godot uses a message queue to defer some function calls. If you run out of space on it (you will see an error), you can increase the size here.
</member> </member>

View file

@ -10,6 +10,12 @@
<tutorials> <tutorials>
</tutorials> </tutorials>
<methods> <methods>
<method name="get_8">
<return type="int" />
<description>
Gets a signed byte from the stream.
</description>
</method>
<method name="get_16"> <method name="get_16">
<return type="int" /> <return type="int" />
<description> <description>
@ -28,12 +34,6 @@
Gets a signed 64-bit value from the stream. Gets a signed 64-bit value from the stream.
</description> </description>
</method> </method>
<method name="get_8">
<return type="int" />
<description>
Gets a signed byte from the stream.
</description>
</method>
<method name="get_available_bytes" qualifiers="const"> <method name="get_available_bytes" qualifiers="const">
<return type="int" /> <return type="int" />
<description> <description>
@ -73,6 +73,12 @@
Gets an ASCII string with byte-length [param bytes] from the stream. If [param bytes] is negative (default) the length will be read from the stream using the reverse process of [method put_string]. Gets an ASCII string with byte-length [param bytes] from the stream. If [param bytes] is negative (default) the length will be read from the stream using the reverse process of [method put_string].
</description> </description>
</method> </method>
<method name="get_u8">
<return type="int" />
<description>
Gets an unsigned byte from the stream.
</description>
</method>
<method name="get_u16"> <method name="get_u16">
<return type="int" /> <return type="int" />
<description> <description>
@ -91,12 +97,6 @@
Gets an unsigned 64-bit value from the stream. Gets an unsigned 64-bit value from the stream.
</description> </description>
</method> </method>
<method name="get_u8">
<return type="int" />
<description>
Gets an unsigned byte from the stream.
</description>
</method>
<method name="get_utf8_string"> <method name="get_utf8_string">
<return type="String" /> <return type="String" />
<param index="0" name="bytes" type="int" default="-1" /> <param index="0" name="bytes" type="int" default="-1" />
@ -113,6 +113,13 @@
[b]Warning:[/b] Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. [b]Warning:[/b] Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution.
</description> </description>
</method> </method>
<method name="put_8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Puts a signed byte into the stream.
</description>
</method>
<method name="put_16"> <method name="put_16">
<return type="void" /> <return type="void" />
<param index="0" name="value" type="int" /> <param index="0" name="value" type="int" />
@ -134,13 +141,6 @@
Puts a signed 64-bit value into the stream. Puts a signed 64-bit value into the stream.
</description> </description>
</method> </method>
<method name="put_8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Puts a signed byte into the stream.
</description>
</method>
<method name="put_data"> <method name="put_data">
<return type="int" enum="Error" /> <return type="int" enum="Error" />
<param index="0" name="data" type="PackedByteArray" /> <param index="0" name="data" type="PackedByteArray" />
@ -185,6 +185,13 @@
[/codeblocks] [/codeblocks]
</description> </description>
</method> </method>
<method name="put_u8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Puts an unsigned byte into the stream.
</description>
</method>
<method name="put_u16"> <method name="put_u16">
<return type="void" /> <return type="void" />
<param index="0" name="value" type="int" /> <param index="0" name="value" type="int" />
@ -206,13 +213,6 @@
Puts an unsigned 64-bit value into the stream. Puts an unsigned 64-bit value into the stream.
</description> </description>
</method> </method>
<method name="put_u8">
<return type="void" />
<param index="0" name="value" type="int" />
<description>
Puts an unsigned byte into the stream.
</description>
</method>
<method name="put_utf8_string"> <method name="put_utf8_string">
<return type="void" /> <return type="void" />
<param index="0" name="value" type="String" /> <param index="0" name="value" type="String" />

View file

@ -964,6 +964,12 @@
Returns the string converted to uppercase. Returns the string converted to uppercase.
</description> </description>
</method> </method>
<method name="to_utf8_buffer" qualifiers="const">
<return type="PackedByteArray" />
<description>
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-8]UTF-8[/url] encoded [PackedByteArray]. This method is slightly slower than [method to_ascii_buffer], but supports all UTF-8 characters. For most cases, prefer using this method.
</description>
</method>
<method name="to_utf16_buffer" qualifiers="const"> <method name="to_utf16_buffer" qualifiers="const">
<return type="PackedByteArray" /> <return type="PackedByteArray" />
<description> <description>
@ -976,12 +982,6 @@
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-32]UTF-32[/url] encoded [PackedByteArray]. Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-32]UTF-32[/url] encoded [PackedByteArray].
</description> </description>
</method> </method>
<method name="to_utf8_buffer" qualifiers="const">
<return type="PackedByteArray" />
<description>
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-8]UTF-8[/url] encoded [PackedByteArray]. This method is slightly slower than [method to_ascii_buffer], but supports all UTF-8 characters. For most cases, prefer using this method.
</description>
</method>
<method name="to_wchar_buffer" qualifiers="const"> <method name="to_wchar_buffer" qualifiers="const">
<return type="PackedByteArray" /> <return type="PackedByteArray" />
<description> <description>

View file

@ -871,6 +871,12 @@
Returns the string converted to uppercase. Returns the string converted to uppercase.
</description> </description>
</method> </method>
<method name="to_utf8_buffer" qualifiers="const">
<return type="PackedByteArray" />
<description>
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-8]UTF-8[/url] encoded [PackedByteArray]. This method is slightly slower than [method to_ascii_buffer], but supports all UTF-8 characters. For most cases, prefer using this method.
</description>
</method>
<method name="to_utf16_buffer" qualifiers="const"> <method name="to_utf16_buffer" qualifiers="const">
<return type="PackedByteArray" /> <return type="PackedByteArray" />
<description> <description>
@ -883,12 +889,6 @@
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-32]UTF-32[/url] encoded [PackedByteArray]. Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-32]UTF-32[/url] encoded [PackedByteArray].
</description> </description>
</method> </method>
<method name="to_utf8_buffer" qualifiers="const">
<return type="PackedByteArray" />
<description>
Converts the string to a [url=https://en.wikipedia.org/wiki/UTF-8]UTF-8[/url] encoded [PackedByteArray]. This method is slightly slower than [method to_ascii_buffer], but supports all UTF-8 characters. For most cases, prefer using this method.
</description>
</method>
<method name="to_wchar_buffer" qualifiers="const"> <method name="to_wchar_buffer" qualifiers="const">
<return type="PackedByteArray" /> <return type="PackedByteArray" />
<description> <description>

View file

@ -417,6 +417,7 @@ void DocTools::generate(bool p_basic_types) {
ClassDB::get_property_list(name, &own_properties, true); ClassDB::get_property_list(name, &own_properties, true);
} }
// Sort is still needed here to handle inherited properties, even though it is done below, do not remove.
properties.sort(); properties.sort();
own_properties.sort(); own_properties.sort();
@ -535,9 +536,10 @@ void DocTools::generate(bool p_basic_types) {
c.properties.push_back(prop); c.properties.push_back(prop);
} }
c.properties.sort();
List<MethodInfo> method_list; List<MethodInfo> method_list;
ClassDB::get_method_list(name, &method_list, true); ClassDB::get_method_list(name, &method_list, true);
method_list.sort();
for (const MethodInfo &E : method_list) { for (const MethodInfo &E : method_list) {
if (E.name.is_empty() || (E.name[0] == '_' && !(E.flags & METHOD_FLAG_VIRTUAL))) { if (E.name.is_empty() || (E.name[0] == '_' && !(E.flags & METHOD_FLAG_VIRTUAL))) {
@ -571,6 +573,8 @@ void DocTools::generate(bool p_basic_types) {
c.methods.push_back(method); c.methods.push_back(method);
} }
c.methods.sort();
List<MethodInfo> signal_list; List<MethodInfo> signal_list;
ClassDB::get_signal_list(name, &signal_list, true); ClassDB::get_signal_list(name, &signal_list, true);
@ -709,7 +713,6 @@ void DocTools::generate(bool p_basic_types) {
List<MethodInfo> method_list; List<MethodInfo> method_list;
v.get_method_list(&method_list); v.get_method_list(&method_list);
method_list.sort();
Variant::get_constructor_list(Variant::Type(i), &method_list); Variant::get_constructor_list(Variant::Type(i), &method_list);
for (int j = 0; j < Variant::OP_AND; j++) { // Showing above 'and' is pretty confusing and there are a lot of variations. for (int j = 0; j < Variant::OP_AND; j++) { // Showing above 'and' is pretty confusing and there are a lot of variations.
@ -832,6 +835,8 @@ void DocTools::generate(bool p_basic_types) {
} }
} }
c.methods.sort();
List<PropertyInfo> properties; List<PropertyInfo> properties;
v.get_property_list(&properties); v.get_property_list(&properties);
for (const PropertyInfo &pi : properties) { for (const PropertyInfo &pi : properties) {

View file

@ -69,15 +69,15 @@
<member name="icons/app_store_1024x1024" type="String" setter="" getter=""> <member name="icons/app_store_1024x1024" type="String" setter="" getter="">
App Store application icon file. If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url]. App Store application icon file. If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member> </member>
<member name="icons/ipad_76x76" type="String" setter="" getter="">
Home screen application icon file on iPad (1x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member>
<member name="icons/ipad_152x152" type="String" setter="" getter=""> <member name="icons/ipad_152x152" type="String" setter="" getter="">
Home screen application icon file on iPad (2x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url]. Home screen application icon file on iPad (2x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member> </member>
<member name="icons/ipad_167x167" type="String" setter="" getter=""> <member name="icons/ipad_167x167" type="String" setter="" getter="">
Home screen application icon file on iPad (3x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url]. Home screen application icon file on iPad (3x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member> </member>
<member name="icons/ipad_76x76" type="String" setter="" getter="">
Home screen application icon file on iPad (1x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member>
<member name="icons/iphone_120x120" type="String" setter="" getter=""> <member name="icons/iphone_120x120" type="String" setter="" getter="">
Home screen application icon file on iPhone (2x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url]. Home screen application icon file on iPhone (2x DPI). If left empty, project icon is used instead. See [url=https://developer.apple.com/design/human-interface-guidelines/foundations/app-icons]App icons[/url].
</member> </member>
@ -114,10 +114,19 @@
<member name="landscape_launch_screens/iphone_2436x1125" type="String" setter="" getter=""> <member name="landscape_launch_screens/iphone_2436x1125" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead. Application launch screen image file, if left empty project splash screen is used instead.
</member> </member>
<member name="portrait_launch_screens/ipad_768x1024" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="portrait_launch_screens/ipad_1536x2048" type="String" setter="" getter=""> <member name="portrait_launch_screens/ipad_1536x2048" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead. Application launch screen image file, if left empty project splash screen is used instead.
</member> </member>
<member name="portrait_launch_screens/ipad_768x1024" type="String" setter="" getter=""> <member name="portrait_launch_screens/iphone_640x960" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="portrait_launch_screens/iphone_640x1136" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="portrait_launch_screens/iphone_750x1334" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead. Application launch screen image file, if left empty project splash screen is used instead.
</member> </member>
<member name="portrait_launch_screens/iphone_1125x2436" type="String" setter="" getter=""> <member name="portrait_launch_screens/iphone_1125x2436" type="String" setter="" getter="">
@ -126,15 +135,6 @@
<member name="portrait_launch_screens/iphone_1242x2208" type="String" setter="" getter=""> <member name="portrait_launch_screens/iphone_1242x2208" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead. Application launch screen image file, if left empty project splash screen is used instead.
</member> </member>
<member name="portrait_launch_screens/iphone_640x1136" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="portrait_launch_screens/iphone_640x960" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="portrait_launch_screens/iphone_750x1334" type="String" setter="" getter="">
Application launch screen image file, if left empty project splash screen is used instead.
</member>
<member name="privacy/camera_usage_description" type="String" setter="" getter=""> <member name="privacy/camera_usage_description" type="String" setter="" getter="">
A message displayed when requesting access to the device's camera (in English). A message displayed when requesting access to the device's camera (in English).
</member> </member>