.. 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/modules/enet/doc_classes/ENetMultiplayerPeer.xml. .. _class_ENetMultiplayerPeer: ENetMultiplayerPeer =================== **Inherits:** :ref:`MultiplayerPeer` **<** :ref:`PacketPeer` **<** :ref:`RefCounted` **<** :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:`ENetConnection` | :ref:`host` | +---------------------------------------------+------------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`add_mesh_peer` **(** :ref:`int` peer_id, :ref:`ENetConnection` host **)** | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`create_client` **(** :ref:`String` address, :ref:`int` port, :ref:`int` channel_count=0, :ref:`int` in_bandwidth=0, :ref:`int` out_bandwidth=0, :ref:`int` local_port=0 **)** | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`create_mesh` **(** :ref:`int` unique_id **)** | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`create_server` **(** :ref:`int` port, :ref:`int` max_clients=32, :ref:`int` max_channels=0, :ref:`int` in_bandwidth=0, :ref:`int` out_bandwidth=0 **)** | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ENetPacketPeer` | :ref:`get_peer` **(** :ref:`int` id **)** |const| | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_bind_ip` **(** :ref:`String` ip **)** | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_ENetMultiplayerPeer_property_host: .. rst-class:: classref-property :ref:`ENetConnection` **host** .. rst-class:: classref-property-setget - :ref:`ENetConnection` **get_host** **(** **)** .. 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_ENetMultiplayerPeer_method_add_mesh_peer: .. rst-class:: classref-method :ref:`Error` **add_mesh_peer** **(** :ref:`int` peer_id, :ref:`ENetConnection` host **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ENetMultiplayerPeer_method_create_client: .. rst-class:: classref-method :ref:`Error` **create_client** **(** :ref:`String` address, :ref:`int` port, :ref:`int` channel_count=0, :ref:`int` in_bandwidth=0, :ref:`int` out_bandwidth=0, :ref:`int` local_port=0 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ENetMultiplayerPeer_method_create_mesh: .. rst-class:: classref-method :ref:`Error` **create_mesh** **(** :ref:`int` unique_id **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ENetMultiplayerPeer_method_create_server: .. rst-class:: classref-method :ref:`Error` **create_server** **(** :ref:`int` port, :ref:`int` max_clients=32, :ref:`int` max_channels=0, :ref:`int` in_bandwidth=0, :ref:`int` out_bandwidth=0 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ENetMultiplayerPeer_method_get_peer: .. rst-class:: classref-method :ref:`ENetPacketPeer` **get_peer** **(** :ref:`int` id **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ENetMultiplayerPeer_method_set_bind_ip: .. rst-class:: classref-method void **set_bind_ip** **(** :ref:`String` ip **)** .. 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.)`