feat: erased accidentally added engine files
This commit is contained in:
parent
f0fc98b2b8
commit
202693b275
12525 changed files with 0 additions and 6255369 deletions
|
|
@ -1,41 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="PackedDataContainerRef" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
An internal class used by [PackedDataContainer] to pack nested arrays and dictionaries.
|
||||
</brief_description>
|
||||
<description>
|
||||
When packing nested containers using [PackedDataContainer], they are recursively packed into [PackedDataContainerRef] (only applies to [Array] and [Dictionary]). Their data can be retrieved the same way as from [PackedDataContainer].
|
||||
[codeblock]
|
||||
var packed = PackedDataContainer.new()
|
||||
packed.pack([1, 2, 3, ["nested1", "nested2"], 4, 5, 6])
|
||||
|
||||
for element in packed:
|
||||
if element is PackedDataContainerRef:
|
||||
for subelement in element:
|
||||
print("::", subelement)
|
||||
else:
|
||||
print(element)
|
||||
[/codeblock]
|
||||
Prints:
|
||||
[codeblock lang=text]
|
||||
1
|
||||
2
|
||||
3
|
||||
::nested1
|
||||
::nested2
|
||||
4
|
||||
5
|
||||
6
|
||||
[/codeblock]
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="size" qualifiers="const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
Returns the size of the packed container (see [method Array.size] and [method Dictionary.size]).
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue