mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Merge pull request #11554 from nanodeath/fix/rpc-default-transfer-mode
Fix incorrect default transfer_mode in high-level multiplayer tutorial
This commit is contained in:
@@ -274,11 +274,11 @@ The annotation can take a number of arguments, which have default values. ``@rpc
|
||||
.. tabs::
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
@rpc("authority", "call_remote", "unreliable", 0)
|
||||
@rpc("authority", "call_remote", "reliable", 0)
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
[Rpc(MultiplayerApi.RpcMode.Authority, CallLocal = false, TransferMode = MultiplayerPeer.TransferModeEnum.Unreliable, TransferChannel = 0)]
|
||||
[Rpc(MultiplayerApi.RpcMode.Authority, CallLocal = false, TransferMode = MultiplayerPeer.TransferModeEnum.Reliable, TransferChannel = 0)]
|
||||
|
||||
The parameters and their functions are as follows:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user