mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with latest 4.0-alpha
This commit is contained in:
@@ -20,7 +20,7 @@ Description
|
||||
|
||||
Base class for WebSocket server and client, allowing them to be used as multiplayer peer for the :ref:`MultiplayerAPI<class_MultiplayerAPI>`.
|
||||
|
||||
**Note:** When exporting to Android, make sure to enable the ``INTERNET`` permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android.
|
||||
\ **Note:** When exporting to Android, make sure to enable the ``INTERNET`` permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android.
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -40,7 +40,7 @@ Signals
|
||||
|
||||
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.
|
||||
\ **Note:** This signal is only emitted when the client or server is configured to use Godot multiplayer API.
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
@@ -63,7 +63,7 @@ The first two parameters define the size and queued packets limits of the input
|
||||
|
||||
Buffer sizes are expressed in KiB, so ``4 = 2^12 = 4096 bytes``. All parameters will be rounded up to the nearest power of two.
|
||||
|
||||
**Note:** HTML5 exports only use the input buffer since the output one is managed by browsers.
|
||||
\ **Note:** HTML5 exports only use the input buffer since the output one is managed by browsers.
|
||||
|
||||
.. |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.)`
|
||||
|
||||
Reference in New Issue
Block a user