|
@@ -111,10 +111,10 @@ should be ``(offset - 4) * 2 + 4``. The "float" type itself always uses double
|
|
|
precision.
|
|
|
|
|
|
0: null
|
|
|
-^^^^^^^
|
|
|
+~~~~~~~
|
|
|
|
|
|
1: :ref:`bool<class_bool>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+---------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -123,7 +123,7 @@ precision.
|
|
|
+----------+-------+-----------+---------------------------+
|
|
|
|
|
|
2: :ref:`int<class_int>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
If no flags are set (flags == 0), the integer is sent as a 32 bit integer:
|
|
|
|
|
@@ -143,7 +143,7 @@ a 64-bit integer:
|
|
|
+----------+-------+-----------+--------------------------+
|
|
|
|
|
|
3: :ref:`float<class_float>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
If no flags are set (flags == 0), the float is sent as a 32 bit single precision:
|
|
|
|
|
@@ -163,7 +163,7 @@ a 64-bit double precision number:
|
|
|
+----------+-------+---------+-----------------------------------+
|
|
|
|
|
|
4: :ref:`String<class_string>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+----------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -176,7 +176,7 @@ a 64-bit double precision number:
|
|
|
This field is padded to 4 bytes.
|
|
|
|
|
|
5: :ref:`Vector2<class_vector2>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -187,7 +187,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+----------------+
|
|
|
|
|
|
6: :ref:`Rect2<class_rect2>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -202,7 +202,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+----------------+
|
|
|
|
|
|
7: :ref:`Vector3<class_vector3>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -215,7 +215,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+----------------+
|
|
|
|
|
|
8: :ref:`Transform2D<class_transform2d>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -234,7 +234,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
|
|
|
9: :ref:`Plane<class_plane>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+---------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -249,7 +249,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+---------------+
|
|
|
|
|
|
10: :ref:`Quaternion<class_quaternion>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+---------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -264,7 +264,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+---------------+
|
|
|
|
|
|
11: :ref:`AABB<class_aabb>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -283,7 +283,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+----------------+
|
|
|
|
|
|
12: :ref:`Basis<class_basis>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -308,7 +308,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
|
|
|
13: :ref:`Transform3D<class_transform3d>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -339,7 +339,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+---------------------------------------------------------------+
|
|
|
|
|
|
14: :ref:`Color<class_color>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+--------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -354,7 +354,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+---------+--------------------------------------------------------------+
|
|
|
|
|
|
15: :ref:`NodePath<class_nodepath>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+-----------------------------------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -363,7 +363,7 @@ This field is padded to 4 bytes.
|
|
|
+----------+-------+-----------+-----------------------------------------------------------------------------------------+
|
|
|
|
|
|
For old format:
|
|
|
-^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+---------+------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -374,7 +374,7 @@ For old format:
|
|
|
Padded to 4 bytes.
|
|
|
|
|
|
For new format:
|
|
|
-^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+-------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -397,16 +397,16 @@ For each Name and Sub-Name
|
|
|
Every name string is padded to 4 bytes.
|
|
|
|
|
|
16: :ref:`RID<class_rid>` (unsupported)
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
17: :ref:`Object<class_object>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
An Object could be serialized in three different ways: as a null value, with
|
|
|
``full_objects = false``, or with ``full_objects = true``.
|
|
|
|
|
|
A null value
|
|
|
-""""""""""""
|
|
|
+^^^^^^^^^^^^
|
|
|
|
|
|
+----------+-------+------------+-------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -415,7 +415,7 @@ A null value
|
|
|
+----------+-------+------------+-------------------------------------------------+
|
|
|
|
|
|
``full_objects`` disabled
|
|
|
-"""""""""""""""""""""""""
|
|
|
+^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
+----------+-------+------------+-------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -424,7 +424,7 @@ A null value
|
|
|
+----------+-------+------------+-------------------------------------------------+
|
|
|
|
|
|
``full_objects`` enabled
|
|
|
-""""""""""""""""""""""""
|
|
|
+^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
+----------+-------+----------------+----------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -460,7 +460,7 @@ For each property:
|
|
|
possible usage flags.
|
|
|
|
|
|
18: :ref:`Dictionary<class_dictionary>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+---------------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -472,7 +472,7 @@ Then what follows is, for amount of "elements", pairs of key and value,
|
|
|
one after the other, using this same format.
|
|
|
|
|
|
19: :ref:`Array<class_array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+---------------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -484,7 +484,7 @@ Then what follows is, for amount of "elements", values one after the
|
|
|
other, using this same format.
|
|
|
|
|
|
20: :ref:`PackedByteArray<class_PackedByteArray>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+---------------+-------+-----------+------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -497,7 +497,7 @@ other, using this same format.
|
|
|
The array data is padded to 4 bytes.
|
|
|
|
|
|
21: :ref:`PackedInt32Array<class_PackedInt32Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+------------------+-------+-----------+---------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -508,7 +508,7 @@ The array data is padded to 4 bytes.
|
|
|
+------------------+-------+-----------+---------------------------+
|
|
|
|
|
|
22: :ref:`PackedInt64Array<class_PackedInt64Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+------------------+-------+-----------+---------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -519,7 +519,7 @@ The array data is padded to 4 bytes.
|
|
|
+------------------+-------+-----------+---------------------------+
|
|
|
|
|
|
23: :ref:`PackedFloat32Array<class_PackedFloat32Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+------------------+-------+-----------+-------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -530,7 +530,7 @@ The array data is padded to 4 bytes.
|
|
|
+------------------+-------+-----------+-------------------------------------------+
|
|
|
|
|
|
24: :ref:`PackedFloat64Array<class_PackedFloat64Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+------------------+-------+-----------+-------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -541,7 +541,7 @@ The array data is padded to 4 bytes.
|
|
|
+------------------+-------+-----------+-------------------------------------------+
|
|
|
|
|
|
25: :ref:`PackedStringArray<class_PackedStringArray>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+----------+-------+-----------+--------------------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -562,7 +562,7 @@ For each String:
|
|
|
Every string is padded to 4 bytes.
|
|
|
|
|
|
26: :ref:`PackedVector2Array<class_PackedVector2Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+-------------------+-------+-----------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -575,7 +575,7 @@ Every string is padded to 4 bytes.
|
|
|
+-------------------+-------+-----------+----------------+
|
|
|
|
|
|
27: :ref:`PackedVector3Array<class_PackedVector3Array>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+--------------------+-------+-----------+----------------+
|
|
|
| Offset | Len | Type | Description |
|
|
@@ -590,7 +590,7 @@ Every string is padded to 4 bytes.
|
|
|
+--------------------+-------+-----------+----------------+
|
|
|
|
|
|
28: :ref:`PackedColorArray<class_PackedColorArray>`
|
|
|
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
+--------------------+-------+-----------+--------------------------------------------------------------+
|
|
|
| Offset | Len | Type | Description |
|