feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -307,6 +307,13 @@
|
|||
Searches the array for a value and returns its index or [code]-1[/code] if not found. Optionally, the initial search index can be passed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="index" type="int" />
|
||||
<description>
|
||||
Returns the byte at the given [param index] in the array. This is the same as using the [code][][/code] operator ([code]array[index][/code]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_string_from_ascii" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
|
|
@ -359,11 +366,11 @@
|
|||
[codeblocks]
|
||||
[gdscript]
|
||||
var array = PackedByteArray([11, 46, 255])
|
||||
print(array.hex_encode()) # Prints: 0b2eff
|
||||
print(array.hex_encode()) # Prints "0b2eff"
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
var array = new byte[] {11, 46, 255};
|
||||
GD.Print(array.HexEncode()); // Prints: 0b2eff
|
||||
byte[] array = [11, 46, 255];
|
||||
GD.Print(array.HexEncode()); // Prints "0b2eff"
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
</description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue