Files
godot-docs/classes/class_packeddatacontainer.rst
2021-11-15 12:28:38 +01:00

62 lines
2.8 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the PackedDataContainer.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_PackedDataContainer:
PackedDataContainer
===================
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
Properties
----------
+-----------------------------------------------+--------------------------------------------------------------+-----------------------+
| :ref:`PackedByteArray<class_PackedByteArray>` | :ref:`__data__<class_PackedDataContainer_property___data__>` | ``PackedByteArray()`` |
+-----------------------------------------------+--------------------------------------------------------------+-----------------------+
Methods
-------
+---------------------------------------+----------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`pack<class_PackedDataContainer_method_pack>` **(** :ref:`Variant<class_Variant>` value **)** |
+---------------------------------------+----------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`size<class_PackedDataContainer_method_size>` **(** **)** |const| |
+---------------------------------------+----------------------------------------------------------------------------------------------------+
Property Descriptions
---------------------
.. _class_PackedDataContainer_property___data__:
- :ref:`PackedByteArray<class_PackedByteArray>` **__data__**
+-----------+-----------------------+
| *Default* | ``PackedByteArray()`` |
+-----------+-----------------------+
Method Descriptions
-------------------
.. _class_PackedDataContainer_method_pack:
- :ref:`Error<enum_@GlobalScope_Error>` **pack** **(** :ref:`Variant<class_Variant>` value **)**
----
.. _class_PackedDataContainer_method_size:
- :ref:`int<class_int>` **size** **(** **)** |const|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`