class_packeddatacontainer.rst 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the PackedDataContainer.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_PackedDataContainer:
  6. PackedDataContainer
  7. ===================
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-----------------------------------------------+--------------------------------------------------------------+-----------------------+
  12. | :ref:`PackedByteArray<class_PackedByteArray>` | :ref:`__data__<class_PackedDataContainer_property___data__>` | ``PackedByteArray()`` |
  13. +-----------------------------------------------+--------------------------------------------------------------+-----------------------+
  14. Methods
  15. -------
  16. +---------------------------------------+----------------------------------------------------------------------------------------------------+
  17. | :ref:`Error<enum_@GlobalScope_Error>` | :ref:`pack<class_PackedDataContainer_method_pack>` **(** :ref:`Variant<class_Variant>` value **)** |
  18. +---------------------------------------+----------------------------------------------------------------------------------------------------+
  19. | :ref:`int<class_int>` | :ref:`size<class_PackedDataContainer_method_size>` **(** **)** |const| |
  20. +---------------------------------------+----------------------------------------------------------------------------------------------------+
  21. Property Descriptions
  22. ---------------------
  23. .. _class_PackedDataContainer_property___data__:
  24. - :ref:`PackedByteArray<class_PackedByteArray>` **__data__**
  25. +-----------+-----------------------+
  26. | *Default* | ``PackedByteArray()`` |
  27. +-----------+-----------------------+
  28. Method Descriptions
  29. -------------------
  30. .. _class_PackedDataContainer_method_pack:
  31. - :ref:`Error<enum_@GlobalScope_Error>` **pack** **(** :ref:`Variant<class_Variant>` value **)**
  32. ----
  33. .. _class_PackedDataContainer_method_size:
  34. - :ref:`int<class_int>` **size** **(** **)** |const|
  35. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  36. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  37. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  38. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  39. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  40. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`