.. 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/docs/gdscript/jam_launch/JamReplicator.xml. .. _class_JamReplicator: JamReplicator ============= **Inherits:** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`sync_seq` | ``0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`sync_clock` | ``0.0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`sync_stable` | ``false`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`JamReplicator.StateFrame[]` | :ref:`state_buffer` | ``[]`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`state_interp` | ``0.0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`got_initial_state` | ``false`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`target_state_buffer_len` | ``4`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`target_state_buffer_len_min` | ``4`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`segment_time` | ``0.0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`segment_length` | ``5.0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`drops_in_segment` | ``0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`drops_threshold` | ``3`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`dropless_segments` | ``0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`dropless_threshold` | ``5`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`buffer_increases` | ``0`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`server_state` | ``{}`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`sync_refs` | ``{}`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ | :ref:`Variant` | :ref:`spawn_scene_cache` | ``{}`` | +-------------------------------------------------------------------+----------------------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`JamReplicator` | :ref:`get_replicator` **(** :ref:`SceneTree` tree **)** |static| | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_ready` **(** **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_jam_connect_init` **(** :ref:`JamConnect` jc **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_on_peer_connected` **(** :ref:`int` pid **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_on_peer_disconnected` **(** :ref:`int` _pid **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_process` **(** :ref:`Variant` delta **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`amend_server_state` **(** :ref:`int` sync_id, :ref:`Variant` value **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`sync_state` **(** :ref:`int` seq, :ref:`Dictionary` data **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`JamReplicator.StateInterp` | :ref:`get_state` **(** :ref:`int` sync_id **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`_instantiate_spawn_scene` **(** :ref:`String` scene_path **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scene_spawn` **(** :ref:`JamSync` sync_node, :ref:`int` peer_id=-1 **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`scene_despawn` **(** :ref:`JamSync` sync_node **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_scene_spawn` **(** :ref:`String` node_path, :ref:`String` scene_path, :ref:`Dictionary` spawn_properties, :ref:`int` sync_id **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_scene_despawn` **(** :ref:`int` sync_id **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_sync_ref` **(** :ref:`int` sync_id **)** | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Constants --------- .. _class_JamReplicator_constant_sync_interval: .. rst-class:: classref-constant **sync_interval** = ``0.0333333`` .. container:: contribute There is currently no description for this constant. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_JamReplicator_property_sync_seq: .. rst-class:: classref-property :ref:`Variant` **sync_seq** = ``0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_sync_clock: .. rst-class:: classref-property :ref:`float` **sync_clock** = ``0.0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_sync_stable: .. rst-class:: classref-property :ref:`bool` **sync_stable** = ``false`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_state_buffer: .. rst-class:: classref-property :ref:`JamReplicator.StateFrame[]` **state_buffer** = ``[]`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_state_interp: .. rst-class:: classref-property :ref:`float` **state_interp** = ``0.0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_got_initial_state: .. rst-class:: classref-property :ref:`Variant` **got_initial_state** = ``false`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_target_state_buffer_len: .. rst-class:: classref-property :ref:`Variant` **target_state_buffer_len** = ``4`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_target_state_buffer_len_min: .. rst-class:: classref-property :ref:`Variant` **target_state_buffer_len_min** = ``4`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_segment_time: .. rst-class:: classref-property :ref:`float` **segment_time** = ``0.0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_segment_length: .. rst-class:: classref-property :ref:`float` **segment_length** = ``5.0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_drops_in_segment: .. rst-class:: classref-property :ref:`int` **drops_in_segment** = ``0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_drops_threshold: .. rst-class:: classref-property :ref:`int` **drops_threshold** = ``3`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_dropless_segments: .. rst-class:: classref-property :ref:`int` **dropless_segments** = ``0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_dropless_threshold: .. rst-class:: classref-property :ref:`int` **dropless_threshold** = ``5`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_buffer_increases: .. rst-class:: classref-property :ref:`int` **buffer_increases** = ``0`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_server_state: .. rst-class:: classref-property :ref:`Variant` **server_state** = ``{}`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_sync_refs: .. rst-class:: classref-property :ref:`Variant` **sync_refs** = ``{}`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_property_spawn_scene_cache: .. rst-class:: classref-property :ref:`Variant` **spawn_scene_cache** = ``{}`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_JamReplicator_method_get_replicator: .. rst-class:: classref-method :ref:`JamReplicator` **get_replicator** **(** :ref:`SceneTree` tree **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__ready: .. rst-class:: classref-method void **_ready** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__jam_connect_init: .. rst-class:: classref-method void **_jam_connect_init** **(** :ref:`JamConnect` jc **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__on_peer_connected: .. rst-class:: classref-method void **_on_peer_connected** **(** :ref:`int` pid **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__on_peer_disconnected: .. rst-class:: classref-method void **_on_peer_disconnected** **(** :ref:`int` _pid **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__process: .. rst-class:: classref-method void **_process** **(** :ref:`Variant` delta **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_amend_server_state: .. rst-class:: classref-method void **amend_server_state** **(** :ref:`int` sync_id, :ref:`Variant` value **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_sync_state: .. rst-class:: classref-method void **sync_state** **(** :ref:`int` seq, :ref:`Dictionary` data **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_get_state: .. rst-class:: classref-method :ref:`JamReplicator.StateInterp` **get_state** **(** :ref:`int` sync_id **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__instantiate_spawn_scene: .. rst-class:: classref-method :ref:`Node` **_instantiate_spawn_scene** **(** :ref:`String` scene_path **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_scene_spawn: .. rst-class:: classref-method void **scene_spawn** **(** :ref:`JamSync` sync_node, :ref:`int` peer_id=-1 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_scene_despawn: .. rst-class:: classref-method void **scene_despawn** **(** :ref:`JamSync` sync_node **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__scene_spawn: .. rst-class:: classref-method void **_scene_spawn** **(** :ref:`String` node_path, :ref:`String` scene_path, :ref:`Dictionary` spawn_properties, :ref:`int` sync_id **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_private_method__scene_despawn: .. rst-class:: classref-method void **_scene_despawn** **(** :ref:`int` sync_id **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_JamReplicator_method_clear_sync_ref: .. rst-class:: classref-method void **clear_sync_ref** **(** :ref:`int` sync_id **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |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.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`