class_packeddatacontainer.rst 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-------------------------------------------+--------------------------------------------------------------+-----------------------+
  12. | :ref:`PoolByteArray<class_PoolByteArray>` | :ref:`__data__<class_PackedDataContainer_property___data__>` | ``PoolByteArray( )`` |
  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:`PoolByteArray<class_PoolByteArray>` **__data__**
  25. +-----------+-----------------------+
  26. | *Default* | ``PoolByteArray( )`` |
  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.)`