:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/../../GodotApplePlugins/doc_classes/GKTurnBasedExchange.xml. .. _class_GKTurnBasedExchange: GKTurnBasedExchange =================== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`completion_date` | ``0.0`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`PackedByteArray` | :ref:`data` | ``PackedByteArray()`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`String` | :ref:`exchange_id` | ``""`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`String` | :ref:`message` | ``""`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`Array` | :ref:`recipients` | ``[]`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`Array` | :ref:`replies` | ``[]`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`send_date` | ``0.0`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`GKTurnBasedParticipant` | :ref:`sender` | ``null`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`int` | :ref:`status` | ``0`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`timeout_date` | ``0.0`` | +-------------------------------------------------------------+----------------------------------------------------------------------------+-----------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`cancel`\ (\ localizableMessageKey\: :ref:`String`, arguments\: :ref:`PackedStringArray`, callback\: :ref:`Callable`\ ) | +--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |void| | :ref:`reply`\ (\ localizableMessageKey\: :ref:`String`, arguments\: :ref:`PackedStringArray`, data\: :ref:`PackedByteArray`, callback\: :ref:`Callable`\ ) | +--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GKTurnBasedExchange_property_completion_date: .. rst-class:: classref-property :ref:`float` **completion_date** = ``0.0`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`float` **get_completion_date**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_data: .. rst-class:: classref-property :ref:`PackedByteArray` **data** = ``PackedByteArray()`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`PackedByteArray` **get_data**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedByteArray` for more details. .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_exchange_id: .. rst-class:: classref-property :ref:`String` **exchange_id** = ``""`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`String` **get_exchange_id**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_message: .. rst-class:: classref-property :ref:`String` **message** = ``""`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`String` **get_message**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_recipients: .. rst-class:: classref-property :ref:`Array` **recipients** = ``[]`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`Array` **get_recipients**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_replies: .. rst-class:: classref-property :ref:`Array` **replies** = ``[]`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`Array` **get_replies**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_send_date: .. rst-class:: classref-property :ref:`float` **send_date** = ``0.0`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`float` **get_send_date**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_sender: .. rst-class:: classref-property :ref:`GKTurnBasedParticipant` **sender** = ``null`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`GKTurnBasedParticipant` **get_sender**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_status: .. rst-class:: classref-property :ref:`int` **status** = ``0`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`int` **get_status**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_property_timeout_date: .. rst-class:: classref-property :ref:`float` **timeout_date** = ``0.0`` :ref:`🔗` .. rst-class:: classref-property-setget - :ref:`float` **get_timeout_date**\ (\ ) .. container:: contribute There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_GKTurnBasedExchange_method_cancel: .. rst-class:: classref-method |void| **cancel**\ (\ localizableMessageKey\: :ref:`String`, arguments\: :ref:`PackedStringArray`, callback\: :ref:`Callable`\ ) :ref:`🔗` Cancels the exchange using the provided localized message key. Pass ``arguments`` as ``PackedStringArray(["arg1", "arg2"])``, or ``PackedStringArray()`` if the message has no substitutions. .. rst-class:: classref-item-separator ---- .. _class_GKTurnBasedExchange_method_reply: .. rst-class:: classref-method |void| **reply**\ (\ localizableMessageKey\: :ref:`String`, arguments\: :ref:`PackedStringArray`, data\: :ref:`PackedByteArray`, callback\: :ref:`Callable`\ ) :ref:`🔗` Replies to the exchange. Pass ``arguments`` as ``PackedStringArray(["arg1", "arg2"])``, or ``PackedStringArray()`` if the localized string has no substitutions. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` .. |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.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)` .. |void| replace:: :abbr:`void (No return value.)`