mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -16,7 +16,7 @@ WebSocketMultiplayerPeer
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
Base class for WebSocket server and client.
|
||||
|
||||
Member Functions
|
||||
----------------
|
||||
@@ -32,6 +32,13 @@ Signals
|
||||
|
||||
- **peer_packet** **(** :ref:`int<class_int>` peer_source **)**
|
||||
|
||||
Emitted when a packet is received from a peer. Note: this signal is only emitted when the client or server is configured to use Godot multiplayer API.
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
Base class for WebSocket server and client, allowing them to be used as network peer for the :ref:`MultiplayerAPI<class_multiplayerapi>`.
|
||||
|
||||
Member Function Description
|
||||
---------------------------
|
||||
@@ -40,4 +47,6 @@ Member Function Description
|
||||
|
||||
- :ref:`WebSocketPeer<class_websocketpeer>` **get_peer** **(** :ref:`int<class_int>` peer_id **)** const
|
||||
|
||||
Returns the :ref:`WebSocketPeer<class_websocketpeer>` associated to the given ``peer_id``.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user