diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 19:37:21 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-07 19:37:21 +0100 |
commit | 728838fb88954fa1013df08e0e1a781aac88a4d8 (patch) | |
tree | 7681803ccc7f4644680541c340cb20bfa968baa8 | |
parent | 929333fe267f488638c76564237faff9d5d572fc (diff) | |
parent | f39aa8ae04f3fc1956cf6cce664deb423181acef (diff) |
Merge pull request #72840 from 0xafbf/patch-1
Fix docs on RPC_MODE_ANY_PEER analogous.
-rw-r--r-- | doc/classes/MultiplayerAPI.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/MultiplayerAPI.xml b/doc/classes/MultiplayerAPI.xml index 020ce4f468..29011cd016 100644 --- a/doc/classes/MultiplayerAPI.xml +++ b/doc/classes/MultiplayerAPI.xml @@ -138,7 +138,7 @@ Used with [method Node.rpc_config] to disable a method or property for all RPC calls, making it unavailable. Default for all methods. </constant> <constant name="RPC_MODE_ANY_PEER" value="1" enum="RPCMode"> - Used with [method Node.rpc_config] to set a method to be callable remotely by any peer. Analogous to the [code]@rpc("any")[/code] annotation. Calls are accepted from all remote peers, no matter if they are node's authority or not. + Used with [method Node.rpc_config] to set a method to be callable remotely by any peer. Analogous to the [code]@rpc("any_peer")[/code] annotation. Calls are accepted from all remote peers, no matter if they are node's authority or not. </constant> <constant name="RPC_MODE_AUTHORITY" value="2" enum="RPCMode"> Used with [method Node.rpc_config] to set a method to be callable remotely only by the current multiplayer authority (which is the server by default). Analogous to the [code]@rpc("authority")[/code] annotation. See [method Node.set_multiplayer_authority]. |